Feed Advanced Search

Feb 3 2020

ahiemstra committed R108:665bff70e54e: Merge branch 'Plasma/5.18' (authored by ahiemstra).
Merge branch 'Plasma/5.18'
Feb 3 2020, 11:28 AM
ahiemstra closed D27114: ScreenEdge: Do not use localtime for measuring duration.
Feb 3 2020, 11:26 AM · KWin
ahiemstra committed R108:9b3d9e58a47a: ScreenEdge: Do not use localtime for measuring duration (authored by ahiemstra).
ScreenEdge: Do not use localtime for measuring duration
Feb 3 2020, 11:26 AM
ahiemstra added a comment to D27114: ScreenEdge: Do not use localtime for measuring duration.

Also, should this maybe go into 5.18?

Feb 3 2020, 11:20 AM · KWin
ahiemstra added a comment to D27114: ScreenEdge: Do not use localtime for measuring duration.

Only one comment:

abstract_client.cpp:1333 hasn't been updated

Feb 3 2020, 11:19 AM · KWin
ahiemstra updated the diff for D27114: ScreenEdge: Do not use localtime for measuring duration.
  • Add some missing fromMSecSinceEpoch
  • Use currentDateTimeUtc in tests
Feb 3 2020, 11:17 AM · KWin
ahiemstra added a comment to D27114: ScreenEdge: Do not use localtime for measuring duration.

Arguably it might even be better to completely remove the QDateTime usage here and switch to something like std::chrono::time_point or so, but that is a much more invasive change.

Feb 3 2020, 12:24 AM · KWin
ahiemstra requested review of D27114: ScreenEdge: Do not use localtime for measuring duration.
Feb 3 2020, 12:19 AM · KWin

Jan 31 2020

ahiemstra added a comment to D27027: Clip the flickable parent item.

Note that I did spend some time investigating what causes the clipping to be needed in the first place, but that looks like an issue deep in kcmshell5, which allows any kcm to be resized to below its minimum size. This also leads to issues with other KCMs like https://bugs.kde.org/show_bug.cgi?id=398797

Jan 31 2020, 2:52 PM · Kirigami
ahiemstra committed R169:dd41d57f5404: Clip the flickable parent item (authored by ahiemstra).
Clip the flickable parent item
Jan 31 2020, 2:46 PM
ahiemstra closed D27027: Clip the flickable parent item.
Jan 31 2020, 2:46 PM · Kirigami
ahiemstra committed R169:da3d41f13690: Remove header top margin from private ScrollView (authored by ahiemstra).
Remove header top margin from private ScrollView
Jan 31 2020, 2:24 PM
ahiemstra closed D27029: Remove header top margin from private ScrollView.
Jan 31 2020, 2:24 PM · Kirigami

Jan 30 2020

ahiemstra added a comment to D27027: Clip the flickable parent item.

That's because the KCM for some reason does not want to size smaller even when the kcmshell window does get smaller. This is not related to the scrollbar however, I get the same result without the scrollbar:

Jan 30 2020, 2:24 PM · Kirigami
ahiemstra updated the test plan for D27029: Remove header top margin from private ScrollView.
Jan 30 2020, 12:17 PM · Kirigami
ahiemstra requested review of D27029: Remove header top margin from private ScrollView.
Jan 30 2020, 12:13 PM · Kirigami
ahiemstra updated the test plan for D27027: Clip the flickable parent item.
Jan 30 2020, 12:01 PM · Kirigami
ahiemstra requested review of D27027: Clip the flickable parent item.
Jan 30 2020, 11:58 AM · Kirigami

Jan 29 2020

ahiemstra updated the diff for D25326: Move Plasma's SortFilterProxyModel into KItemModel's QML plugin.
  • Use QQmlParserStatus to slightly delay syncing of role names
Jan 29 2020, 5:49 PM · Frameworks
ahiemstra added inline comments to D25326: Move Plasma's SortFilterProxyModel into KItemModel's QML plugin.
Jan 29 2020, 4:22 PM · Frameworks
ahiemstra added inline comments to D25326: Move Plasma's SortFilterProxyModel into KItemModel's QML plugin.
Jan 29 2020, 3:05 PM · Frameworks
ahiemstra added a comment to D25326: Move Plasma's SortFilterProxyModel into KItemModel's QML plugin.

