https://bugs.kde.org/show_bug.cgi?id=345552

eifr <eifr0...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eifr0...@gmail.com

--- Comment #2 from eifr <eifr0...@gmail.com> ---
(In reply to Gatis Paeglis from comment #1)
> I am not a KDE developer, but it works the same way on Ubuntu and macOS and
> Windows, so looks like that is the expected behavior and KDE4 maybe had some
> tweaks or a fluke.
> 
> In Qt5 the algorithm is:
> http://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/
> qxcbkeyboard.cpp#n1021
> 
> "If pressing a key in the current layout results in a latin key, we are
> done. If not (e.g. the current layout is in a different alphabet rusian),
> then we look for a latin key in all selected system layouts, in the order
> they are defined in the system settings. When we find a latin key for the
> pressed key, we verify if the resulting symbol could not be obtained by any
> layout higher in the list."
> 
> An example when pressing ctrl+<physical C> and the active layout is rusian:
> 
> If the layout order is en,ru,en(dvorak) you will get ctlr+c
> If the layout order is en(dvorak),ru,en you will get ctrl+j

I'd argue that some shortcuts should be "global" and work on and layout like
"Alt+~" for switching windows of same application. maybe having "global" (work
on any layout) as an option for a shortcut should be considered

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to