Don't set PanelView visibilty when opening/closing config
ClosedPublic

Authored by davidedmundson on Nov 17 2016, 5:35 PM.

Details

Summary
Instead of making PanelViewConfig manipulate the visibiltyMode of
PanelView, make PanelView force the view to be visible whilst the config
is open.

This is cleaner as it doesn't alter the original config, and resolves a
bug that opening configure with an autohide panel would shift contents
about.
Test Plan

With panel as autohide opened config
Moused away from panel, panel stayed visible

With panel as autohide, plugged in a USB pen - panel appeared - and closed when I hid the dialog

Changed mode in panel config, panel didn't immediately change - but did on close.
Tested with all modes.

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.
davidedmundson retitled this revision from to Alt fix for D3407.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptNov 17 2016, 5:35 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart added a subscriber: mart.Nov 18 2016, 10:17 AM

in general +1, seems a bit cleaner one it's all well tested, it's ok for me

shell/panelview.cpp
578

why this got commented out? (that's the one that should be really checked thoroughly)

Fixed up code and tested properly

davidedmundson retitled this revision from Alt fix for D3407 to Don't set PanelView visibilty when opening/closing config .Nov 18 2016, 4:45 PM
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
mart accepted this revision.Nov 21 2016, 4:52 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Nov 21 2016, 4:52 PM
This revision was automatically updated to reflect the committed changes.
davidedmundson marked an inline comment as done.