Something I noticed just now while trying to use this: the filterString property has disappeared. PlasmaCore.SortFilterProxy does have this. I think we should restore it, otherwise you need to manually call QSFPM::setFilterFixedString or hope that you can set it as a regular expression.

Jan 29 2020, 2:38 PM · Frameworks
ahiemstra added inline comments to D25326: Move Plasma's SortFilterProxyModel into KItemModel's QML plugin.
Jan 29 2020, 11:40 AM · Frameworks

Jan 27 2020

ahiemstra committed R858:9dfb38179ac5: Remove scrollbar related workarounds from list delegates (authored by ahiemstra).
Remove scrollbar related workarounds from list delegates
Jan 27 2020, 3:51 PM
ahiemstra closed D26686: Remove scrollbar related workarounds from list delegates.
Jan 27 2020, 3:51 PM · Plasma

Jan 19 2020

ahiemstra added a comment to D24706: [RFC] Change button style.

Or is QML's rotation property not the right property to use?

Jan 19 2020, 6:00 PM · Breeze, VDG, Plasma

Jan 18 2020

ahiemstra added a comment to D24706: [RFC] Change button style.

KScreen uses QML, so it may well be that the buttons were rotated using QML's rotation property, which does rotate the frame, since that's rendered by qqc2-desktop-style's StyleItem as a sub-part of the button.

Jan 18 2020, 4:54 PM · Breeze, VDG, Plasma

Jan 16 2020

ahiemstra added a comment to D26686: Remove scrollbar related workarounds from list delegates.

The logic for placing the scrollbar is in ScrollView already. Since the delegate no longer needs special padding, this changes the padding to the same value for left or right. We could change the padding depending on where the scrollbar is, but I don't think that would be an improvement.

Jan 16 2020, 10:57 AM · Plasma

Jan 15 2020

ahiemstra updated the test plan for D26686: Remove scrollbar related workarounds from list delegates.
Jan 15 2020, 9:48 AM · Plasma
ahiemstra requested review of D26686: Remove scrollbar related workarounds from list delegates.
Jan 15 2020, 9:46 AM · Plasma

Jan 14 2020

ahiemstra added a comment to D26655: show a thin separator between view and scrollbar.

In QQC there is an issue of overlap between item selection (and header titles) and scrollbar. Isn't that made even worth with the addition of the thin separator ?

Jan 14 2020, 3:15 PM · Plasma
ahiemstra committed R169:d4bf3ed38a9f: Expose ActionToolBar's overflow button icon name (authored by ahiemstra).
Expose ActionToolBar's overflow button icon name
Jan 14 2020, 11:58 AM
ahiemstra closed D25943: Expose ActionToolBar's overflow button icon name.
Jan 14 2020, 11:58 AM · Kirigami
ahiemstra committed R169:2829d2be5584: Use QQC2 Page as base for Kirigami Page (authored by ahiemstra).
Use QQC2 Page as base for Kirigami Page
Jan 14 2020, 11:57 AM
ahiemstra closed D26656: Use QQC2 Page as base for Kirigami Page.
Jan 14 2020, 11:57 AM · Kirigami
ahiemstra added a comment to D26586: [SystemTray] Rework system tray settings.

There should be no need to explicitly specify paddings now that D26530 has landed. But there's a bunch of workarounds that we still need to remove, so you may have some intermittent weird results.

Jan 14 2020, 11:41 AM · Plasma
ahiemstra requested review of D26656: Use QQC2 Page as base for Kirigami Page.
Jan 14 2020, 11:03 AM · Kirigami
ahiemstra committed R858:06d4bb0e6b86: ScrollView: Do not overlay scrollbars over contents (authored by ahiemstra).
ScrollView: Do not overlay scrollbars over contents
Jan 14 2020, 9:59 AM
ahiemstra closed D26530: ScrollView: Do not overlay scrollbars over contents.
Jan 14 2020, 9:58 AM · Plasma
ahiemstra updated the diff for D26530: ScrollView: Do not overlay scrollbars over contents.
  • Review comments
Jan 14 2020, 9:56 AM · Plasma

