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

Some ignoring of system-level hotkeys Ctrl-Alt-Fx in Linux #5494

Open
SN-CH opened this issue Apr 25, 2024 · 8 comments
Open

Some ignoring of system-level hotkeys Ctrl-Alt-Fx in Linux #5494

SN-CH opened this issue Apr 25, 2024 · 8 comments

Comments

@SN-CH
Copy link

SN-CH commented Apr 25, 2024

I use hotkeys like Ctrl-Alt-F12 to do some processing of selected piece of text in any program in Linux. They are defined system-wide in Autokey and work very reliable everywhere except Cudatext. The latter ignores them completely. It seems there is no any specific command/function/action/whatever in Cudatext which this hotkey or any other Ctrl-Alt-Fx would be assigned to (I checked all the hotkeys).

On the other hand, other hotkeys defined in Autokey, for example Ctrl-Shift-=, work normally in Cudatext. Does Cudatext somehow distaste Ctrl-Alt-...?

@Alexey-T
Copy link
Owner

No, Cud does not ignore them. maybe it is the Lazarus issue. you may check the same in Double Commander internal editor (F4), it is lazarus app too.

@SN-CH
Copy link
Author

SN-CH commented Apr 25, 2024

I use DC as well. Yes, I tried them in internal editor. They work weirdly, the first pressing do nothing, but the second one always works as expected. I tested a few Ctrl-Alt-Fx hotkeys, they all work like that. Very bizarre behaviour.

@Alexey-T
Copy link
Owner

Alexey-T commented Apr 26, 2024

this is the Lazarus issue. gtk2 or qt5 related. please report it to the Lazarus forum and/or bugtracker https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues .

@Alexey-T Alexey-T changed the title Does Cudatext allow hotkeys Ctrl-Alt-Fx in Linux? Some blocking of system-level hotkeys Ctrl-Alt-Fx in Linux Apr 26, 2024
@Alexey-T Alexey-T changed the title Some blocking of system-level hotkeys Ctrl-Alt-Fx in Linux Some ignoring of system-level hotkeys Ctrl-Alt-Fx in Linux Apr 26, 2024
@SN-CH
Copy link
Author

SN-CH commented Apr 26, 2024

I trust, it would be helpful if I give them the version of Lazarus used in your software. Not sure where to find it.

@Alexey-T
Copy link
Owner

Alexey-T commented Apr 26, 2024

I use Lazarus 'trunk' (git latest) from 13.03.2024.
In the report - specify gtk2 or qt5 widgetset, which do you use.

@SN-CH
Copy link
Author

SN-CH commented Apr 26, 2024

@Alexey-T
Copy link
Owner

Pls answer there:

  • CudaText gtk2 or qt5?
  • do you have repro on my test program there?

@SN-CH
Copy link
Author

SN-CH commented Apr 26, 2024

I replied to that thread. I am afraid this stuff is bit too technical for me. I can test your the temporary version you provided there, but I have to ask you to compile executable.

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

2 participants