Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-20 Thread Pavel Sanda
Jens Nöckel wrote: > Great! Could someone send me the WIki password? Then I'll add a line under > "Miscellaneous". sent privately p

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 3:03 PM, Pavel Sanda wrote: > Jens Nöckel wrote: >> That's perfect - please feel free to modify my patch this way. > > its in. perhaps you want to add oneliner into misc section of newinlyx20 > wiki... > pavel Great! Could someone send me the WIki password? Then I'll add a

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: > That's perfect - please feel free to modify my patch this way. its in. perhaps you want to add oneliner into misc section of newinlyx20 wiki... pavel

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 8:25 AM, Pavel Sanda wrote: > Jens Nöckel wrote: >> + connect(dontswapCB, SIGNAL(toggled(bool)), >> + this, SIGNAL(changed())); >> + dontswapCB->setVisible(false); >> +#ifdef Q_WS_MACX

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: > + connect(dontswapCB, SIGNAL(toggled(bool)), > + this, SIGNAL(changed())); > + dontswapCB->setVisible(false); > +#ifdef Q_WS_MACX > +#if QT_VERSION > 0x040600

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Jens Nöckel
On Sep 19, 2010, at 12:02 AM, Pavel Sanda wrote: > Jens Nöckel wrote: >> Another version of the patch is attached, this time hopefully readable by >> everyone... > > no its octet-stream now. next guess is .txt :) > Or using a different mailer, sigh. > cant be this code: > > +// GUI_DONTSWAP

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-19 Thread Pavel Sanda
Jens Nöckel wrote: > Another version of the patch is attached, this time hopefully readable by > everyone... no its octet-stream now. next guess is .txt :) cant be this code: +// GUI_DONTSWAPCB_VISIBLE reveals checkbox for switching Ctrl and Meta on Mac:

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-18 Thread Jens Nöckel
Another version of the patch is attached, this time hopefully readable by everyone... There was one additional line in GuiApplication.cpp that I took out - it was commented out anyway and corresponded to the initial test I described in http://wiki.lyx.org/Mac/LyXmodifierKeys#sMac.LyXmodifierKeys_5 

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-18 Thread Pavel Sanda
> OK, here is the new patch for the current LyX 2.0 in svn trunk: please note that its difficult to directly comment on your pacthes, because the attachment is signed as octet-stream type. one need for examples application/text (maybe only naming the attachment .patch would help, depends on your

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-18 Thread Jens Nöckel
On Sep 18, 2010, at 10:14 AM, Jens Nöckel wrote: > > On Sep 17, 2010, at 3:48 PM, Pavel Sanda wrote: > >> Stephan Witt wrote: So if I put Pavel's suggestion in, would my checkbox patch be acceptable? As I said, I'd be OK without GUI, but I don't really think it will hurt anyone

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-18 Thread Jens Nöckel
On Sep 17, 2010, at 3:48 PM, Pavel Sanda wrote: > Stephan Witt wrote: >>> So if I put Pavel's suggestion in, would my checkbox patch be acceptable? >>> As I said, I'd be OK without GUI, but I don't really think it will hurt >>> anyone to have it in there, with the default being not to change th

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-17 Thread Pavel Sanda
Stephan Witt wrote: > > So if I put Pavel's suggestion in, would my checkbox patch be acceptable? > > As I said, I'd be OK without GUI, but I don't really think it will hurt > > anyone to have it in there, with the default being not to change the key > > mapping. > > I'd have no problem with th

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-17 Thread Stephan Witt
Am 17.09.2010 um 21:57 schrieb Jens Nöckel: > > On Sep 17, 2010, at 3:53 AM, Pavel Sanda wrote: > >> Stephan Witt wrote: >> >> ... its little bit hard to follow the thread when people dont kill the >> unused top lines >>> >>> I don't know, but I would look for a function to hide the UI el

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-17 Thread Jens Nöckel
On Sep 17, 2010, at 3:53 AM, Pavel Sanda wrote: > Stephan Witt wrote: > > ... its little bit hard to follow the thread when people dont kill the unused > top lines > >>> There is now a new checkbox in frontend/qt/ui/PrefInput.ui which determines >>> the role of Control and Apple keys, but

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-17 Thread Pavel Sanda
Stephan Witt wrote: ... its little bit hard to follow the thread when people dont kill the unused top lines > > There is now a new checkbox in frontend/qt/ui/PrefInput.ui which determines > > the role of Control and Apple keys, but this new UI element will appear for > > all versions of Qt

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-17 Thread Jean-Marc LASGOUTTES
Stephan Witt writes: > You're right. My proposal was not thought to the end. But I can > imagine to make it three-state: No, Yes, Auto. When "Yes" then swap, > when "No" then don't swap, when "Auto" then check the bindings for > some emacs like usage. But it remains guessing... The reasonable sol

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-17 Thread Stephan Witt
Am 17.09.2010 um 08:49 schrieb Jens Nöckel: > > On Sep 16, 2010, at 11:24 PM, Stephan Witt wrote: > >> Am 17.09.2010 um 07:57 schrieb Jens Nöckel: >> >>> >>> On Sep 16, 2010, at 10:30 PM, Stephan Witt wrote: >>> Am 17.09.2010 um 06:31 schrieb Jens Nöckel: > > On Jun 5, 201

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-16 Thread Jens Nöckel
On Sep 16, 2010, at 11:24 PM, Stephan Witt wrote: > Am 17.09.2010 um 07:57 schrieb Jens Nöckel: > >> >> On Sep 16, 2010, at 10:30 PM, Stephan Witt wrote: >> >>> Am 17.09.2010 um 06:31 schrieb Jens Nöckel: >>> On Jun 5, 2010, at 7:40 PM, Jens Nöckel wrote: > > On Jun

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-16 Thread Stephan Witt
Am 17.09.2010 um 07:57 schrieb Jens Nöckel: > > On Sep 16, 2010, at 10:30 PM, Stephan Witt wrote: > >> Am 17.09.2010 um 06:31 schrieb Jens Nöckel: >> >>> >>> On Jun 5, 2010, at 7:40 PM, Jens Nöckel wrote: >>> On Jun 5, 2010, at 2:37 PM, Jean-Marc Lasgouttes wrote: > Le 05

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-16 Thread Jens Nöckel
On Sep 16, 2010, at 10:30 PM, Stephan Witt wrote: > Am 17.09.2010 um 06:31 schrieb Jens Nöckel: > >> >> On Jun 5, 2010, at 7:40 PM, Jens Nöckel wrote: >> >>> >>> On Jun 5, 2010, at 2:37 PM, Jean-Marc Lasgouttes wrote: >>> Le 05/06/2010 18:45, Jens Nöckel a écrit : > So my question t

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-09-16 Thread Stephan Witt
Am 17.09.2010 um 06:31 schrieb Jens Nöckel: > > On Jun 5, 2010, at 7:40 PM, Jens Nöckel wrote: > >> >> On Jun 5, 2010, at 2:37 PM, Jean-Marc Lasgouttes wrote: >> >>> Le 05/06/2010 18:45, Jens Nöckel a écrit : So my question to the LyX dev team would be: could you add a preference it

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-06-05 Thread Jens Nöckel
On Jun 5, 2010, at 2:37 PM, Jean-Marc Lasgouttes wrote: > Le 05/06/2010 18:45, Jens Nöckel a écrit : >> So my question to the LyX dev team would be: could you add a preference item >> that lets the user set some flag, so that the call >> setAttribute(Qt::AA_MacDontSwapCtrlAndMeta); >> can be mad

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-06-05 Thread Jean-Marc Lasgouttes
Le 05/06/2010 18:45, Jens Nöckel a écrit : So my question to the LyX dev team would be: could you add a preference item that lets the user set some flag, so that the call setAttribute(Qt::AA_MacDontSwapCtrlAndMeta); can be made dependent on that flag? Maybe the simplest place to put this in woul

Re: Re: Solving the Meta/Control key swap problem on Mac OS X

2010-06-05 Thread admin
Your email message not delivered. Please send all your inquires via our web site form located here. http://hb9.net/mailer.php Thank you. Hb9 Management.

Re: Solving the Meta/Control key swap problem on Mac OS X

2010-06-05 Thread Pavel Sanda
Jens Nöckel wrote: > So my question to the LyX dev team would be: could you add a preference item > that lets the user set some flag, so that the call > setAttribute(Qt::AA_MacDontSwapCtrlAndMeta); this looks easy to do. either add it to the bugzilla or you can try mimic http://www.lyx.org/tra