Keyboard is stuck
Hi, I'm using lyx 1.2 for a couple of weeks now and is is great. However today I started writing a text and got a strange behaviour. Everytime I press a key for the second time , e.g. "mm" nothing happens. This happens for all keys including backspace, space and so on. I couldn't find any help on the list. Has anyone an idea why this happens? I'm using SuSE 7.3 but it worked fine and I didn't change anything on the system Below is the output of the Keyboard debugger for a new Document just pressing l two times Thanks Thorsten WorkArea: Key is `l' [108] WorkArea: Keysym is `l' [108] Using keysym [B] Workarea Diff: 4170181407 KeySym is l[108] State is [16] action first set to [90] meta_fake_bit is [0] action now set to [90] Key [action=90][l] Cannot decode: l SelfInsert arg[`l'] WorkArea: Key is `l' [108] WorkArea: Keysym is `l' [108] Using keysym [B] Workarea Diff: 0 Workarea: Purging X events.
Re: Keyboard is stuck
Thorsten Fischer wrote: > > I'm using lyx 1.2 for a couple of weeks now and is is great. However today I > started writing a text and got a strange behaviour. Everytime I press a key > for the second time , e.g. "mm" nothing happens. This happens for all keys > including backspace, space and so on. > > I couldn't find any help on the list. Has anyone an idea why this happens? I'm > using SuSE 7.3 but it worked fine and I didn't change anything on the system try a edit->reconfigure and restart lyx and then if it doesn't help tell us, what keybinding do you have: edit->preferences->Look&Feel Herbert -- http://www.lyx.org/help/
Re: Keyboard is stuck
Am Mittwoch, 10. Juli 2002 17:45 schrieb Herbert Voss: edit -> reconfigure didn't work. I'm using the cua.bind. I changed it a little but my version and the original version both show the same behaviour. In the preamble dialog everything works fine. > > try a edit->reconfigure and restart lyx and then if it doesn't help > > tell us, what keybinding do you have: edit->preferences->Look&Feel > > > > Herbert
Re: Keyboard is stuck
On Wed, Jul 10, 2002 at 03:27:26PM +0200, Thorsten Fischer wrote: > I'm using lyx 1.2 for a couple of weeks now and is is great. However today I > started writing a text and got a strange behaviour. Everytime I press a key > for the second time , e.g. "mm" nothing happens. This happens for all keys > including backspace, space and so on. This is the third or so report on this, but we couldn't find out the problem. Try fiddling with your X key repeat settings ... > WorkArea: Key is `l' [108] > WorkArea: Keysym is `l' [108] > Using keysym [B] > Workarea Diff: 0 This diff should NOT be 0 ! What xforms version are you using ? Lars, I don't understand why we have the "break;" inside the if. Shouldn't we be setting last_time_pressed ? Can you look at this please ? john -- "I know I believe in nothing but it is my nothing" - Manic Street Preachers
Re: Keyboard is stuck
Am Mittwoch, 10. Juli 2002 19:15 schrieben Sie: >This is the third or so report on this, but we couldn't find out the >problem. Try fiddling with your X key repeat settings ... Can you tell me where I can do that? In the XF86 Config File? > What xforms version are you using ? the SuSE rpm of xforms-0.89-369 Thorsten
Re: Keyboard is stuck
Am Mittwoch, 10. Juli 2002 18:22 schrieb Thorsten Fischer: I tried different Xmodmap file of Herbert and the problem is gone. Thanks Thorsten > Am Mittwoch, 10. Juli 2002 17:45 schrieb Herbert Voss: > > edit -> reconfigure didn't work. I'm using the cua.bind. I changed it a > little but my version and the original version both show the same > behaviour. > > In the preamble dialog everything works fine. > > > > try a edit->reconfigure and restart lyx and then if it doesn't help > > > tell us, what keybinding do you have: edit->preferences->Look&Feel > > > > > > Herbert
Re: Keyboard is stuck
John Levon <[EMAIL PROTECTED]> writes: | On Wed, Jul 10, 2002 at 03:27:26PM +0200, Thorsten Fischer wrote: > >> I'm using lyx 1.2 for a couple of weeks now and is is great. However today I >> started writing a text and got a strange behaviour. Everytime I press a key >> for the second time , e.g. "mm" nothing happens. This happens for all keys >> including backspace, space and so on. > | This is the third or so report on this, but we couldn't find out the | problem. Try fiddling with your X key repeat settings ... > >> WorkArea: Key is `l' [108] >> WorkArea: Keysym is `l' [108] >> Using keysym [B] >> Workarea Diff: 0 > | This diff should NOT be 0 ! exactly! a bug in the xserver! | What xforms version are you using ? > | Lars, I don't understand why we have the "break;" inside the if. | Shouldn't we be setting last_time_pressed ? > | Can you look at this please ? I did have a look at this earlier, and I found that on my laptop I only see this when comming out of suspend. Which implies a bug in the XServer. But anyway, we might be able to handle it, but it is very hard without having separate events for key pressed and key released. (a bug in XForms IMHO) -- Lgb
Re: Keyboard is stuck
On Sun, Jul 21, 2002 at 12:08:40PM +0200, Lars Gullik Bjønnes wrote: > >> I'm using lyx 1.2 for a couple of weeks now and is is great. However today I > >> started writing a text and got a strange behaviour. Everytime I press a key > >> for the second time , e.g. "mm" nothing happens. This happens for all keys > >> including backspace, space and so on. > > > | This is the third or so report on this, but we couldn't find out the > | problem. Try fiddling with your X key repeat settings ... > > > >> WorkArea: Key is `l' [108] > >> WorkArea: Keysym is `l' [108] > >> Using keysym [B] > >> Workarea Diff: 0 > > > | This diff should NOT be 0 ! > > exactly! a bug in the xserver! This seems a hasty conclusion ... > I did have a look at this earlier, and I found that on my laptop I > only see this when comming out of suspend. Which implies a bug in the > XServer. But anyway, we might be able to handle it, but it is very > hard without having separate events for key pressed and key released. > (a bug in XForms IMHO) FL_KEYRELEASE is in 0.89+ according to the source. Since you can reproduce this, could you look further ? This whole code makes me very nervous - where is the guarantee of monotonicity for xke->time ? This makes LyX totally unusable for people seeing this problem regards john -- "The simpler it is, the harder it is." - Tim Van Holder
Re: Keyboard is stuck
John Levon <[EMAIL PROTECTED]> writes: | On Sun, Jul 21, 2002 at 12:08:40PM +0200, Lars Gullik Bjønnes wrote: | | > >> I'm using lyx 1.2 for a couple of weeks now and is is great. However today I | > >> started writing a text and got a strange behaviour. Everytime I press a key | > >> for the second time , e.g. "mm" nothing happens. This happens for all keys | > >> including backspace, space and so on. | > > | > | This is the third or so report on this, but we couldn't find out the | > | problem. Try fiddling with your X key repeat settings ... | > > | > >> WorkArea: Key is `l' [108] | > >> WorkArea: Keysym is `l' [108] | > >> Using keysym [B] | > >> Workarea Diff: 0 | > > | > | This diff should NOT be 0 ! | > | > exactly! a bug in the xserver! | This seems a hasty conclusion ... perhaps... but the bug that makes the diff be 0 is not one of LyX's | > I did have a look at this earlier, and I found that on my laptop I | > only see this when comming out of suspend. Which implies a bug in the | > XServer. But anyway, we might be able to handle it, but it is very | > hard without having separate events for key pressed and key released. | > (a bug in XForms IMHO) | | FL_KEYRELEASE is in 0.89+ according to the source. But it is never called... | Since you can | reproduce this, could you look further ? This whole code makes me very | nervous - where is the guarantee of monotonicity for xke->time ? It is a timestamp... I can, as said, only reproduce it on a box that comes out of suspend... there I have no keyrepeat working in any program because of this diff thing, also it impossible to cut/copy and paste anything in any program... | This makes LyX totally unusable for people seeing this problem How many are that? -- Lgb
Re: Keyboard is stuck
On Thu, Aug 01, 2002 at 09:22:20AM +0200, Lars Gullik Bjønnes wrote: > | FL_KEYRELEASE is in 0.89+ according to the source. > > But it is never called... Ah. > | Since you can > | reproduce this, could you look further ? This whole code makes me very > | nervous - where is the guarantee of monotonicity for xke->time ? > > It is a timestamp... Sure, but there are plenty of places where this is non-obvious when you must place the time in a sent event or response etc. Server/client stuff I guess > I can, as said, only reproduce it on a box that comes out of > suspend... there I have no keyrepeat working in any program because of > this diff thing, also it impossible to cut/copy and paste anything in > any program... Hmm OK. Obviously that's not the case for everyone though :( > | This makes LyX totally unusable for people seeing this problem > > How many are that? Two reports, plus unknown numbers of "what the hell is ? Back to for me" people ;) tfischer, are you able to edit this part of the code to experiment ? regards john -- "The simpler it is, the harder it is." - Tim Van Holder