tabbox: Make thumbnail_grid switcher a popup

With this, the thumbnail grid task switcher window won't be viewed as a
toplevel window anymore and the scale effect won't attempt to animate
it, which doesn't look good currently.

Given the input semantics of the task switcher, it might be preferred to
create a non-grabbing popup and then let the tabbox input filter do its
thing, but Qt has no matching non-grabbing popup flag, only ToolTip, which
would work in this case but it would look odd.
wilder/Plasma/6.3
Vlad Zahorodnii 1 year ago
parent 1346ef0422
commit 1d03b04749
  1. 2
      src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml

@ -24,7 +24,7 @@ KWin.TabBoxSwitcher {
delegate: PlasmaCore.Dialog {
location: PlasmaCore.Types.Floating
visible: true
flags: Qt.X11BypassWindowManagerHint
flags: Qt.Popup | Qt.X11BypassWindowManagerHint
x: tabBox.screenGeometry.x + tabBox.screenGeometry.width * 0.5 - dialogMainItem.width * 0.5
y: tabBox.screenGeometry.y + tabBox.screenGeometry.height * 0.5 - dialogMainItem.height * 0.5

Loading…
Cancel
Save