Feed Advanced Search

Nov 14 2019

davidre added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Sorry, it doesn't work for me either. I didn't relog before testing and I guess it was still using the qdbus commands. KLauncher gets the right arguments I think:

Nov 14 2019, 8:07 AM · Spectacle

Nov 13 2019

davidre accepted D25293: Use dbus-send instead of qdbus for global shortcuts.
Nov 13 2019, 9:19 PM · Spectacle
davidre added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Shortcuts work for me. For testing make sure to install to /usr since we link our .desktop from KDE_INSTALL_FULL_APPDIR to the kglobalaccel one.

Nov 13 2019, 9:19 PM · Spectacle
davidre added a comment to D25273: Enable selecting all installed color schemes in Cuttlefish.

Also, the combobox's model appears to have duplicates for Breeze, Breeze Dark, and Breeze Light, which (correctly) don't show up in the colors KCM for me:

I think I know what's happening. Do you have Breeze installed into the same prefix as cuttlefish in addition to system breeze? After doing so I also see the duplicate color. (The same happens in Kate)

Nov 13 2019, 10:48 AM · Plasma
davidre updated the diff for D25273: Enable selecting all installed color schemes in Cuttlefish.

Load initial color scheme name from the respective .colors file

Nov 13 2019, 9:20 AM · Plasma
davidre added a comment to D25273: Enable selecting all installed color schemes in Cuttlefish.

Nice, it's good to get rid of so much boilerplate.

However when I change the system's own color scheme from Breeze to anything else and start Cuttlefish, the app itself uses that color scheme as expected, but the combobox's text is blank:

I see what's happening. I copied that code form Kate and it reads the current color scheme name from kdeglobals but there can be a difference between the stored name and the user visible name. Especially when it includes a space or hyphen. So it works correctly for Breeze or Oxygen but not Breeze Dark or Oxygen cold.

Nov 13 2019, 9:04 AM · Plasma

Nov 12 2019

davidre added inline comments to D25273: Enable selecting all installed color schemes in Cuttlefish.
Nov 12 2019, 3:43 PM · Plasma
davidre updated the summary of D25273: Enable selecting all installed color schemes in Cuttlefish.
Nov 12 2019, 3:09 PM · Plasma
davidre updated the diff for D25273: Enable selecting all installed color schemes in Cuttlefish.

Was a typo

Nov 12 2019, 3:08 PM · Plasma
davidre planned changes to D25273: Enable selecting all installed color schemes in Cuttlefish.

I somehow broke it before uploading

Nov 12 2019, 3:03 PM · Plasma
davidre added a reviewer for D25273: Enable selecting all installed color schemes in Cuttlefish: Plasma.
Nov 12 2019, 3:01 PM · Plasma
davidre requested review of D25273: Enable selecting all installed color schemes in Cuttlefish.
Nov 12 2019, 3:00 PM · Plasma
davidre added a comment to D25261: [sddm-theme] Fix initial focus after SDDM QQC2 Port.

Seems to work

Nov 12 2019, 9:19 AM · Plasma

Nov 11 2019

davidre updated the summary of D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services.
Nov 11 2019, 10:24 AM · Plasma
davidre updated the diff for D25086: Port to KGlobalAccel.

QLatin1String

Nov 11 2019, 10:13 AM · Plasma

Nov 9 2019

davidre added a comment to T12001: Phabrikator is losing ownership on contributions.

In fact in the first diff you linked you are set correctly as the author in the commit but not the second one.

Nov 9 2019, 4:38 PM · Phabricator
davidre updated subscribers of T12001: Phabrikator is losing ownership on contributions.

That's probably because @drosca committed those for you and didn't set you as the author.

Nov 9 2019, 4:36 PM · Phabricator
davidre updated the diff for D23316: Port towards KConfig XT.

Use real file

Nov 9 2019, 2:35 PM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

Rebase

Nov 9 2019, 2:20 PM · Spectacle

Nov 8 2019

davidre updated the summary of D25086: Port to KGlobalAccel.
Nov 8 2019, 8:22 PM · Plasma
davidre retitled D25086: Port to KGlobalAccel from [WIP] Port to KGlobalAccel to Port to KGlobalAccel.
Nov 8 2019, 8:22 PM · Plasma
davidre updated the diff for D25086: Port to KGlobalAccel.

