[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#803612: libqt5gui5: "ambiguous shortcut" regression



Among others, it happens in Kate (but it is not KDE-specific, it
happens in pure Qt applications too, I just can't think of one off the
top of my head that everyone is likely to have installed).

Press Ctrl-N, receive a popup instead of a new file:

(title) Ambiguous Shortcut Detected — Kate
The key sequence 'Ctrl+N' is ambiguous. Use 'Configure Shortcuts'
from the 'Settings' menu to solve the ambiguity.
No action will be triggered.

Go to Settings -> Configure shortcuts, search for "new"
Set alternate shortcut to "custom - None".

Ctrl-N now works.

bad kate package: 4:15.08.2-1 (stretch/sid)
good kate package: 4:4.14.2-2 (jessie - can be easily downgraded)

On further investigation, the Qt4 version of kate had the alternate
shortcut set to None by default instead of a duplicate of the primary
shortcut like the Qt5 version does.

-Ben

On Sun, Nov 1, 2015 at 9:47 AM, Lisandro Damián Nicanor Pérez Meyer
<perezmeyer@gmail.com> wrote:
> tag 803612 moreinfo unreproducible
> thanks
>
> On Saturday 31 October 2015 12:58:49 Ben Longbons wrote:
>> Package: libqt5gui5
>> Version: 5.5.1+dfsg-5
>> Severity: important
>>
>> Dear Maintainer,
>>
>> In all Qt applications, pressing nearly any shortcut does not perform
>> the requested action. Instead, it just pops up a box saying "ambiguous
>> shortcut detected".
>
> Hi Ben! For what it's worth I don't see this bahvior on any Qt5 app. It would
> be good if you can give us more info, like what DM are you using, an example
> app and shortcut to use, etc.
>
>> This is caused by the fact that, by default, the primary and alternate
>> keybindings are set to the same key sequence.
>>
>> Apparently, the dispatcher
>> logic is unable to detect that the two shortcuts refer to the same
>> action.
>>
>> In previous versions of Qt, this was not a problem.
>
> Please please give us an example.
>
> Kinds regards, Lisandro.
>
> --
> Antiguo proverbio de El Machi: "Dado el apropiado grado de profundidad, la
> ineptitud es indistinguible del sabotaje"
>
> Lisandro Damián Nicanor Pérez Meyer
> http://perezmeyer.com.ar/
> http://perezmeyer.blogspot.com/


Reply to: