- 30 Apr, 2022 1 commit
-
-
Alexander Lohnau authored
plasma-workspace#9
-
- 14 Apr, 2022 1 commit
-
-
- buttons now flatten - default buttons don't show their blue colour, because, they aren't the button that'll get triggered on enter if their window isn't active
-
- 28 Mar, 2022 1 commit
-
-
David Redondo authored
GIT_SILENT
-
- 23 Feb, 2022 1 commit
-
-
Jan Blackquill authored
This fixes the contrast of tabs on dark themes by using a darkening factor on the Window colour, adjusted for whether it's light or dark, instead of using the Shadow colour for both light and dark themes. BUG: 438627 FIXED-IN: 5.25
-
- 17 Jan, 2022 1 commit
-
-
Volker Krause authored
No CI setup yet as we need Plasma seed jobs for KF6 first.
-
- 31 Dec, 2021 1 commit
-
-
Volker Krause authored
-
- 11 Oct, 2021 1 commit
-
-
QPainter's auto-scaling is prone to off-by-one rounding errors and draws on fractional coordinates. With this change, we paint on a 1x DPR QPainter and scale the shadow offset and strength manually based on DPR. This resolves an issue with resulting in seams on the right and bottom edges of a menu due to shadow boundaries being off-by-one. BUG: 418166 v2: remove unrelated formatting changes v3: - move the DPR helper to ShadowHelper - retrieve the DPR from the widget instead of the global QGuiApplication - added BUG reference
-
- 25 Sep, 2021 1 commit
-
-
Noah Davis authored
The previous way it was painted was kind of messy in the sense that other parts overlapped with the active tab when they shouldn't have or didn't overlap enough like with the highlight. There were also some painting artifacts that were just weird and are now gone.
-
- 24 Sep, 2021 3 commits
-
-
Nate Graham authored
This will prevent them from drifting out of sync over time.
-
-
-
- 16 Sep, 2021 1 commit
-
-
- 15 Sep, 2021 3 commits
-
-
Noah Davis authored
-
Noah Davis authored
-
Noah Davis authored
- Use a very slight gradient - Use blue for pressed state - Make shadow vertical, not diagonal - Use gray for checked buttons Some people thought blue checked buttons were pretty, but some people thought they demanded too much attention. In order to merge the changes faster, I switched to using gray for checked buttons.
-
- 14 Sep, 2021 1 commit
-
-
- 10 Aug, 2021 1 commit
-
-
- 27 Jul, 2021 1 commit
-
-
Nate Graham authored
We've gotten some feedback that radio buttons look like big creepy eyes that are staring at you. To reduce that effect, this commit makes the center dots a bit smaller.
-
- 08 Jun, 2021 7 commits
-
-
-
This fixes the application of _kde_highlight_neutral to radiobuttons and checkbuttons.
-
-
-
-
- 06 May, 2021 1 commit
-
-
Jan Blackquill authored
This property, when set, will cause menus to drop their top border + their top corner rounding.
-
- 20 Mar, 2021 1 commit
- 26 Feb, 2021 1 commit
-
-
This reverts commit 2f351fe1. We hve not yet figured out how to apply this style consistently and were unable to implement it for controls other than text fields in Plasma 5.21, so it is better to remove it for now than to have an inconsistent UI. We will re-evaluate this for Plasma 5.22. BUG: 430944 BUG: 430943 BUG: 433421 FIXED-IN: 5.21.2
-
- 02 Jan, 2021 1 commit
-
-
Jan Blackquill authored
-
- 19 Nov, 2020 1 commit
-
-
Jan Blackquill authored
-
- 18 Nov, 2020 1 commit
-
-
Fabian Vogt authored
This reverts commit 7e678c34 and the followup. A B +-----+ +-----+ C | | |XXXXX| +---+ | XXX | |X X| |XXX| | XCX | |X C X| |XCX| | XXX | |X X| |XXX| | | |XXXXX| +---+ +-----+ +-----+ Initially it was A, the referenced commit changed it to be B instead, which created a 1px gap between frame and content, and the followup avoids that gap by adjusting the frame width, resulting in C. Although it's consistent, it leads to a worse apperance in places where the 1px margin between frame and rect was expected.
-
- 11 Nov, 2020 1 commit
-
-
Michael Weghorn authored
The documentation for 'QPainter::drawRoundedRect' [1] says: "A filled rectangle has a size of rect.size(). A stroked rectangle has a size of rect.size() plus the pen width." Therefore, the frame rect passed to that method needs to be adjusted according to the pen width for the case where the rect is stroked (i.e. an outline exists), and no adjustement is needed when the rect is not stroked so that [size of rect] + [outline width] = [wanted total size] The default pen size is 1 (which is also the value of 'PenWidth::Frame' used to calculate the radius for the outline a few lines further down). For the case that an outline exists, the adjustment of the rect already happens in the call to 'Helper::strokedRect', so there is no need for reducing the rect by one additional pixel on each side, which resulted in the frame border unnecessarily not being right at the inner edge of the rect, but one additional pixel "further inside". It looks like the additional adjustment was originally added by commit 3dbcea7e ("Changed frame width to 2, to cope with focus rect.", 2014-07-30), later adapted by commit f288c34c ("Render 2px focused outline *inside* frames rather than outside", 2014-08-11) and commit 2985b4cb ("use one pixel for focus frame instead of 2", 2014-09-22). While 'Metrics::Frame_FrameWidth' still has the value 2, it is not used here at all, so the default pen width of 1 applies. Therefore, drop the extra adjustment in order for the stroke to be drawn right at the edge of the rect. [1] https://doc.qt.io/qt-5/qpainter.html#drawRoundedRect BUG: 428973
-
- 02 Oct, 2020 1 commit
-
-
Vlad Zahorodnii authored
Currently the condition in the #if directive evaluates to false (sorry for breaking it!). In order to prevent breaking Helper::isX11() in the future, this change removes the #if directive. It's okay to do so because KWindowSystem provides a platform-independent API.
-
- 28 Sep, 2020 1 commit
-
-
Jan Blackquill authored
Summary: There is now a tools area. Test Plan: {F8132249} {F8132260} (no border drawn when titlebar and content colours are the same) {F8132252} {F8132253} Reviewers: #plasma, #breeze, #vdg, hpereiradacosta, davidre, ngraham Reviewed By: #breeze, #vdg, hpereiradacosta, ngraham Subscribers: mart, maartens, abstractdevelop, IlyaBizyaev, davidre, davidedmundson, hpereiradacosta, ngraham, manueljlin, niccolove, ndavis, plasma-devel Tags: #plasma Maniphest Tasks: T10201, T11661 Differential Revision: https://phabricator.kde.org/D27669
-
- 21 Sep, 2020 1 commit
-
-
Jan Blackquill authored
BUG: 426651
-
- 17 Sep, 2020 1 commit
-
-
Vlad Zahorodnii authored
QWindow::startSystemMove() is a new feature in Qt 5.15 that provides a platform-independent way to start an interactive move operation.
-
- 10 Sep, 2020 1 commit
-
-
David Redondo authored
I was in a video call with Volker and asked him under which license the GtkUpdateIconCache is licensed.
-
- 10 Aug, 2020 1 commit
-
-
Cyril Rossi authored
Task related : Figure out a good UI for the "show which settings have been changed" feature https://phabricator.kde.org/T13008 This patch introduces a new property to allow to highlight some widgets when we want to draw user's attention on specific widgets.
-
- 29 Jul, 2020 1 commit
-
-
Noah Davis authored
Also remove some unecessary inclusions of breeze.h
-
- 24 Apr, 2020 1 commit
-
-
David Redondo authored
Summary: Caused icons to be not longer recolored when changing the color scheme until an application is started again Test Plan: Change color scheme while having an application open, icons should change color correctly Reviewers: #breeze, #plasma, ndavis Reviewed By: #breeze, ndavis Subscribers: ndavis, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D29012
-