update application for migration based on the one I did for spectacle

Nov 8 2019, 8:21 PM · Plasma

Nov 6 2019

davidre added a comment to T2050: sunsetting KHotKeys.

Konsole still uses khotkeys (updatescript can be adapted from D19310 and D25086 since it writes itself into the kmenuedit group)

Nov 6 2019, 1:54 PM · Plasma
davidre committed R120:b84075fad3fc: Merge branch 'Plasma/5.17' (authored by davidre).
Merge branch 'Plasma/5.17'
Nov 6 2019, 10:05 AM
davidre committed R120:d0df800b46f9: [Slideshow] Reenable other modes (authored by davidre).
[Slideshow] Reenable other modes
Nov 6 2019, 10:03 AM
davidre closed D25157: [Slideshow] Reenable other modes.
Nov 6 2019, 10:03 AM · Plasma
davidre added a comment to D25086: Port to KGlobalAccel.

For me it seems ok

Did you finish it ? is it work ? or still in progress ?

Shortcut setting and displaying works so far in my testing.
I still need to do the migration of existing shortcuts otherwise if user had set a shortcut though kmenuedit before it wouldn't be displayed in kmenuedit (although it would be functional).

Nov 6 2019, 10:02 AM · Plasma
davidre moved T11982: Deprecate KRandom in favor of QRandomGenerator from Backlog to Needs Input on the KF6 board.
Nov 6 2019, 9:45 AM · KF6
davidre added a comment to T11982: Deprecate KRandom in favor of QRandomGenerator.

Or maybe some things could be dropped if there is an equivalent feature in the standard.

Nov 6 2019, 9:43 AM · KF6
davidre added a subtask for T11551: use C++ modern features: T11982: Deprecate KRandom in favor of QRandomGenerator.
Nov 6 2019, 9:42 AM · KF6
davidre added a parent task for T11982: Deprecate KRandom in favor of QRandomGenerator: T11551: use C++ modern features.
Nov 6 2019, 9:42 AM · KF6
davidre created T11982: Deprecate KRandom in favor of QRandomGenerator.
Nov 6 2019, 9:42 AM · KF6

Nov 5 2019

davidre updated the summary of D25157: [Slideshow] Reenable other modes.
Nov 5 2019, 10:54 AM · Plasma
davidre requested review of D25157: [Slideshow] Reenable other modes.
Nov 5 2019, 10:54 AM · Plasma
davidre updated the diff for D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services.
  • const
  • System services
Nov 5 2019, 9:02 AM · Plasma

Nov 4 2019

davidre added a comment to D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services.

Hmm, I think that would be confusing. "Session" isn't the name of any user-facing applications. That stuff is really a part of Plasma, both technically speaking, and also in terms of the user expectation. Is there any way we could force it to live in the Plasma/System Services section?

Nov 4 2019, 8:54 PM · Plasma
davidre added a comment to D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services.

However I see a problem with changing "Application Launchers" to "Applications": It implies that the items in that category will give you access to change all the shortcuts for those applications, which it does not do. If we want to make this change, I think we'd need to actually put all of each app's shortcuts into its item in that list, assuming that's possible.

I don't think that's implied when the Settings page is titled "Global Shortcuts". The category is about about global shortcuts that relate to Application.

All right, I suppose that makes sense.

Also note that it will be an improvement when eventually more shortcuts are moved to desktop files. For example the "Lock Session" shortcut would end up in "Application Launchers" with D24877.

Under which entry? That seems odd.

The user facing name which would be Session. As I wrote the current code only looks if the component name ends with .desktop so you would have "Session" inside "Application Launchers".

Nov 4 2019, 8:14 PM · Plasma
davidre added a comment to D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services.

However I see a problem with changing "Application Launchers" to "Applications": It implies that the items in that category will give you access to change all the shortcuts for those applications, which it does not do. If we want to make this change, I think we'd need to actually put all of each app's shortcuts into its item in that list, assuming that's possible.

I don't think that's implied when the Settings page is titled "Global Shortcuts". The category is about about global shortcuts that relate to Application.
Also note that it will be an improvement when eventually more shortcuts are moved to desktop files. For example the "Lock Session" shortcut would end up in "Application Launchers" with D24877.

