blue-systems / plasma-5.5

Plasma 5.2 - 5.5
0 stars 0 forks source link

[ksnapshot]: cannot invoke ksnapshot (with print key) while having context menu open #110

Closed star-buck closed 8 years ago

mgraesslin commented 9 years ago

this is a restriction of X11 - while a context menu (grabbed keyboard) is open many features are not going to work. Among them are global shortcuts, screen locking, etc.

star-buck commented 9 years ago

I "know" those are all not "proper (X11)" programs, but for example Libreoffice, Firefox, etc. have no problem invoking ksnapshot via Printkey with dropdown menu open...

mgraesslin commented 9 years ago

drop down menu != context menu. I just tried in iceweasel of Debian stable and there both context menus and drop down menus block global shortcuts from working.

star-buck commented 9 years ago

ksnapshot trigger via printkey works fine with firefox: https://www.dropbox.com/s/hha5ozfotd1lry2/ff-ksnapshot.mkv?dl=0

mgraesslin commented 9 years ago

they seemed to have changed the context menu in a newer version, which seems to be no longer the GTK version which seems to work differently. It's possible that the menu is part of the web page now and thus doesn't break X11 mode.

Anyway: mood point. It's an X11 restriction.

mgraesslin commented 9 years ago

just watched the video again and noticed something interesting: once ksnapshot opens the menu closes and ksnapshot doesn't snapshot the menu. Looks like a Firefox regression to me (certainly not the intended behavior that the menu can get closed by other windows).

star-buck commented 9 years ago

yeah, interesting enough Libroffice does leave the menu open. This is nice if you for example make a tutorial and want to show where a menu entry is. Of course this can also be done with delay, it just might not be intuitive for some users...

mgraesslin commented 8 years ago

the new tool spectacle (which replaces ksnapshot) has a mode to snapshot context menus. One still cannot press print key while context menu is open, but one can work with a delay.

star-buck commented 8 years ago

lets wait for spectacle then, closing here.