Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Vincent van Ravesteijn
Op 15-2-2011 13:49, Vincent van Ravesteijn schreef: Op 15-2-2011 13:40, Jürgen Spitzmüller schreef: Vincent van Ravesteijn wrote: Yes, you do. If I open the table context menu and repeatedly press 'P' (Paragraph Settings.. and Append Column) I switch back and forth between the two items. Th

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > Determines whether menu access keys are always underlined. The pvParam > parameter must point to a BOOL variable that receives TRUE if menu > access keys are always underlined, and FALSE if they are underlined only > when the menu is activated by the keyboard. In

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Vincent van Ravesteijn
More serious, on Windows you don't even see the shortcuts on the context menus. So, when the shortcuts are not the same as the first letter of the menuitem, you won't know what to press anyway. Really? Why this? Is this some kind of Windowism? It seems to be a Windowism afterall: http://msdn

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > >> More serious, on Windows you don't even see the shortcuts on the context > >> menus. So, when the shortcuts are not the same as the first letter of > >> the menuitem, you won't know what to press anyway. > > > > Really? Why this? Is this some kind of Windowism? >

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Vincent van Ravesteijn
More serious, on Windows you don't even see the shortcuts on the context menus. So, when the shortcuts are not the same as the first letter of the menuitem, you won't know what to press anyway. Really? Why this? Is this some kind of Windowism? I'm afraid this is some kind of Qtism. QtDesigne

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > Yes of course, but it's not "unusable". Granted. I rated it "unusable" before I knew it works at all. > Maybe it's even better to have > two the same shortcuts as to have to know that "Preview" is triggered > when pressing 'i', and other strange 'accelerators'

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Vincent van Ravesteijn
Op 15-2-2011 13:40, Jürgen Spitzmüller schreef: Vincent van Ravesteijn wrote: Yes, you do. If I open the table context menu and repeatedly press 'P' (Paragraph Settings.. and Append Column) I switch back and forth between the two items. This only happens when there are multiple accelerators def

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > Yes, you do. If I open the table context menu and repeatedly press 'P' > (Paragraph Settings.. and Append Column) I switch back and forth between > the two items. This only happens when there are multiple accelerators > defined. Otherwise it immediately executes t

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Vincent van Ravesteijn
Second, it is supported by Qt to have multiple accelerators. Pressing the accelerator twice jumps to the second occurence. This only works in dialogs. In menus, pressing the accelerator once immediately triggers the assigned action. You have no change to press it twice. Yes, you do. If I open

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > Is it really that bad that there are duplicated accelerators ? Yes, they are useless in menus (contrary to the dialogs). > First I'm not sure people really often use the accelerators on the context > menus. (Does Linux use the context menu button on the keyboard

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Vincent van Ravesteijn
Op 15-2-2011 13:03, Jürgen Spitzmüller schreef: Vincent van Ravesteijn wrote: overcrowding context menu I don't know what to do here. Let's get to a consensus first. Two proposals have been put forward (see trac ticket): * strip the shortcut from inherited menus or try to generate unique

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > > overcrowding context menu > > I don't know what to do here. Let's get to a consensus first. Two proposals have been put forward (see trac ticket): * use submenu for inherited menu (perhaps only when there are more than `n' total lines). * strip the shortcut

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-14 Thread Vincent van Ravesteijn
Vincent, while seeing you alive again... :) can you have possibly look on bugs targetted on 2.0 which are connected to the code you know? there are some bugs connected to the comparison stuff, This one is resolved. overcrowding context menu I don't know what to do here. Let's get to a c

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-13 Thread Pavel Sanda
Stephan Witt wrote: > Yesterday I tried to reproduce it... and failed. > Perhaps my document to test with is not appropriate. > But there are many changes last 5 months. > Are you able to crash LyX currently a la ticket 6879? you are right. pavel

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-13 Thread Stephan Witt
Am 13.02.2011 um 12:38 schrieb Pavel Sanda: > v...@lyx.org wrote: >> Author: vfr >> Date: Sun Feb 13 11:10:28 2011 >> New Revision: 37635 >> URL: http://www.lyx.org/trac/changeset/37635 >> >> Log: >> Add a context menu to InsetBibItem. > > Vincent, while seeing you alive again... :) > can you ha

Re: r37635 - lyx-devel/trunk/lib/ui

2011-02-13 Thread Pavel Sanda
v...@lyx.org wrote: > Author: vfr > Date: Sun Feb 13 11:10:28 2011 > New Revision: 37635 > URL: http://www.lyx.org/trac/changeset/37635 > > Log: > Add a context menu to InsetBibItem. Vincent, while seeing you alive again... :) can you have possibly look on bugs targetted on 2.0 which are connecte