Nov 4 2019, 8:05 PM · Plasma
davidre added a reviewer for D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services: Plasma.
Nov 4 2019, 6:07 PM · Plasma
davidre requested review of D25144: [RFC][Global Shortcuts KCM] Categorize into Applications and System Services.
Nov 4 2019, 6:04 PM · Plasma
davidre updated the diff for D25086: Port to KGlobalAccel.

Thanks for spotting!

Nov 4 2019, 3:10 PM · Plasma

Oct 31 2019

davidre added a comment to D25100: Mark all wallpaper plugins as addons.

I don't know how Discover works but to me looks the wrong fix. Does every third party wallpaper then also need to have a name with plasma in it?
In my opinion ServiceType Plasma/Wallpaper should be enough for a Service as add-on and not having plasma in it's name.

Oct 31 2019, 11:34 PM · Plasma
davidre added inline comments to D25088: Use X-KDE-NoGlobalShortcut instead of NoDisplay to store that a component is disabled.
Oct 31 2019, 2:32 PM · Frameworks
davidre added inline comments to D25086: Port to KGlobalAccel.
Oct 31 2019, 1:54 PM · Plasma
davidre updated the diff for D25086: Port to KGlobalAccel.
  • comments
Oct 31 2019, 1:13 PM · Plasma
davidre added inline comments to D25086: Port to KGlobalAccel.
Oct 31 2019, 12:54 PM · Plasma
davidre updated the diff for D25086: Port to KGlobalAccel.
  • Don't delete disabled
  • Remove guards
Oct 31 2019, 12:54 PM · Plasma
davidre added a revision to T2050: sunsetting KHotKeys: D25086: Port to KGlobalAccel.
Oct 31 2019, 10:47 AM · Plasma
davidre added a task to D25086: Port to KGlobalAccel: T2050: sunsetting KHotKeys.
Oct 31 2019, 10:47 AM · Plasma
davidre added reviewers for D25086: Port to KGlobalAccel: Plasma, davidedmundson.
Oct 31 2019, 10:47 AM · Plasma
davidre requested review of D25086: Port to KGlobalAccel.
Oct 31 2019, 10:46 AM · Plasma

Oct 30 2019

davidre added a comment to T2050: sunsetting KHotKeys.

One place where we still use khotkeys in plasma is in kmenuedit but that should be easily ported to GlobalAccel

Oct 30 2019, 1:16 PM · Plasma
davidre added a project to T2050: sunsetting KHotKeys: KF6.

As mentioned in T11567, we probably don't want to port khotkeys

Oct 30 2019, 1:16 PM · Plasma
davidre added a comment to T11535: Organize 2019 KF6 sprint.

Count me in!

Oct 30 2019, 12:03 PM · KF6
davidre added a comment to T11535: Organize 2019 KF6 sprint.

Will arrival and depature be at 22 and 24 or before/after?

Oct 30 2019, 9:53 AM · KF6

Oct 29 2019

davidre accepted D24985: [wallpapers/image] Seed random number generator.

I think this is fine. Imo we can address the comments on master

Oct 29 2019, 6:03 PM · Plasma
davidre accepted D24986: [wallpapers/image] Randomise new batches of images in the slideshow.
Oct 29 2019, 6:02 PM · Plasma
davidre committed R296:7ede04501eda: Grab the keyboard when KeySequenceItem is recording (authored by davidre).
Grab the keyboard when KeySequenceItem is recording
Oct 29 2019, 10:06 AM
davidre closed D24736: Grab the keyboard when KeySequenceItem is recording.
Oct 29 2019, 10:06 AM · Frameworks

Oct 28 2019

davidre added a comment to D24736: Grab the keyboard when KeySequenceItem is recording.

Ping

Oct 28 2019, 1:58 PM · Frameworks
davidre added a comment to D24986: [wallpapers/image] Randomise new batches of images in the slideshow.

To clarify my comment refers to

The logic is fine but if we start with 0 wallpapers and then add 20 newones we don't shuffle anything.

For the other cases shuffling the added images is probably the right thing

Oct 28 2019, 9:46 AM · Plasma
davidre added a comment to D24986: [wallpapers/image] Randomise new batches of images in the slideshow.

Are you sure? Shouldn't we be hitting this case:
https://cgit.kde.org/plasma-workspace.git/tree/wallpapers/image/image.cpp#n773 ?

Oct 28 2019, 8:33 AM · Plasma

Oct 26 2019

