Summary: | Plasma panel sometimes don't respect "autohide" option in plasma/layout-templates/*/contents/layout.js | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | opensuse.lietuviu.kalba |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, kde |
Priority: | NOR | ||
Version: | 5.4.3 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/0dc7f6c3e5d62f6d8211e5d024ee3080b2baae37 | Version Fixed In: | |
Sentry Crash Report: |
Description
opensuse.lietuviu.kalba
2015-11-26 06:43:56 UTC
Same bug as we had for min, max length. Will fix, thanks. Git commit 0dc7f6c3e5d62f6d8211e5d024ee3080b2baae37 by David Edmundson. Committed on 28/12/2015 at 16:23. Pushed by davidedmundson into branch 'master'. Don't rely graphic objects in panel script engine The basic design of Plasma is that scripts and and the shell (in theory) manipulate a tree of basic applet geometry and configs. Plasmashell then reacts to those changes and displays them visually with a distinct separation between the layout and UI. Panel's scriptengine seemed to do away with all, and try and manipulate the graphic object directly..which might not exist and that leads to complex code. This changes it to read/write from the same config object as PanelView will use. More akin to how the script engine for applet and contiainment works. If there's a view for this panel, we update immediately, otherwise it'll just get loaded when it's needed. PanelView::reload() has the error checking/bounds management so no point duplicating that. REVIEW: 125921 M +12 -35 shell/panelview.cpp M +3 -0 shell/panelview.h M +89 -277 shell/scripting/panel.cpp M +1 -0 shell/scripting/panel.h http://commits.kde.org/plasma-workspace/0dc7f6c3e5d62f6d8211e5d024ee3080b2baae37 |