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

Re: Allow missing components (or detect them in project)


Le 21/01/2026 à 23:39, Bruce Steers a écrit :


On Wed, 21 Jan 2026, 21:54 Bruce Steers, <bsteers4@xxxxxxxxx <mailto:bsteers4@xxxxxxxxx>> wrote:



                You should pass it directly what you get from
                'Key.Shortcut'.


    The only big bug in that program is i realised Key.Shortcut letter
    text is always upper case.


I guess this upper case issue is a bug then?

Sort of.

Internally "a" and "A" have different key values.

The problem is that on the keyboard it's written "A", whereas the key is actually "a", and you have to use SHIFT to get an "A".

So Qt returns the code "A" when you press "A" or "a", as well as GTK+ where I add to do a conversion for that.

I have to implement the reverse trick when interpreting the shortcut passed to 'Key.Send()', otherwise there is no coherency.

--
Benoît Minisini.


Follow-Ups:
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
References:
Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>