davidre added a comment to D24956: Consider desktop files with NoDisplay attribute.

For reference here is the relevant part in the kcm
https://cgit.kde.org/plasma-desktop.git/tree/kcms/keys/kglobalshortcutseditor.cpp#n176

Oct 26 2019, 2:27 PM · Frameworks
davidre added a comment to D24956: Consider desktop files with NoDisplay attribute.

I think you have also to check the the kcm as i also saw some nodisplay there.
Also it seems kglobalaccel uses nodisplay when a component is disabled. https://cgit.kde.org/kglobalaccel.git/tree/src/runtime/kserviceactioncomponent.cpp#n144

Oct 26 2019, 8:21 AM · Frameworks

Oct 23 2019

davidre added a comment to D24877: RFC: Move shortcuts out of ksmserver into kglobalaccel.

We would need some way to hide the default _launch entry

I don't think that is a problem. I think we could wrap https://cgit.kde.org/kglobalaccel.git/tree/src/runtime/kserviceactioncomponent.cpp#n119 in an if and only register _launch if the [Desktop Entry] has an Exec line?

Oct 23 2019, 3:04 PM · Plasma
davidre committed R871:8b8f813620b5: Report windowing system (authored by davidre).
Report windowing system
Oct 23 2019, 2:46 PM
davidre closed D24890: Report windowing system.
Oct 23 2019, 2:46 PM · Plasma
davidre updated the diff for D24890: Report windowing system.

report Unknown

Oct 23 2019, 2:26 PM · Plasma
davidre added a comment to T7622: Support Latte Dock layout in Look N' Feel packages.

Started working on a patch for the Latte Dock layout specifying part at least. Is there a DBus Signal I can use for cleanly quitting Latte so that Look & Feels can also specify to not have Latte running at all?

Oct 23 2019, 1:59 PM · Plasma
davidre added inline comments to D24890: Report windowing system.
Oct 23 2019, 1:47 PM · Plasma
davidre updated the summary of D24890: Report windowing system.
Oct 23 2019, 1:36 PM · Plasma
davidre added a reviewer for D24890: Report windowing system: sitter.
Oct 23 2019, 1:35 PM · Plasma
davidre requested review of D24890: Report windowing system.
Oct 23 2019, 1:35 PM · Plasma

Oct 22 2019

davidre added a comment to T7267: Global Shortcuts.

I started rewriting the KCM because I was annoyed at the inconsistency of the list representation (even though I fixed that in the meantime). I am going for the backend model in C++ with a Qml frontend approach.
What works:

  • Displaying the components, actions and shortcuts
  • Global filtering: Hiding of components that don't match the entered query and don't have actions or shortcuts that do either

To Do:

  • Setting shortcuts
  • the whole scheme thing
  • Performance: My hacked together qml seems to do be a bit slow sometimes (but maybe only because of debugging or having gammaray attached?)
Oct 22 2019, 5:48 PM · Plasma: KCM Redesign

Oct 21 2019

davidre committed R120:a621bfef8f6f: Merge branch 'Plasma/5.17' (authored by davidre).
Merge branch 'Plasma/5.17'
Oct 21 2019, 9:32 AM
davidre committed R120:a1cf305ffb21: Fix slideshow crashing in invalidate() (authored by davidre).
Fix slideshow crashing in invalidate()
Oct 21 2019, 8:51 AM
davidre closed D24723: Fix slideshow crashing in invalidate().
Oct 21 2019, 8:51 AM · Plasma

Oct 19 2019

davidre committed R124:a81d0ca787d7: Draw categories in iconview in a similiar style as Kirigami and new… (authored by davidre).
Draw categories in iconview in a similiar style as Kirigami and new…
Oct 19 2019, 3:35 PM
davidre closed D24533: Draw categories in iconview in a similiar style as Kirigami and new KCategoryDrawer.
Oct 19 2019, 3:35 PM · Plasma
davidre committed R276:974a3ad18c05: [RFC] Unify style of new Kirigami.ListSectionHeader and CategoryDrawer (authored by davidre).
[RFC] Unify style of new Kirigami.ListSectionHeader and CategoryDrawer
Oct 19 2019, 3:35 PM
davidre closed D24453: [RFC] Unify style of new Kirigami.ListSectionHeader and CategoryDrawer.
Oct 19 2019, 3:35 PM · Frameworks
davidre updated the diff for D24723: Fix slideshow crashing in invalidate().

