Am 31.01.2012 um 19:16 schrieb Jens Nöckel:

> Hi, 
> since I don't see the problem on either OS X 10.6.8 or 10.7.2, I just tried 
> the following steps on my OS X 10.6.8 machine:
> 
...
Thanks for the good recipe.

> The last point is something you should definitely check, too. If you do the 
> same things (including step 1) but still have the problem, then one has to 
> start worrying that perhaps Qt is doing something wrong. Essentially what the 
> "don't swap" check box does is to set a Qt flag that gets updated when LyX 
> starts up.  I can't really see how anything on the LyX side should fail in 
> that process.

Regarding Qt the difference between LyX-2.0.1 and LyX-2.0.2 is the version of 
the framework.
* LyX-2.0.1 comes with Qt-4.6.3 and
* LyX-2.0.2 comes with Qt-4.7.2

Moving backwards to Qt-4.6.3 has it's own problems - we'll get crashes with 
tools like Divvy again.

Stephan

> 
> Jens
> 
> On Jan 31, 2012, at 8:25 AM, Stephan Witt wrote:
> 
>> Am 31.01.2012 um 16:36 schrieb stiv. djobz.:
>> 
>>> Thanks.
>>> This is my first time to see the progress/debug messages...
>> 
>> You're very clever ;-)
>> 
>>> The responses seems to be different.
>> 
>> Yes, unfortunately. I suppose you have saved you preferences and LyX was 
>> restarted.
>> So, it should work. But indeed it seems to ignore the don't swap option.
>> Interestingly there is an additional line in your output I don't have:
>> 
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(616): 
>> keyevent has isNull() text !
>> 
>> The complete output I get for ctrl-b is:
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046):  count: 
>> 1 text:  isAutoRepeat: 0 key: 16777250 keyState: Meta-
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(621): Getting 
>> key 16777250, with text ''
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(627): Setting 
>> key to 16777250, 
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK is 
>> 1
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663): 
>> KeySym is Alt_L
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK is 
>> 1
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650): 
>> isModifier is 1
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046):  count: 
>> 1 text:  isAutoRepeat: 0 key: 66 keyState: Control-
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(621): Getting 
>> key 66, with text ''
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(627): Setting 
>> key to 66, 
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK is 
>> 1
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663): 
>> KeySym is b
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK is 
>> 1
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650): 
>> isModifier is 0
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1686): 
>> action first set to []
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1694): 
>> action now set to []
>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1705):  Key 
>> [action=][Kontroll-B]
>> 
>> I can see two possible explanations:
>> 1. We are using different LyX-2.0.2 software packages (I use the package 
>> from www.lyx.org)
>> 2. We have different environments and there is some critical setting I don't 
>> have
>> I have a german desktop and no special settings made to the system keyboard 
>> mappings.
>> 
>> Do you have another idea? Do you have your own keyboard tables assigned?
>> 
>> Stephan
>> 
>>> I moved the .bind files in /Library/Application Support/LyX-2.0/bind/
>>> to another place and restart lyx 2.0.2 with the same settings as yours.
>>> 
>>> When I type ctrl+b, nothing appears on the document.
>>> The message is:
>>> 
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046): count: 
>>> 1 text: isAutoRepeat: 0 key: 16777250 keyState: Meta-
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(621): 
>>> Getting key 16777250, with text ''
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(627): 
>>> Setting key to 16777250,
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663): 
>>> KeySym is Alt_L
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650): 
>>> isModifier is 1
>>> 23:16:35.603: Unknown 
>>> function./Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046):
>>>  count: 1 text: isAutoRepeat: 0 key: 66 keyState: Meta-
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(616): 
>>> keyevent has isNull() text !
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663): 
>>> KeySym is b
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650): 
>>> isModifier is 0
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1686): 
>>> action first set to []
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1694): 
>>> action now set to []
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1705): Key 
>>> [action=][Command-B]
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(726): text_ 
>>> empty, isText() == false
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1732): 
>>> Unknown, !isText() - giving up
>>> 
>>> 
>>> When I type command + b, the cursor moves backwards by one character.
>>> The message is:
>>> 
>>> 
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046): count: 
>>> 1 text: isAutoRepeat: 0 key: 16777249 keyState: Control-
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(621): 
>>> Getting key 16777249, with text ''
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(627): 
>>> Setting key to 16777249,
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663): 
>>> KeySym is Control_L
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650): 
>>> isModifier is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046): count: 
>>> 1 text: isAutoRepeat: 0 key: 66 keyState: Control-
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(616): 
>>> keyevent has isNull() text !
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663): 
>>> KeySym is b
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK 
>>> is 1
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650): 
>>> isModifier is 0
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1686): 
>>> action first set to []
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1694): 
>>> action now set to []
>>> /Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1705): Key 
>>> [action=][Control-B]
>>> 
>>> 
>> 
>> 
> 

Reply via email to