Krita Source Code Documentation
Loading...
Searching...
No Matches
KisGrabKeyboardFocusRecoveryWorkaround.h File Reference
#include <QScopedPointer>
#include "kritaui_export.h"

Go to the source code of this file.

Classes

class  KisGrabKeyboardFocusRecoveryWorkaround
 Background: For some reason, when using a combination of 'grabKeyboard' and 'releaseKeyboard' (e.g. the screen color sampling facility), the active window loses focus, or at least that is indicated by the change on the windows decorations (title bar, frame, etc.). Actually, the window seems to remain activated/focused regardless of the change on the window decorations. This is probably some bug on Qt/Plasma/X11 (a small and simple standalone test app gives the same results). More...