If a PlasmaShellSurface for an already mapped window is created and set
to panel it affects other windows by adjusting the maximized area. This
happens when showing KRunner for the second time and later. To prevent
this and make KWin's life slightly easier we first set the panel behavior
to windows go below and then mark it as panel. Thus other windows are not
affected by opening KRunner.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R120:e967385b0a58: [krunner] First set panel behavior than as panel
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Seems like this API is extremely brittle, would it be possible to make sure this is dealt with on the library side?
Comment Actions
Doesn't do any harm.
Was the original intention (before "the qt bug") to have shell surface set all it's states before the window gets mapped?
Comment Actions
Yes, the complete interface is designed the way that you set once your state. Once a dock always a dock. And the panel behavior is a different call as that's allowed to change.