Jan 13 2020

ahiemstra added a comment to D26530: ScrollView: Do not overlay scrollbars over contents.

Also, just want to reiterate that I actually don't really care about how things look, what I care about is the amount of workarounds that are introduced by the scrollbar behaviour as it is. One current example is D26586 but I have ran into this myself when doing application development, as well as seen other people run into it. The workarounds introduced easily break, either with a different QtQuick Controls style or even with just a different widget style. Take a look at the System Settings sidebar with Oxygen for example. They also repeat code and lead to bugs due to that, like missing handling of LayoutMirroring.

Jan 13 2020, 3:36 PM · Plasma
ahiemstra added a comment to D26530: ScrollView: Do not overlay scrollbars over contents.

yes, i'm saying that the patch besides putting the separation in the frame, it also reintroduces the frame by default, which is unrelated (and i think it should be avoided)

Jan 13 2020, 3:22 PM · Plasma
awilcox awarded D26530: ScrollView: Do not overlay scrollbars over contents a Love token.
Jan 13 2020, 11:39 AM · Plasma
ahiemstra updated the test plan for D26530: ScrollView: Do not overlay scrollbars over contents.
Jan 13 2020, 11:31 AM · Plasma

Jan 11 2020

ahiemstra added a comment to D25449: Start of the new Formats KCM.

Note that the interaction model is that way because that's how the system locale works. The KCM sets a bunch of environment variables (LC_ALL and related) which Qt then uses to determine what format to use. These generally correspond to certain country formats. While in theory it might be possible to create custom locales, I have no idea how hard that is to do.

Jan 11 2020, 6:06 PM · Plasma

Jan 10 2020

ahiemstra added a comment to T12488: Use a different repo for the new version of the Breeze widget style and come up with a name for it.

Getting back to the topic of naming: I just did a real quick search for "zephyr" or "zephyr style" and could not really find anything obviously style related. Therefore I would suggest to use Zephyr as the new style name.

Jan 10 2020, 2:49 PM · VDG, Plasma, Breeze
ahiemstra added a comment to D26530: ScrollView: Do not overlay scrollbars over contents.

Also note that the intention is to have the scrollbar background match the view background. In the example case I didn't bother with any view specific styling, so it looks a little more ugly than necessary. This is what it would look like with fixed background styling:

Jan 10 2020, 2:30 PM · Plasma

Jan 8 2020

ngraham awarded D26530: ScrollView: Do not overlay scrollbars over contents a Love token.
Jan 8 2020, 11:27 PM · Plasma
ahiemstra added a comment to D26530: ScrollView: Do not overlay scrollbars over contents.

I think overlay scrollbars just cause more problems than they solve. Basically every application developer needs to account for the scrollbars, rather than just using ScrollView without bothering about it. Additionally, as mentioned, it is inconsistent with all the other views we use.

Jan 8 2020, 9:34 PM · Plasma
cfeck awarded D26530: ScrollView: Do not overlay scrollbars over contents a Love token.
Jan 8 2020, 8:11 PM · Plasma
ahiemstra added a task to D26530: ScrollView: Do not overlay scrollbars over contents: T9126: Breeze scrollbar look-and-feel unification.
Jan 8 2020, 8:10 PM · Plasma
ahiemstra added a revision to T9126: Breeze scrollbar look-and-feel unification: D26530: ScrollView: Do not overlay scrollbars over contents.
Jan 8 2020, 8:10 PM · KDE Applications, Plasma, Breeze, Kirigami, Goal: Consistency, VDG
ahiemstra updated the test plan for D26530: ScrollView: Do not overlay scrollbars over contents.
Jan 8 2020, 8:09 PM · Plasma
ahiemstra requested review of D26530: ScrollView: Do not overlay scrollbars over contents.
Jan 8 2020, 8:08 PM · Plasma
ahiemstra committed R1014:9f3a617da366: Add a page to display ActionToolBar and some of its features (authored by ahiemstra).
Add a page to display ActionToolBar and some of its features
Jan 8 2020, 7:25 PM
ahiemstra closed D25941: Add a page to display ActionToolBar and some of its features.
Jan 8 2020, 7:25 PM · Kirigami, Plasma

