Problems with [Alt]- / [AltGr]- keys in blender 2.78... #51689

Closed
opened 2017-06-01 08:10:46 +02:00 by Alexander N. · 15 comments
Member

System Information
Ubuntu 16.04.2 LTS 64bit
Keyboard with german layout

Blender Version
Broken:
2.78.4 8b0f968a31 (2017-05-31) (blender-2.78-8b0f968a31-linux-glibc219-x86_64.tar.bz2)
2.78c offical

Short description of error
when i use the [Alt] or the [AltGr] key in blender then some other keys (and mouse clicks) do not work anymore in blender as expected.

Exact steps for others to reproduce the error
the quickest way to reproduce is:

  1. open blender.
  2. switch to the screen layout "Scripting".
  3. in the Text Editor press [New] to create a new text file.
  4. in the text editor at line 1, press one letter with an [ALT] or [ALTgr] key (on my german keyboard layout i press [AltGr]+- to get an '[' key.)
  5. now press the [Del]-key. nothing happens. or in that situation when i press the [Back] key, then only squares will appear.
    when i press two letters that uses the [Alt] key (e.g. "", "- " or "")then there is no issue anymore and i cant get blender to show up that issue anymore, until i close (unlink) that document and repeat from step 3.

i have deleted the .config/Blender folder to get rid of all potentially custom settings. but even then i could observe that issue.

**System Information** Ubuntu 16.04.2 LTS 64bit Keyboard with german layout **Blender Version** Broken: 2.78.4 8b0f968a31 (2017-05-31) (blender-2.78-8b0f968a31-linux-glibc219-x86_64.tar.bz2) 2.78c offical **Short description of error** when i use the [Alt] or the [AltGr] key in blender then some other keys (and mouse clicks) do not work anymore in blender as expected. **Exact steps for others to reproduce the error** the quickest way to reproduce is: 1. open blender. 2. switch to the screen layout "Scripting". 3. in the Text Editor press [New] to create a new text file. 4. in the text editor at line 1, press one letter with an [ALT] or [ALTgr] key (on my german keyboard layout i press [AltGr]+- [x] to get an '[' key.) 5. now press the [Del]-key. nothing happens. or in that situation when i press the [Back] key, then only squares will appear. when i press two letters that uses the [Alt] key (e.g. "[[", "- [ ]" or "]]")then there is no issue anymore and i cant get blender to show up that issue anymore, until i close (unlink) that document and repeat from step 3. i have deleted the .config/Blender folder to get rid of all potentially custom settings. but even then i could observe that issue.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @beta-tester

Added subscriber: @beta-tester
Alexander N. changed title from Proglems with [Alt]- / [AltGr]- keys in blender 2.78... to Problems with [Alt]- / [AltGr]- keys in blender 2.78... 2017-06-01 08:12:12 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Cannot confirm that here… This sounds like a weird keyboard/keyboard conf glitch, can you maybe try to reproduce that issue on some other computer with some other keyboard? Also, can you try to reproduce it starting blender with factory settings (--factory-startup commandline option)?

Cannot confirm that here… This sounds like a weird keyboard/keyboard conf glitch, can you maybe try to reproduce that issue on some other computer with some other keyboard? Also, can you try to reproduce it starting blender with factory settings (`--factory-startup` commandline option)?
Author
Member

hi, i have only access to german keyboards.
but i tried blender out on other computers and OS'es.

i tried out Windows 10, Ubuntu 16.04.2 LTS, Ubuntu 17.04...
it seems the real problem is TeamViewer (a remote control program).
i could not reproduce the issue as long there is no TeamViewer installed.
when there is TeamViewer (12.0.76279) installd on Ubuntu, ten i can reproduce that issue. (sometimes i have to hold the [AltGr]-ke and press quickly multiple times - [x] or - [x] , then only the [<----]-key, then some more [AltGr]+- [x] or - [x], then i run in that issue as well)

