https://bugs.kde.org/show_bug.cgi?id=378630
Bug ID: 378630 Summary: Cannot create theme with properly scalable titlebar Product: kwin Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: aurorae Assignee: kwin-bugs-n...@kde.org Reporter: andi.ber...@yandex.com Target Milestone: --- Background: I tried to port a (fairly typical) window decoration to aurorae. it basically has a 2px outer border on all sides (1px dark contour, 1px highlight), and a vertical titlebar gradient, which is stretched to fill the remaining height of the titlebar. My issue: First, i was happy to find that each button is a FrameSvg with its own borders, so i could create properly scalable buttons with contours. However, i found that the entire window decoration is provided by only one FrameSvg 'decoration' in Aurorae. This means that the titlebar is provided solely by 'decoration-top', 'decoration-topleft', and 'decoration-topright'. If the size of the titlebar changes, decoration-top is tiled, which is obviously not desired. However, stretching it instead wouldn't do either, as then the 2px top contour of the titlebar would be stretched along. As an ugly workaround, i could make decoration-top larger than any reasonably expectable titlebar height, but in this case, with a lower-size titlebar, only the top color of the titlebar gradient would be visible. My wishlist: Use one entire FrameSvg for the titlebar alone. After all, the Titlebar itself is a resizeable object (due to varying font sizes, user preferences, etc) and therefore deserves an entire FrameSvg for itself. The titlebar gradient would then go into [proposed FrameSvg]-center and would be resizable. i know you stated before something like 'aurorae is not supposed to be a default option' (with regard to color-scheme support), so i tagged this 'wishlist'. regards, Andi -- You are receiving this mail because: You are watching all bug changes.