Jan 7 2020

ahiemstra added a comment to T7622: Support Latte Dock layout in Look N' Feel packages.

@mvourlakos Is there currently a D-Bus method for starting Latte that can be used? Asking to save myself looking around for it when I work on the Global Theme KCM Code once more.

Jan 7 2020, 10:12 AM · Plasma

Jan 5 2020

ahiemstra abandoned D26275: SourcesPage: Override contentItem of ListSectionHeader instead of relying on data property.

The bug mentioned got fixed by this (old Qt doesn't iterate over QList).

I don't see how this would make it look any different. The kirigami visible patch is indeed necessary but for an entirely different reason.

Jan 5 2020, 1:13 PM · Plasma
ahiemstra accepted D26431: Fix build of python bindings for kcolumnheadersmodel.

Silly sip :/

Jan 5 2020, 12:30 PM · Frameworks

Jan 3 2020

ahiemstra added a comment to T7622: Support Latte Dock layout in Look N' Feel packages.

Already I can see one hurdle: Non-running Latte Dock. How would we go about doing the import command best: Would we go about running latte-dock's command through the C++ system thing (usually regarded as being insecure) so it works if Latte Dock isn't running? Is there another, more secure, C++ equivalent to its "system" code to launch Latte Dock?

Jan 3 2020, 2:21 PM · Plasma
ahiemstra committed R169:8c09cfd92dbf: ActionToolBar: Only show the overflow button if there are visible items in the… (authored by ahiemstra).
ActionToolBar: Only show the overflow button if there are visible items in the…
Jan 3 2020, 10:43 AM
ahiemstra closed D26279: ActionToolBar: Only show the overflow button if there are visible items in the menu.
Jan 3 2020, 10:43 AM · Kirigami

Dec 29 2019

ahiemstra added a comment to D26275: SourcesPage: Override contentItem of ListSectionHeader instead of relying on data property.

I've created https://phabricator.kde.org/D26279 for the overflow menu.

Dec 29 2019, 7:30 PM · Plasma
ahiemstra updated the diff for D26279: ActionToolBar: Only show the overflow button if there are visible items in the menu.
  • Remove unrelated flat change
Dec 29 2019, 7:27 PM · Kirigami
ahiemstra requested review of D26279: ActionToolBar: Only show the overflow button if there are visible items in the menu.
Dec 29 2019, 7:26 PM · Kirigami
ahiemstra updated the test plan for D26275: SourcesPage: Override contentItem of ListSectionHeader instead of relying on data property.
Dec 29 2019, 4:57 PM · Plasma
ahiemstra requested review of D26275: SourcesPage: Override contentItem of ListSectionHeader instead of relying on data property.
Dec 29 2019, 4:55 PM · Plasma

Dec 19 2019

ahiemstra committed R120:66aaaf72a4df: Use a fixed icon size for the notification popup close button (authored by ahiemstra).
Use a fixed icon size for the notification popup close button
Dec 19 2019, 6:19 PM
ahiemstra closed D26093: Use a fixed icon size for the notification popup close button.
Dec 19 2019, 6:19 PM · Plasma

Dec 18 2019

ahiemstra requested review of D26093: Use a fixed icon size for the notification popup close button.
Dec 18 2019, 11:10 PM · Plasma

Dec 15 2019

ahiemstra committed R120:e7af306adcc6: Use KQuickCharts to render notification timeout as a circular progress bar (authored by ahiemstra).
Use KQuickCharts to render notification timeout as a circular progress bar
Dec 15 2019, 11:47 AM
ahiemstra closed D25993: Use KQuickCharts to render notification timeout as a circular progress bar.
Dec 15 2019, 11:47 AM · Plasma
ahiemstra committed R120:da86d1e40a1d: Restore circular progress bar in compact notification applet (authored by ahiemstra).
Restore circular progress bar in compact notification applet
Dec 15 2019, 11:46 AM
ahiemstra closed D26012: Restore circular progress bar in compact notification applet.
Dec 15 2019, 11:46 AM · Plasma
ahiemstra updated the diff for D26012: Restore circular progress bar in compact notification applet.
  • Don't show busyindicator when there are no jobs
Dec 15 2019, 11:14 AM · Plasma
ahiemstra updated the diff for D26012: Restore circular progress bar in compact notification applet.
  • Use visible to hide the busyindicator when progress > 0
Dec 15 2019, 10:46 AM · Plasma
ahiemstra updated the summary of D26012: Restore circular progress bar in compact notification applet.
Dec 15 2019, 10:31 AM · Plasma
ahiemstra requested review of D26012: Restore circular progress bar in compact notification applet.
Dec 15 2019, 10:29 AM · Plasma

Dec 14 2019

ahiemstra updated the diff for D25993: Use KQuickCharts to render notification timeout as a circular progress bar.
  • Explicitly set opacity
Dec 14 2019, 5:45 PM · Plasma
ahiemstra updated the diff for D25993: Use KQuickCharts to render notification timeout as a circular progress bar.
  • Re-add hiding behaviour on mouse over
Dec 14 2019, 5:10 PM · Plasma
ahiemstra updated the diff for D25993: Use KQuickCharts to render notification timeout as a circular progress bar.
  • Remove limiting to just showing the last 10 seconds
  • Replace ToolButton IconItem with custom to fix alignment
Dec 14 2019, 4:53 PM · Plasma
ahiemstra updated the summary of D25993: Use KQuickCharts to render notification timeout as a circular progress bar.
Dec 14 2019, 3:54 PM · Plasma
ahiemstra requested review of D25993: Use KQuickCharts to render notification timeout as a circular progress bar.
Dec 14 2019, 3:53 PM · Plasma

Dec 13 2019

ahiemstra committed R169:22d31898ae0b: Add support for custom display components to Action (authored by ahiemstra).
Add support for custom display components to Action
Dec 13 2019, 4:38 PM
ahiemstra closed D25940: Add support for custom display components to Action.
Dec 13 2019, 4:38 PM · Kirigami
ahiemstra requested review of D25943: Expose ActionToolBar's overflow button icon name.
Dec 13 2019, 10:21 AM · Kirigami
ahiemstra updated the summary of D25941: Add a page to display ActionToolBar and some of its features.
Dec 13 2019, 10:15 AM · Kirigami, Plasma
ahiemstra updated the diff for D25940: Add support for custom display components to Action.
  • Add missing @since
Dec 13 2019, 10:13 AM · Kirigami
ahiemstra updated the summary of D25940: Add support for custom display components to Action.
Dec 13 2019, 9:57 AM · Kirigami
ahiemstra updated the test plan for D25940: Add support for custom display components to Action.
Dec 13 2019, 9:54 AM · Kirigami
ahiemstra requested review of D25941: Add a page to display ActionToolBar and some of its features.
Dec 13 2019, 9:53 AM · Kirigami, Plasma
ahiemstra requested review of D25940: Add support for custom display components to Action.
Dec 13 2019, 9:47 AM · Kirigami

Dec 12 2019

ahiemstra committed R169:48177613f2ca: Remove dynamic item creation in DefaultListItemBackground (authored by ahiemstra).
Remove dynamic item creation in DefaultListItemBackground
Dec 12 2019, 4:53 PM
ahiemstra closed D25882: Remove dynamic item creation in DefaultListItemBackground.
Dec 12 2019, 4:53 PM · Kirigami

Dec 11 2019

ahiemstra requested review of D25882: Remove dynamic item creation in DefaultListItemBackground.
Dec 11 2019, 12:53 PM · Kirigami
ahiemstra closed D25879: Add an option to enable QML profiling.
Dec 11 2019, 12:46 PM · Kirigami, Plasma
ahiemstra committed R1014:693c491bc577: Add an option to enable QML profiling (authored by ahiemstra).
Add an option to enable QML profiling
Dec 11 2019, 12:46 PM
ahiemstra added inline comments to D25879: Add an option to enable QML profiling.
Dec 11 2019, 11:50 AM · Kirigami, Plasma
ahiemstra updated the diff for D25879: Add an option to enable QML profiling.
  • Actually set qml profiling to ON by default
Dec 11 2019, 11:49 AM · Kirigami, Plasma
ahiemstra requested review of D25879: Add an option to enable QML profiling.
Dec 11 2019, 11:40 AM · Kirigami, Plasma