|
From: Benoit X. <bx...@ob...> - 2007-07-06 10:37:14
|
Dear *, =20 I=92ve upgraded to Rev:1771 this morning and have a problem that seems = to have cropped up a few months ago without any change in my code (honest!). =20 Shortcuts seems to ONLY work with Upper Case/First letter. =20 e.g. in my message.properties I have: closeCommand.label=3DC&lose saveQueryCommand.label=3D&Save Query =20 Both are used in my mdi window as button and they do display correctly, = i.e. there is an underscore under =91l=92 in Close and under =91S=92 in Save = Query. =20 The problem is: If I do =93ALT + S=94 it does call Save but =93ALT + l=94 does NOT do = anything!!! =20 It is a new-ish issue=85 =20 Furthermore, if there is a MENU item that start with a letter which is = on a shortcut in the same window (say I have Revert but a menu View too), pressing =91ALT + V=92 opens the menu! Not the command on the current = MDI=85 puzzling! =20 Could anyone tell me if something has changed and if not where should I = look for in order to investigate? Do I need to register anything to get this to work? (the Save seems to = be ok=85) =20 Many thanks! =20 Benoit No virus found in this outgoing message. Checked by AVG Free Edition.=20 Version: 7.5.476 / Virus Database: 269.10.1/888 - Release Date: = 06/07/2007 06:36 =20 |
|
From: Jan H. <jh...@sc...> - 2007-07-09 10:56:33
|
I don't recall any changes related to this. Which was your previous revision? Have you checked the commit messages in between both revs? Is there a small sample that I can look at? Kind Regards, Jan On Fri, 2007-07-06 at 11:36 +0100, Benoit Xhenseval wrote: > Dear *, > > > > I’ve upgraded to Rev:1771 this morning and have a problem that seems > to have cropped up a few months ago without any change in my code > (honest!). > > > > Shortcuts seems to ONLY work with Upper Case/First letter. > > > > e.g. in my message.properties I have: > > closeCommand.label=C&lose > > saveQueryCommand.label=&Save Query > > > > Both are used in my mdi window as button and they do display > correctly, i.e. there is an underscore under ‘l’ in Close and under > ‘S’ in Save Query. > > > > The problem is: > > If I do “ALT + S” it does call Save but “ALT + l” does NOT do > anything!!! > > > > It is a new-ish issue… > > > > Furthermore, if there is a MENU item that start with a letter which is > on a shortcut in the same window (say I have Revert but a menu View > too), pressing ‘ALT + V’ opens the menu! Not the command on the > current MDI… puzzling! > > > > Could anyone tell me if something has changed and if not where should > I look for in order to investigate? > > Do I need to register anything to get this to work? (the Save seems to > be ok…) > > > > Many thanks! > > > > Benoit > > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.1/888 - Release Date: > 06/07/2007 06:36 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ Springframework-rcp-dev mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev **** DISCLAIMER **** http://www.schaubroeck.be/maildisclaimer.htm |
|
From: Benoit X. <bx...@ob...> - 2007-07-09 13:57:45
|
Hi Jan, Unfortunately, I cannot be more precise than the change in behaviour = occurred in Q1 of this year... I'm not sure where to look to see the = difference... An example would be to change the messages.properties in the resources = artifact from cancelCommand.label=3D&Cancel to cancelCommand.label=3DC&ancel If you run the simple example and look at the Contact View | New = Contact. The display of Cancel button will change, the "_" will be under 'a' = instead of 'C' but the ALT+a will not work. (it used to). Let me know if you can reproduce the issue. Many thanks Benoit. -----Original Message----- From: spr...@li... = [mailto:spr...@li...] On Behalf = Of Jan Hoskens Sent: 09 July 2007 11:57 To: spr...@li... Subject: Re: [Springframework-rcp-dev] Question/Issue on Shortcuts I don't recall any changes related to this. Which was your previous revision? Have you checked the commit messages in between both revs? Is there a small sample that I can look at? Kind Regards, Jan On Fri, 2007-07-06 at 11:36 +0100, Benoit Xhenseval wrote: > Dear *, >=20 > =20 >=20 > I=E2=80=99ve upgraded to Rev:1771 this morning and have a problem that = seems > to have cropped up a few months ago without any change in my code > (honest!). >=20 > =20 >=20 > Shortcuts seems to ONLY work with Upper Case/First letter. >=20 > =20 >=20 > e.g. in my message.properties I have: >=20 > closeCommand.label=3DC&lose >=20 > saveQueryCommand.label=3D&Save Query >=20 > =20 >=20 > Both are used in my mdi window as button and they do display > correctly, i.e. there is an underscore under =E2=80=98l=E2=80=99 in = Close and under > =E2=80=98S=E2=80=99 in Save Query. >=20 > =20 >=20 > The problem is: >=20 > If I do =E2=80=9CALT + S=E2=80=9D it does call Save but =E2=80=9CALT + = l=E2=80=9D does NOT do > anything!!! >=20 > =20 >=20 > It is a new-ish issue=E2=80=A6 >=20 > =20 >=20 > Furthermore, if there is a MENU item that start with a letter which is > on a shortcut in the same window (say I have Revert but a menu View > too), pressing =E2=80=98ALT + V=E2=80=99 opens the menu! Not the = command on the > current MDI=E2=80=A6 puzzling! >=20 > =20 >=20 > Could anyone tell me if something has changed and if not where should > I look for in order to investigate? >=20 > Do I need to register anything to get this to work? (the Save seems to > be ok=E2=80=A6) >=20 > =20 >=20 > Many thanks! >=20 > =20 >=20 > Benoit >=20 >=20 >=20 > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.1/888 - Release Date: > 06/07/2007 06:36 >=20 >=20 > = -------------------------------------------------------------------------= > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ = Springframework-rcp-dev mailing list = Spr...@li... = https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev **** DISCLAIMER **** http://www.schaubroeck.be/maildisclaimer.htm -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Springframework-rcp-dev mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev No virus found in this incoming message. Checked by AVG Free Edition.=20 Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: = 08/07/2007 18:32 =20 No virus found in this outgoing message. Checked by AVG Free Edition.=20 Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: = 08/07/2007 18:32 =20 |
|
From: Jan H. <jh...@sc...> - 2007-07-09 15:22:44
|
Hmm, odd that you mention that it worked. As far as I can see the implementation didn't change much over time. The problem is that there wasn't any conversion of lowercase letters to uppercase. Apparently the setMnemonic(int) method expects VK_XXX statics, and only the uppercase ascii letters are mapped on these VK_XXX statics. So I'll add a toUpperCase() in the LabelInfo class to fix this. Kind Regards, Jan On Mon, 2007-07-09 at 14:52 +0100, Benoit Xhenseval wrote: > Hi Jan, > > Unfortunately, I cannot be more precise than the change in behaviour occurred in Q1 of this year... I'm not sure where to look to see the difference... > > An example would be to change the messages.properties in the resources artifact from > cancelCommand.label=&Cancel > to > cancelCommand.label=C&ancel > > If you run the simple example and look at the Contact View | New Contact. > The display of Cancel button will change, the "_" will be under 'a' instead of 'C' but the ALT+a will not work. > (it used to). > > Let me know if you can reproduce the issue. > > Many thanks > > Benoit. > > -----Original Message----- > From: spr...@li... [mailto:spr...@li...] On Behalf Of Jan Hoskens > Sent: 09 July 2007 11:57 > To: spr...@li... > Subject: Re: [Springframework-rcp-dev] Question/Issue on Shortcuts > > I don't recall any changes related to this. Which was your previous > revision? Have you checked the commit messages in between both revs? > > Is there a small sample that I can look at? > > Kind Regards, > Jan > > On Fri, 2007-07-06 at 11:36 +0100, Benoit Xhenseval wrote: > > Dear *, > > > > > > > > I’ve upgraded to Rev:1771 this morning and have a problem that seems > > to have cropped up a few months ago without any change in my code > > (honest!). > > > > > > > > Shortcuts seems to ONLY work with Upper Case/First letter. > > > > > > > > e.g. in my message.properties I have: > > > > closeCommand.label=C&lose > > > > saveQueryCommand.label=&Save Query > > > > > > > > Both are used in my mdi window as button and they do display > > correctly, i.e. there is an underscore under ‘l’ in Close and under > > ‘S’ in Save Query. > > > > > > > > The problem is: > > > > If I do “ALT + S” it does call Save but “ALT + l” does NOT do > > anything!!! > > > > > > > > It is a new-ish issue… > > > > > > > > Furthermore, if there is a MENU item that start with a letter which is > > on a shortcut in the same window (say I have Revert but a menu View > > too), pressing ‘ALT + V’ opens the menu! Not the command on the > > current MDI… puzzling! > > > > > > > > Could anyone tell me if something has changed and if not where should > > I look for in order to investigate? > > > > Do I need to register anything to get this to work? (the Save seems to > > be ok…) > > > > > > > > Many thanks! > > > > > > > > Benoit > > > > > > > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.5.476 / Virus Database: 269.10.1/888 - Release Date: > > 06/07/2007 06:36 > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ Springframework-rcp-dev mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > > > **** DISCLAIMER **** > http://www.schaubroeck.be/maildisclaimer.htm > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 08/07/2007 18:32 > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 08/07/2007 18:32 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev **** DISCLAIMER **** http://www.schaubroeck.be/maildisclaimer.htm |