Build the new order only after setting the source model.
In invalidate just shuffling is enough.

Oct 19 2019, 3:27 PM · Plasma
davidre updated the diff for D24723: Fix slideshow crashing in invalidate().

Like this?
I also changed the condition in image.cpp otherwise the order wouldn't have been random on the first run with these changes.

Oct 19 2019, 3:07 PM · Plasma

Oct 17 2019

davidre added inline comments to D24723: Fix slideshow crashing in invalidate().
Oct 17 2019, 5:14 PM · Plasma
davidre updated the diff for D24736: Grab the keyboard when KeySequenceItem is recording.

Whitespace

Oct 17 2019, 2:14 PM · Frameworks
davidre updated the diff for D24736: Grab the keyboard when KeySequenceItem is recording.
  • Make helper a qquickitem instead
Oct 17 2019, 2:12 PM · Frameworks
davidre added a reviewer for D24736: Grab the keyboard when KeySequenceItem is recording: Frameworks.
Oct 17 2019, 1:59 PM · Frameworks
davidre requested review of D24736: Grab the keyboard when KeySequenceItem is recording.
Oct 17 2019, 1:59 PM · Frameworks
davidre updated the diff for D24723: Fix slideshow crashing in invalidate().

Simplify the logic. In configmode we don't need the random order. We just
use the order of the underlying model.

Oct 17 2019, 9:41 AM · Plasma
davidre updated the diff for D24723: Fix slideshow crashing in invalidate().

Need rebuild here, rowCount could have changed

Oct 17 2019, 9:23 AM · Plasma
davidre requested review of D24723: Fix slideshow crashing in invalidate().
Oct 17 2019, 9:15 AM · Plasma

Oct 12 2019

davidre added a comment to T11637: KIconThemes Cleanups.

Is there an alternative API for listing installed icon themes? I added functionality to Cuttlefish that uses this and the KCM may use it?

Oct 12 2019, 4:20 PM · KF6

Oct 10 2019

davidre added reviewers for D24533: Draw categories in iconview in a similiar style as Kirigami and new KCategoryDrawer: Plasma, VDG.
Oct 10 2019, 1:30 PM · Plasma
davidre requested review of D24533: Draw categories in iconview in a similiar style as Kirigami and new KCategoryDrawer.
Oct 10 2019, 1:28 PM · Plasma
davidre committed R166:39e507ae1642: Merge branch 'Applications/19.08' (authored by davidre).
Merge branch 'Applications/19.08'
Oct 10 2019, 10:22 AM
davidre committed R166:34484c935c5c: Make all buttons in the main window activatable with enter (authored by davidre).
Make all buttons in the main window activatable with enter
Oct 10 2019, 10:21 AM
davidre closed D24508: Make all buttons in the main window activatable with enter.
Oct 10 2019, 10:21 AM · Spectacle
davidre updated the diff for D24508: Make all buttons in the main window activatable with enter.

add comment

Oct 10 2019, 10:16 AM · Spectacle

Oct 9 2019

davidre added a comment to D24453: [RFC] Unify style of new Kirigami.ListSectionHeader and CategoryDrawer.

+1. Can you do the same thing for the similar header that's seen in System Settings' icon view?

Oct 9 2019, 5:13 PM · Frameworks
davidre added a comment to D24508: Make all buttons in the main window activatable with enter.

This works, though I'll admit that the custom event filter makes me a bit queasy. Feels kind of like hacking around something that wasn't implemented the right way in the first place (i.e. using a QDialog and QDialogButtonBox). Is porting away from that stuff even worse?

I tried making it a QWidget but then no button was reacting to enter and we would lose close-on-esc which we would then have to implement ourselves. Hey it's, not *that* bad ;). It's an only an handler and not a filter for another widget.
Maybe someone with more experience has another idea? Or we concede that no button can be activated with Enter only with Space.

Also is there a reason why we can't use only PushButtons in the main window? I was surprised to discover that half of them were ToolButtons when I went digging into the code, because they all *look* like PushButtons.

I didn't wrote the code but the obvious reason would be that one can assign actions to ToolButtons. Here it is used with KStandardActions and I use it for the screenshot button to switch easily between states.

Oct 9 2019, 5:11 PM · Spectacle