Bug 190263 - popups stay up when clicking with tablet outside popup (was: tools shortcuts can be lost when using a stylus and the brush dialog)
Summary: popups stay up when clicking with tablet outside popup (was: tools shortcuts ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 16:36 UTC by enkithan
Modified: 2010-04-11 03:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enkithan 2009-04-21 16:36:54 UTC
Version:           trunk (using KDE 4.2.2)
OS:                Linux
Installed from:    Unlisted Binary Package


How to reproduce:
- with the stylus as active tool, open the brush dialog, and type with the keyboard a new size (I guess the stylus lose the focus at that time because it's still in my hand when I type)
- hit enter
- click with the stylus outside the brush dialog to hide it
---> the shortcuts are lost
To activate shortcut again, paint with the mouse.
--->tools shortcuts work again with both mouse & stylus.
Comment 1 Elián Hanisch 2009-05-29 08:36:41 UTC
yes, i noticed this too, it happens whenever the focus remains somewhere else, like when you change the tool's opacity with the slider
Comment 2 Halla Rempt 2009-05-30 10:57:07 UTC
Apparently, tablet events do need lead to focus events :-(. I have a problem getting shortcuts to work in any case.
Comment 3 Halla Rempt 2009-05-30 11:24:16 UTC
I have added an extra setfocus call in trunk. Could either of you please check whether that fixes this bug?
Comment 4 Elián Hanisch 2009-05-30 14:46:34 UTC
It sort of fixes it
there's the issue that the brush dialog remains open even when you click in the canvas with the stylus (same with the slider of the opacity control) while one of these remain open shortcuts don't work.
Comment 5 Halla Rempt 2009-05-30 14:54:02 UTC
I think the problem with the popup staying up is actually a Qt bug, and related to the bug the explicit setFocus 'fixes'. I could, of course, try to explicitly hide on a tablet event in the canvas, and I might have to implement that workaround if I cannot find the bug in Qt.

I'll keep this bug op & change the subject.