if you live in german and you have access to the desinfec't-2017 live anti virus DVD from heise (from 2017-05-25), then you can reproduce that issue by booting into that LiveDVD and start and exit TeamViewer, then download blender x86 version and run it.
go to the text editor, press new, tyle in multiple times AltGr+8/AltGr+9 quickly, press [<----] -key to delete some of the - [x]]- [x]][ letters and type in some more [AltGr]+- [x] and - [x] letters.
now is should appear that issue again, when you press [<----]-key to delete the last letters...

even TeamViewer is not running anymore it seems there is something running that "capture" the keyboard.

but i dont know why only blender is affected from that. nothing else and nowhere else that kind of issue is visible on that affected systems.

hi, i have only access to german keyboards. but i tried blender out on other computers and OS'es. i tried out Windows 10, Ubuntu 16.04.2 LTS, Ubuntu 17.04... it seems the real problem is TeamViewer (a remote control program). i could not reproduce the issue as long there is no TeamViewer installed. when there is TeamViewer (12.0.76279) installd on Ubuntu, ten i can reproduce that issue. (sometimes i have to hold the [AltGr]-ke and press quickly multiple times - [x] or - [x] , then only the [<----]-key, then some more [AltGr]+- [x] or - [x], then i run in that issue as well) if you live in german and you have access to the desinfec't-2017 live anti virus DVD from heise (from 2017-05-25), then you can reproduce that issue by booting into that LiveDVD and start and exit TeamViewer, then download blender x86 version and run it. go to the text editor, press new, tyle in multiple times AltGr+8/AltGr+9 quickly, press [<----] -key to delete some of the - [x]]- [x]][ letters and type in some more [AltGr]+- [x] and - [x] letters. now is should appear that issue again, when you press [<----]-key to delete the last letters... even TeamViewer is not running anymore it seems there is something running that "capture" the keyboard. but i dont know why only blender is affected from that. nothing else and nowhere else that kind of issue is visible on that affected systems.
Author
Member

hmmm...
now i downloaded and installed the old "ScreenCast Keys" - addon (space_view3d_screencast_keys.py) to see what it will display in that issue situation.
unfortunately (for me in this situation) it does not show up in the text editor but when i quickly move the mouse cursor to the 3d view, some of the last pressed keys of the text editor will show up in the 3d view.
it looks like the [Alt]-key will stick, when that issue appears, even i do not hold the [Alt]-Key anymore. but i found out i can unlock the [Alt]-key, when i press the [Alt]-key again without pressing any other key
(in the Video shown as ALT + NONE).

is that an feature of blender or ubuntu?

see attached a screen cast video i made Alt-Key-Issue0001-0770.m4v

hmmm... now i downloaded and installed the old "ScreenCast Keys" - addon (space_view3d_screencast_keys.py) to see what it will display in that issue situation. unfortunately (for me in this situation) it does not show up in the text editor but when i quickly move the mouse cursor to the 3d view, some of the last pressed keys of the text editor will show up in the 3d view. it looks like the [Alt]-key will stick, when that issue appears, even i do not hold the [Alt]-Key anymore. but i found out i can unlock the [Alt]-key, when i press the [Alt]-key again without pressing any other key (in the Video shown as ALT + NONE). is that an feature of blender or ubuntu? see attached a screen cast video i made [Alt-Key-Issue0001-0770.m4v](https://archive.blender.org/developer/F615731/Alt-Key-Issue0001-0770.m4v)
Author
Member

BTW: that screen cast was made on the system, where TeamViewer is istalled (but not running).

BTW: that screen cast was made on the system, where TeamViewer is istalled (but not running).

To check on events, best thing to do is start Blender with --debug-events option, and look in the console, all events captured by Blender will be printed there.

But this really looks like some weird interference from teamviewer app, not sure we can do anything a bout it - that would not be the only keyboard-messing app causing issues with Blender…

To check on events, best thing to do is start Blender with `--debug-events` option, and look in the console, all events captured by Blender will be printed there. But this really looks like some weird interference from teamviewer app, not sure we can do anything a bout it - that would not be the only keyboard-messing app causing issues with Blender…
Author
Member

i used the --debug-events option. with that option enabled it is way harder to force blender to go into that issue situation. sometimes i can not reproduce that issue anymore...

here a run, where i could reproduce that issue.
there are some UNKNOWN events just after the alt key press.

wm_event_do_handlers: Handling event
wmEvent  type:171 / UNKNOWN, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

and just after releasing the alt key


wm_event_do_handlers: Handling event
wmEvent  type:171 / UNKNOWN, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:171 / UNKNOWN, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

here the full log the back spaces are not accepred anymore

me@main:~$ '/home/me/bin/blender-release/blender' --debug-events
ED_screen_refresh: set screen
found bundled python: /home/me/bin/blender-release/2.78/python
ghost_event_proc: window 1 state = normal
ghost_event_proc: ghost redraw 1
ghost_event_proc: ghost redraw 1

wm_event_do_handlers: Handling event
wmEvent  type:220 / RET, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(1266,956), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc0ea808
ED_screen_refresh: set screen

wm_event_do_handlers: Handling event
wmEvent  type:220 / RET, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(1266,956), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dca92f88

wm_event_do_handlers: Handling event
wmEvent  type:272 / TIMER, val:0 / NOTHING,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(1266,956), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabe008

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:1 / PRESS,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08

wm_event_do_handlers: Handling event
wmEvent  type:272 / TIMER, val:0 / NOTHING,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:1 / PRESS,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08

wm_event_do_handlers: Handling event
wmEvent  type:20513 / UNKNOWN, val:1 / PRESS,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:1 / PRESS,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(303,759), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(303,759), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88
ED_screen_refresh: set screen
wm_event_do_notifiers: screen set 0x7fb5ecdff108

wm_event_do_handlers: Handling event
wmEvent  type:272 / TIMER, val:0 / NOTHING,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(303,759), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:1 / PRESS,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(262,341), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88

wm_event_do_handlers: Handling event
wmEvent  type:1 / LEFTMOUSE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(262,341), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88

wm_event_do_handlers: Handling event
wmEvent  type:260 / WINDOW_DEACTIVATE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88

wm_event_do_handlers: Handling event
wmEvent  type:260 / WINDOW_DEACTIVATE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bed88


## here is started typing in the text editor

wm_event_do_handlers: Handling event
wmEvent  type:214 / RIGHT_ALT, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:171 / UNKNOWN, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'[', utf8:'[', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_handlers_do_intern:       handled! 'TEXT_OT_insert'

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:']', utf8:']', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_handlers_do_intern:       handled! 'TEXT_OT_insert'

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'[', utf8:'[', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_handlers_do_intern:       handled! 'TEXT_OT_insert'

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:']', utf8:']', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_handlers_do_intern:       handled! 'TEXT_OT_insert'

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_event_add_ghostevent Send double click

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:4 / DOUBLE_CLICK,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:']', utf8:']', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_handlers_do_intern:       handled! 'TEXT_OT_insert'

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:57 / NINE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'[', utf8:'[', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_handlers_do_intern:       handled! 'TEXT_OT_insert'

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:56 / EIGHT, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:171 / UNKNOWN, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:171 / UNKNOWN, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88


## at this moment, the back space is not working

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_event_add_ghostevent Send double click

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:4 / DOUBLE_CLICK,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88
wm_event_add_ghostevent Send double click

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:4 / DOUBLE_CLICK,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

wm_event_do_handlers: Handling event
wmEvent  type:223 / BACK_SPACE, val:2 / RELEASE,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88
i used the `--debug-events` option. with that option enabled it is way harder to force blender to go into that issue situation. sometimes i can not reproduce that issue anymore... here a run, where i could reproduce that issue. there are some UNKNOWN events just after the alt key press. ``` wm_event_do_handlers: Handling event wmEvent type:171 / UNKNOWN, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 ``` and just after releasing the alt key ``` wm_event_do_handlers: Handling event wmEvent type:171 / UNKNOWN, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:171 / UNKNOWN, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 ``` here the full log the back spaces are not accepred anymore ``` me@main:~$ '/home/me/bin/blender-release/blender' --debug-events ED_screen_refresh: set screen found bundled python: /home/me/bin/blender-release/2.78/python ghost_event_proc: window 1 state = normal ghost_event_proc: ghost redraw 1 ghost_event_proc: ghost redraw 1 wm_event_do_handlers: Handling event wmEvent type:220 / RET, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(1266,956), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc0ea808 ED_screen_refresh: set screen wm_event_do_handlers: Handling event wmEvent type:220 / RET, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(1266,956), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dca92f88 wm_event_do_handlers: Handling event wmEvent type:272 / TIMER, val:0 / NOTHING, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(1266,956), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabe008 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:1 / PRESS, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08 wm_event_do_handlers: Handling event wmEvent type:272 / TIMER, val:0 / NOTHING, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:1 / PRESS, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcd08 wm_event_do_handlers: Handling event wmEvent type:20513 / UNKNOWN, val:1 / PRESS, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(256,905), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:1 / PRESS, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(303,759), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(303,759), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 ED_screen_refresh: set screen wm_event_do_notifiers: screen set 0x7fb5ecdff108 wm_event_do_handlers: Handling event wmEvent type:272 / TIMER, val:0 / NOTHING, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(303,759), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:1 / PRESS, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(262,341), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 wm_event_do_handlers: Handling event wmEvent type:1 / LEFTMOUSE, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(262,341), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 wm_event_do_handlers: Handling event wmEvent type:260 / WINDOW_DEACTIVATE, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dcabcc88 wm_event_do_handlers: Handling event wmEvent type:260 / WINDOW_DEACTIVATE, val:2 / RELEASE, shift:0, ctrl:0, alt:0, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bed88 ## here is started typing in the text editor wm_event_do_handlers: Handling event wmEvent type:214 / RIGHT_ALT, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:171 / UNKNOWN, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'[', utf8:'[', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_handlers_do_intern: handled! 'TEXT_OT_insert' wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:']', utf8:']', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_handlers_do_intern: handled! 'TEXT_OT_insert' wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'[', utf8:'[', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_handlers_do_intern: handled! 'TEXT_OT_insert' wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:']', utf8:']', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_handlers_do_intern: handled! 'TEXT_OT_insert' wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_add_ghostevent Send double click wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:4 / DOUBLE_CLICK, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:']', utf8:']', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_handlers_do_intern: handled! 'TEXT_OT_insert' wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:57 / NINE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'[', utf8:'[', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_handlers_do_intern: handled! 'TEXT_OT_insert' wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:56 / EIGHT, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:171 / UNKNOWN, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:171 / UNKNOWN, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 ## at this moment, the back space is not working wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_add_ghostevent Send double click wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:4 / DOUBLE_CLICK, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_add_ghostevent Send double click wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:4 / DOUBLE_CLICK, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 wm_event_do_handlers: Handling event wmEvent type:223 / BACK_SPACE, val:2 / RELEASE, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 ```
Author
Member

??? i see some key events in the log with val:4 / DOUBLE_CLICK ... i never touched my mouse in that time.

??? i see some key events in the log with `val:4 / DOUBLE_CLICK` ... i never touched my mouse in that time.
Author
Member

will be quickly hitting keys detected as DOUBLE_CLICK on the keyboard ?

will be quickly hitting keys detected as DOUBLE_CLICK on the keyboard ?
Author
Member

sorry for that frequence of posting.
the only difference i could see between an affected system and a none affected system is, that on the affected system there is an event type "RIGHT_ALT"

wm_event_do_handlers: Handling event
wmEvent  type:214 / RIGHT_ALT, val:1 / PRESS,
         shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0,
         mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88

that never appear on the log on a none affected system.
on a none affected system i only can see the "UNKNOWN" events at the time when i press or release the ALT key on the keyboard.
on an affected system i see the "RIGHT_ALT" followed by "UNKNOWN" at pressing and only two "UNKOWN" events at releasing the alt key.

when this is not an issue that can be fixed in blender, then please excuse my "faulty" report. and you can close it - i will not waste more time of your.

sorry for that frequence of posting. the only difference i could see between an affected system and a none affected system is, that on the affected system there is an event type "RIGHT_ALT" ``` wm_event_do_handlers: Handling event wmEvent type:214 / RIGHT_ALT, val:1 / PRESS, shift:0, ctrl:0, alt:1, oskey:0, keymodifier:0, mouse:(200,601), ascii:'', utf8:'', keymap_idname:(null), pointer:0x7fb5dc9bee88 ``` that never appear on the log on a none affected system. on a none affected system i only can see the "UNKNOWN" events at the time when i press or release the ALT key on the keyboard. on an affected system i see the "RIGHT_ALT" followed by "UNKNOWN" at pressing and only two "UNKOWN" events at releasing the alt key. when this is not an issue that can be fixed in blender, then please excuse my "faulty" report. and you can close it - i will not waste more time of your.
Author
Member

here the log from an none affected in case of interest:
debug-events-no-issue.txt

here the log from an none affected in case of interest: [debug-events-no-issue.txt](https://archive.blender.org/developer/F615849/debug-events-no-issue.txt)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2017-06-06 14:37:54 +02:00

OK… the problem here are indeed those 'unknown keys' events - for some reason, it sends two of them, and only one is recognized when pressed, none when released. This sets up the 'lat' modifier state, but does not release it, which 'locks' all non-char key press, since they are interpreted as if alt was pressed (alt-Back e.g. won't erase chars, etc.).

I cannot really investigate this further, since even when setting a German layout on my keyboard I cannot reproduce the issue (am only getting one set of press/release 'UNKNOWN' event here, which are the GRLESS key I think). This does look a bit like a problem with keyboard config though, imho it should either generate GRLESS or ALT_R events, not both - and it should definitively generate matching events on press and release!

Will close the report for now, thanks for the investigation effort, but we'd need to be able to reproduce the issue to go further am afraid. :/

OK… the problem here are indeed those 'unknown keys' events - for some reason, it sends two of them, and only one is recognized when pressed, none when released. This sets up the 'lat' modifier state, but does not release it, which 'locks' all non-char key press, since they are interpreted as if alt was pressed (alt-Back e.g. won't erase chars, etc.). I cannot really investigate this further, since even when setting a German layout on my keyboard I cannot reproduce the issue (am only getting one set of press/release 'UNKNOWN' event here, which are the GRLESS key I think). This does look a bit like a problem with keyboard config though, imho it should either generate GRLESS or ALT_R events, not both - and it should definitively generate matching events on press and release! Will close the report for now, thanks for the investigation effort, but we'd need to be able to reproduce the issue to go further am afraid. :/
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#51689
No description provided.