Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hotkeys for changing subtitle offset #10

Open
tstrul1 opened this issue Jul 28, 2015 · 7 comments
Open

Add Hotkeys for changing subtitle offset #10

tstrul1 opened this issue Jul 28, 2015 · 7 comments
Assignees

Comments

@tstrul1
Copy link

tstrul1 commented Jul 28, 2015

It could be really useful if you could add this feature. Maybe something like:
Ctrl + -> and Ctrl + <- for changing subtitle offset while watching movie

@carsonip carsonip self-assigned this Jul 28, 2015
@carsonip
Copy link
Owner

@tstrul1 thanks for the suggestion, will work on it soon.

@tstrul1
Copy link
Author

tstrul1 commented Apr 15, 2016

I guess you stopped developing this player? :\

@carsonip
Copy link
Owner

@tstrul1 I'm really sorry for not implementing this new feature right away. The project is currently not under active development but there would still be bug fixes. Pull requests are welcomed! Of course I'll implement new features when I have the time. Tho the problem with this feature is that when the player is not focused, we will probably not receive any events and we may need a keylogger here (which will be quite troublesome).

@neopostmodern
Copy link

If someone is interested in getting this to work (on X11 systems), I've hacked together something similar for next/previous: neopostmodern@3424b29
I don't think it's suitable for a PR though, because it's X11-only...

@carsonip
Copy link
Owner

If someone is interested in getting this to work (on X11 systems), I've hacked together something similar for next/previous: neopostmodern@3424b29 I don't think it's suitable for a PR though, because it's X11-only...

Hi @neopostmodern , thanks for working on it! I'm starting to think that a feature like this does not have to work on all systems at a time. As long as we figure out a way to isolate that code and keep other features working on other systems, it may be good enough. However if it results in multiple compiled versions and releases, it will make releasing quite troublesome.

@neopostmodern
Copy link

Yeah, I guess it would become a pain. Because even if you conditionally included this for Linux systems only it would break for the Wayland folks, no? I don't see any easy way out of this, other than finding some general Qt-abstraction for hotkey capture...
You could build one yourself, but I'd think that it somehow should exist already?

@carsonip
Copy link
Owner

carsonip commented Feb 3, 2023

Yeah, I guess it would become a pain. Because even if you conditionally included this for Linux systems only it would break for the Wayland folks, no?

Possibly, I guess? Not too familiar with this.

I don't see any easy way out of this, other than finding some general Qt-abstraction for hotkey capture... You could build one yourself, but I'd think that it somehow should exist already?

A quick google search returns qxtglobalshortcut but I didn't look into it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants