Summary: | unwanted part of the panel and crash if i remove second panel | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | ibrahim <thegoldeneagle2012> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, notmart |
Priority: | NOR | ||
Version: | 5.4.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | installed Panel.qml file |
Description
ibrahim
2015-10-06 19:55:08 UTC
as for the borders: Easier thing to do is find the installed panel.qml and change adjustBorders function to instantly return and add enabledBorders: As for the crash I think it's completely unrelated. We're getting a few in a similar trace, and never reproducible. If you can make it continually crash in that same way with some steps I would love to hear it *** This bug has been marked as a duplicate of bug 353031 *** Created attachment 94883 [details]
installed Panel.qml file
Here is my /usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml Attachment #94883 [details] and that what i edit function adjustBorders() { return; var borders = PlasmaCore.FrameSvg.AllBorders; if (!containment) { return; } switch (containment.location) { case PlasmaCore.Types.TopEdge: borders = borders & ~PlasmaCore.FrameSvg.TopBorder; break; case PlasmaCore.Types.LeftEdge: borders = borders & ~PlasmaCore.FrameSvg.LeftBorder; break; case PlasmaCore.Types.RightEdge: borders = borders & ~PlasmaCore.FrameSvg.RightBorder; break; case PlasmaCore.Types.BottomEdge: default: borders = borders & ~PlasmaCore.FrameSvg.BottomBorder; break; } if (panel.x <= panel.screen.geometry.x) { borders = borders & ~PlasmaCore.FrameSvg.LeftBorder; } if (panel.x + panel.width >= panel.screen.geometry.x + panel.screen.geometry.width) { borders = borders & ~PlasmaCore.FrameSvg.RightBorder; } if (panel.y <= panel.screen.geometry.y) { borders = borders & ~PlasmaCore.FrameSvg.TopBorder; } if (panel.y + panel.height >= panel.screen.geometry.y + panel.screen.geometry.height) { borders = borders & ~PlasmaCore.FrameSvg.BottomBorder; } root.enabledBorders = borders; } enabledBorders: and that what happen http://s12.postimg.org/aw9ls0qn1/Desktop_1_055.png thank you. so what i did wrong and how i remove this borders? try: function adjustBorders() { root.enabledBorders = PlasmaCore.FrameSvg.NoBorders; } same result no panel http://s29.postimg.org/7yxl99jrb/Desktop_1_058.png *** This bug has been marked as a duplicate of bug 353364 *** |