summaryrefslogtreecommitdiff
path: root/sc/uiconfig
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-07-19 22:13:21 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-07-20 15:20:43 +0200
commit63f92f185b78db5a575da58efac3f94a8cb5a5f6 (patch)
treef4af8f94c4e6ba688b1ea1cb16f196cd782d0bd9 /sc/uiconfig
parent862fdb98ca271b60a831cd5420fd16d5f9c1c747 (diff)
Qt5 fix Qt::Popup window handling
I guess to get popup windows somehow working, they were matched to Qt::ToolTip. Fixing that by removing SalFrameStyleFlags::FLOAT from the tooltip check, resulted in rather bizarre bahviour. The Qt::Popup window is modal, as documented, but wouldn't close when clicked outside, like normal popups. And I neither got any mouse button or focus events, just some leave or enter. The only way to interact with anything again, was by clicking somewhere on the popup where it can't take focus... and it has nothing to do with the transition setting either. In the end it turned out that Qt::StrongFocus prevented the mouse events to happen. Even without it the widget accepts mouse and keyboard focus, so nothing seems lost by omitting that for the Qt::Popup case; hopefully... Change-Id: Icda7bbe87268293a400fe0da551d2804675d4c2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119236 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sc/uiconfig')
0 files changed, 0 insertions, 0 deletions