Plasma Framework and Kirigami unittests

2021-01-02 Thread David Faure
EQt514/autotests/tst_avatar_qml/ I think that one is for Carson Black, CC'ed. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

KRunProxy

2020-06-06 Thread David Faure
/search?_filestring=*.qml&_string=KRun Am I doing this wrong? Are there other file extensions to take into consideration? If not, can I deprecate KRunProxy? -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

D29687: [IconApplet] Port KRun to ApplicationLauncherJob

2020-05-17 Thread David Faure
dfaure added inline comments. INLINE COMMENTS > iconapplet.cpp:52 > #include > +#include > #include You're not using that class, are you? REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D29687 To: ahmadsamir, #plasma, broulik, dfaure Cc: dfaure, ngraham,

D29687: [IconApplet] Port KRun to ApplicationLauncherJob

2020-05-17 Thread David Faure
dfaure accepted this revision. dfaure added a comment. KServiceFactory::findServiceByStorageId falls back to "new KService" if it can't find the storageId in ksycoca. So yes it worked, but it's kind of pointless (and confusing) to call it just to go to the new KService fallback, better do

D27203: Don't try to open files we can't figure out where they are

2020-05-11 Thread David Faure
dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > kdeplatformfiledialoghelper.cpp:226 > +//passing non-local files as the working directory is not supported. > +//See

D29125: lookandfeel kcm: port from KRun::runApplication to KIO::ApplicationLauncherJob

2020-05-10 Thread David Faure
dfaure closed this revision. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D29125 To: dfaure, broulik, ngraham, crossi, mart, davidedmundson Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham,

D29125: lookandfeel kcm: port from KRun::runApplication to KIO::ApplicationLauncherJob

2020-05-10 Thread David Faure
dfaure added a comment. ping? REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D29125 To: dfaure, broulik, ngraham, crossi, mart Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf,

D29601: Port KRun::runApplication to ApplicationLauncherJob

2020-05-10 Thread David Faure
dfaure closed this revision. REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D29601 To: dfaure, broulik Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai,

D29601: Port KRun::runApplication to ApplicationLauncherJob

2020-05-10 Thread David Faure
dfaure created this revision. dfaure added a reviewer: broulik. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. TEST PLAN Builds REPOSITORY R856 Plasma Browser Integration BRANCH master REVISION DETAIL

D28321: [WIP] [applets/devicenotifier] Port to ExpandableListItem

2020-04-30 Thread David Faure
dfaure added inline comments. INLINE COMMENTS > broulik wrote in DeviceItem.qml:34 > This is all over the place for me. All the free space jobs in the dataengine > get the root size back. Not sure if a local issue or KIO? @dfaure Please give me a proper bug report in KIO terms :-) What class

D29226: [ksmserver] Use CommandLauncherJob for restoring applications

2020-04-27 Thread David Faure
dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > server.cpp:134 > +for ( int i=1; i < n; i++) > + argList.append( command[i]); > +auto *job = new KIO::CommandLauncherJob(app, argList);

D28988: Port hotplug from KRun::runCommand to CommandLauncherJob.

2020-04-23 Thread David Faure
dfaure closed this revision. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D28988 To: dfaure, davidedmundson, sitter, broulik Cc: broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham,

D29125: lookandfeel kcm: port from KRun::runApplication to KIO::ApplicationLauncherJob

2020-04-23 Thread David Faure
dfaure created this revision. dfaure added reviewers: broulik, ngraham, crossi, mart. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REVISION SUMMARY I used the dialog ui delegate because this is a KCM, even though it seems

D28988: Port hotplug from KRun::runCommand to CommandLauncherJob.

2020-04-23 Thread David Faure
dfaure updated this revision to Diff 80969. dfaure added a comment. Use KNotificationJobUiDelegate REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28988?vs=80566=80969 BRANCH arcpatch-D28988 REVISION DETAIL https://phabricator.kde.org/D28988

D28988: Port hotplug from KRun::runCommand to CommandLauncherJob.

2020-04-23 Thread David Faure
dfaure updated this revision to Diff 80970. dfaure added a comment. Remove question from commit message REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28988?vs=80969=80970 BRANCH arcpatch-D28988 REVISION DETAIL

D29124: Port all KRun::runService/runApplication to KIO/ApplicationLauncherJob

2020-04-23 Thread David Faure
dfaure added inline comments. INLINE COMMENTS > broulik wrote in appentry.cpp:42 > Looks unused now? No there's a KRun::run in this file. I only ported runService/runApplication in this commit. > broulik wrote in recentusagemodel.cpp:44 > Unused? There's a `new KRun` in this file.

D29124: Port all KRun::runService/runApplication to KIO/ApplicationLauncherJob

2020-04-23 Thread David Faure
dfaure closed this revision. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D29124 To: dfaure, broulik, davidedmundson Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf,

D28990: Port quicklaunch from KRun::run to CommandLauncherJob

2020-04-23 Thread David Faure
dfaure closed this revision. REPOSITORY R114 Plasma Addons REVISION DETAIL https://phabricator.kde.org/D28990 To: dfaure, drosca, davidedmundson, broulik Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf,

D29124: Port all KRun::runService/runApplication to KIO/ApplicationLauncherJob

2020-04-23 Thread David Faure
dfaure created this revision. dfaure added reviewers: broulik, davidedmundson. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REVISION SUMMARY And use KNotificationJobUiDelegate in case of errors TEST PLAN Untested other

D28990: Port quicklaunch from KRun::run to CommandLauncherJob

2020-04-22 Thread David Faure
dfaure added a comment. OK, that's above my head. Shall I push this or you'll rework it all? I just want to be able to deprecated KRun::run and friends :) REPOSITORY R114 Plasma Addons REVISION DETAIL https://phabricator.kde.org/D28990 To: dfaure, drosca, davidedmundson, broulik

D28988: Port hotplug from KRun::runCommand to CommandLauncherJob.

2020-04-19 Thread David Faure
dfaure added a comment. As it is currently implemented, CommandLauncherJob is very unlikely to ever fail. It doesn't even fail on non-existing executable in the command (because it delegates to bash) so apart from QProcess cannot fork, it never fails. Probably not worth doing something

D28990: Port quicklaunch from KRun::run to CommandLauncherJob

2020-04-19 Thread David Faure
dfaure updated this revision to Diff 80586. dfaure added a comment. Use KNotificationJobUiDelegate REPOSITORY R114 Plasma Addons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28990?vs=80568=80586 BRANCH master REVISION DETAIL https://phabricator.kde.org/D28990 AFFECTED

D28990: Port quicklaunch from KRun::run to CommandLauncherJob

2020-04-19 Thread David Faure
dfaure added a comment. Agreed about notification delegate, will do. Does this really use KServiceAction anywhere? I don't see that. Confusing this one and D28988 ? [which however can't use the KServiceAction because of special support for %D and

D28990: Port quicklaunch from KRun::run to CommandLauncherJob

2020-04-19 Thread David Faure
dfaure created this revision. dfaure added reviewers: drosca, davidedmundson, broulik. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. TEST PLAN Builds, but untested. REPOSITORY R114 Plasma Addons BRANCH master REVISION

D28988: Port hotplug from KRun::runCommand to CommandLauncherJob.

2020-04-19 Thread David Faure
dfaure created this revision. dfaure added reviewers: davidedmundson, sitter. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REVISION SUMMARY Is there a better way to report error from this code than the dialog box that KRun

D28649: [Notifications] Port to upstream QConcatenateTablesProxyModel

2020-04-19 Thread David Faure
dfaure added a comment. Wait, even if the jobs model is empty (no rows), what's its columnCount()? If that's fixed, then it should all be fine. Maybe my analysis (and testcase) is incorrect. Can you check the columnCount() of the Concat model? I assume the notifications model

D28649: [Notifications] Port to upstream QConcatenateTablesProxyModel

2020-04-19 Thread David Faure
dfaure added a comment. OK I see why this is happening. KConcatenateProxyModel's columnCount is the number of columns of the first source model. Which leads to strange things if other models have less columns. QConcatenateProxyModel takes the smallest number of columns of all source

Re: Fwd: KDE CI: Administration » Dependency Build Plasma stable-kf5-qt5 FreeBSDQt5.14 - Build # 7 - Still Failing!

2020-04-18 Thread David Faure
On Saturday, April 18, 2020 5:06:43 PM CEST Friedrich W. H. Kossebau wrote: > Am Samstag, 18. April 2020, 16:26:57 CEST schrieb David Faure: > > On Saturday, April 18, 2020 7:09:25 AM CEST Ben Cooksley wrote: > > > Hi all, > > > > > > Please see below - any i

Re: Fwd: KDE CI: Administration » Dependency Build Plasma stable-kf5-qt5 FreeBSDQt5.14 - Build # 7 - Still Failing!

2020-04-18 Thread David Faure
y Jazeix in commit 220a959bf150966f807ed. Cheers, David. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

D28383: Add PageRouter component

2020-04-18 Thread David Faure
dfaure added a comment. The unittest in this commit appears to break in CI.

D28134: Add ColorUtils

2020-04-08 Thread David Faure
dfaure added a comment. Breaks compilation with Qt 5.13 too. /data/kde/src/5/frameworks/kirigami/src/kirigamiplugin.cpp:248:122: error: invalid user-defined conversion from ‘KirigamiPlugin::registerTypes(const char*)::’ to ‘QObject* (*)(QQmlEngine*, QJSEngine*)’ [-fpermissive]

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-04-04 Thread David Faure
dfaure added a comment. That wouldn't work either, you need to be able to choose between a Notification delegate, a Dialog delegate (which lives in a different library due to the QtWidgets dependency), and some more. REPOSITORY R119 Plasma Desktop REVISION DETAIL

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-04-04 Thread David Faure
dfaure added a comment. That would save only one line (the call to setUiDelegate). I prefer my earlier suggestion: job->setUiDelegate(new KNotificationJobUiDelegate(KJobUiDelegate::AutoErrorHandlingEnabled)); That one alone would save 2 lines ;) REPOSITORY R119 Plasma Desktop

D28512: Port Konsole and Kate runners and dataengine away from KToolInvocation

2020-04-02 Thread David Faure
dfaure added a comment. > I kinda feel CommandLauncherJob should have a QString executable, QStringList args constructor so I don't have to escape things myself? Sounds good, excellent idea. This would simplify the code in many callers. Please add :) It still needs to support the

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-03-29 Thread David Faure
dfaure added a comment. In D28286#637346 , @anthonyfieroni wrote: > Even 1200 is not problem to me. We seem to have very different opinions on good API design. REPOSITORY R119 Plasma Desktop REVISION DETAIL

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-03-28 Thread David Faure
dfaure added a comment. Why not -> because it just doesn't scale. 30 jobs * 4 delegates = 120 wrapper methods... REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D28286 To: broulik, #plasma, hein, dfaure Cc: anthonyfieroni, plasma-devel, Orage, LeGast00n,

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-03-28 Thread David Faure
dfaure added a comment. I don't think we want to have wrapper functions in KIO for all combinations of jobs and delegates. There are many of each. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D28286 To: broulik, #plasma, hein, dfaure Cc: anthonyfieroni,

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-03-28 Thread David Faure
dfaure added a comment. Alternatively I'm wondering if we should add constructors to the delegates that take some AutoErrorHandlingEnabled enum value, then it can become something like auto *job = new KIO::ApplicationLauncherJob(service); job->setUiDelegate(new

D28286: [Task Manager] Port backend to ApplicationLauncherJob

2020-03-28 Thread David Faure
dfaure accepted this revision. dfaure added a comment. This revision is now accepted and ready to land. Looks good to me, but please wait until D28367 and D28268 land, since they change the API of

D28347: Port services and shell runner away from KRun

2020-03-28 Thread David Faure
dfaure added a comment. Looks good to me, but please wait until D28367 and D28268 land, since they change the API of ApplicationLauncherJob for KServiceAction. I do not think

D28286: WIP: [Task Manager] Port backend to ApplicationLauncherJob

2020-03-25 Thread David Faure
dfaure added inline comments. INLINE COMMENTS > backend.cpp:178 > +auto *job = new KIO::ApplicationLauncherJob(service, > serviceAction); > +// TODO uidelegate > +job->start(); Only if you like messageboxes. Plasma code might prefer something else? A

D28079: [keditfiletype] Prevent removing the "main" glob pattern for mime types

2020-03-21 Thread David Faure
dfaure added a comment. I wrote QMimeDatabase, and my only intent was to move the main glob to be first. Not to prevent people from removing it. So this is a Qt bug. REPOSITORY R126 KDE CLI Utilities REVISION DETAIL https://phabricator.kde.org/D28079 To: ahmadsamir, #plasma, dfaure,

Re: 2 kirigami fixes for a point release

2020-03-20 Thread David Faure
e in > other frameworks. Thanks for noticing (and for the nice git command line!). I'm going to ask more directly than the other David dares doing... @Marco, can you please start using phabricator for all your commits, so that they get reviewed? -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

D27954: appstreamrunner: Port to KApplicationTrader

2020-03-11 Thread David Faure
dfaure accepted this revision. dfaure added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > appstreamrunner.cpp:102 > +return true; > +} else { > +const auto renamedFrom = >

D27954: appstreamrunner: Port to KApplicationTrader

2020-03-11 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. Cool to see KApplicationTrader being used :-) INLINE COMMENTS > appstreamrunner.cpp:96 > + > +if (service->desktopEntryName() == componentId) > +

Re: 2 kirigami fixes for a point release

2020-02-16 Thread David Faure
ss that QtQuick doesn't make it easy, but that's part of the problem...). -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

Re: 2 kirigami fixes for a point release

2020-02-13 Thread David Faure
gt; That's an easy thing to enforce, and we know it makes a huge difference to > code. > > Even if no-one comments, the extra delay of it running on your own > system delivers a lot. I fully agree. (CC'ing the developer lists) -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

D24238: Port the pager applet away from QtWidgets

2019-12-14 Thread David Faure
dfaure added a comment. Ah, right. Thanks. REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D24238 To: davidedmundson, hein, apol, dfaure Cc: ognarb, broulik, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham,

D24238: Port the pager applet away from QtWidgets

2019-12-13 Thread David Faure
dfaure added a comment. Fix pushed https://commits.kde.org/plasma-desktop/2b5e86323f180f0c51ef9af898a69a522bc379ad after the bug reporter confirmed it fixes the bug. Reopening this after it was committed is a bit weird. I can't close it, please do. REPOSITORY R119 Plasma Desktop

D24238: Port the pager applet away from QtWidgets

2019-12-13 Thread David Faure
dfaure added a comment. Further research leads to this possible patch http://www.davidfaure.fr/2019/windowmodel.cpp.diff REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D24238 To: dfaure, hein, apol Cc: ognarb, broulik, plasma-devel, LeGast00n,

D24238: Port the pager applet away from QtWidgets

2019-12-11 Thread David Faure
dfaure added a comment. Oh I see. Is there a non-deprecated method to get the overall geometry of all screens combined, or do we need to iterate over the list of screens? Surprising that this doesn't seem to be anywhere in the API !? REPOSITORY R119 Plasma Desktop REVISION

D24238: Port the pager applet away from QtWidgets

2019-11-25 Thread David Faure
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit R119:674dd5f7e090: Port the pager applet away from QtWidgets (authored by dfaure). REPOSITORY R119 Plasma Desktop

D25488: kwayland-integration: fix compilation with no-deprecated build of kwindowsystem

2019-11-23 Thread David Faure
dfaure added a comment. Thanks for the idea, done in https://commits.kde.org/kwayland-integration/3ce73d56ca5364242be3eb7cb1b5c4f5eaf47196 REPOSITORY R130 Frameworks integration plugin using KWayland REVISION DETAIL https://phabricator.kde.org/D25488 To: dfaure, kossebau, jriddell,

D25488: kwayland-integration: fix compilation with no-deprecated build of kwindowsystem

2019-11-23 Thread David Faure
dfaure closed this revision. REPOSITORY R130 Frameworks integration plugin using KWayland REVISION DETAIL https://phabricator.kde.org/D25488 To: dfaure, kossebau, jriddell, davidedmundson Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot,

D25488: kwayland-integration: fix compilation with no-deprecated build of kwindowsystem

2019-11-23 Thread David Faure
dfaure created this revision. dfaure added reviewers: kossebau, jriddell, davidedmundson. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REVISION SUMMARY I build kwindowsystem with -DEXCLUDE_DEPRECATED_BEFORE_AND_AT=5.62.0,

D24996: Create directory when saving the menu file

2019-10-28 Thread David Faure
dfaure accepted this revision. dfaure added a comment. This revision is now accepted and ready to land. Thanks for the fix! REPOSITORY R103 KMenu Editor REVISION DETAIL https://phabricator.kde.org/D24996 To: wbauer, dfaure Cc: dfaure, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh,

D13360: Touchpad KDED module: Convert to JSON metadata

2019-10-26 Thread David Faure
dfaure added a comment. I didn't fully follow this saga, but AFAICS this patch was reverted (commit 3432c3342b1f801 , bug 395622), so we still rely on desktop files to load the touchpad kded module. Can this patch

D24810: Ensure defintion of XDG_DATA_DIRS

2019-10-25 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. Please make sure the first line of the commit log says CONFIG and not DATA, too (the phab title still says DATA). INLINE COMMENTS > startplasma.cpp:197 > +if

D24810: Ensure defintion of XDG_DATA_DIRS

2019-10-20 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. Bug in the commit log: s/ also make XDG_DATA_DIRS/ also make XDG_CONFIG_DIRS/ INLINE COMMENTS > startplasma.cpp:195 > } > + // Additionally also set default value for

D24255: [startplasma] don't set QT_AUTO_SCREEN_SCALE_FACTOR with Qt >= 5.14

2019-09-27 Thread David Faure
dfaure closed this revision. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D24255 To: dfaure, apol, davidedmundson Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai,

D24255: [startplasma] don't set QT_AUTO_SCREEN_SCALE_FACTOR with Qt >= 5.14

2019-09-26 Thread David Faure
dfaure created this revision. dfaure added a reviewer: apol. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REVISION SUMMARY It gives the following runtime warning: Warning: QT_AUTO_SCREEN_SCALE_FACTOR is deprecated.

D24238: Port the pager applet away from QtWidgets

2019-09-26 Thread David Faure
dfaure added inline comments. INLINE COMMENTS > broulik wrote in windowmodel.cpp:81 > Isn't that the combined geometry of all screens, not just a single screen? Oh indeed. But then this was the wrong thing to use anyway. You don't want to center the window in relation to the combined geometry,

D24238: Port the pager applet away from QtWidgets

2019-09-26 Thread David Faure
dfaure created this revision. dfaure added reviewers: hein, apol. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. TEST PLAN Builds REPOSITORY R119 Plasma Desktop BRANCH Plasma/5.17 REVISION DETAIL

D24007: [QQC2 Desktop Style] Port away from deprecated methods in Qt 5.14

2019-09-16 Thread David Faure
dfaure closed this revision. REPOSITORY R858 Qt Quick Controls 2: Desktop Style REVISION DETAIL https://phabricator.kde.org/D24007 To: dfaure, mart, davidedmundson Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai,

D24007: [QQC2 Desktop Style] Port away from deprecated methods in Qt 5.14

2019-09-16 Thread David Faure
dfaure created this revision. dfaure added a reviewer: mart. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REPOSITORY R858 Qt Quick Controls 2: Desktop Style BRANCH master REVISION DETAIL

D23808: Don't create() windows that aren't native, upon receiving a palette change event.

2019-09-13 Thread David Faure
dfaure closed this revision. REPOSITORY R135 Integration for Qt applications in Plasma REVISION DETAIL https://phabricator.kde.org/D23808 To: dfaure, carewolf, davidedmundson, broulik Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot,

D23823: [KMenuEdit] port away from KStandardDirs

2019-09-10 Thread David Faure
dfaure closed this revision. REPOSITORY R103 KMenu Editor REVISION DETAIL https://phabricator.kde.org/D23823 To: dfaure, mlaurent Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg,

D23823: [KMenuEdit] port away from KStandardDirs

2019-09-10 Thread David Faure
dfaure created this revision. dfaure added a reviewer: mlaurent. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. TEST PLAN only did smoke testing (kmenuedit starts and displays the tree, clicking on one item shows details).

D23808: Don't create() windows that aren't native, upon receiving a palette change event.

2019-09-09 Thread David Faure
dfaure created this revision. dfaure added reviewers: carewolf, davidedmundson, broulik. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. TEST PLAN run kmail or falkon, then run kcmshell5 fonts, change font size ASSERT:

D23198: Skip mime type check only for files on network mounts

2019-09-02 Thread David Faure
dfaure added a comment. My suggestion is (still) "improve KFileItem to enable SkipMimeTypeFromContent automatically if isSlow is true" [possibly with another flag if you think there are actually use cases for mime-magic over network mounts] Then all this code isn't needed. REPOSITORY

D23198: Skip mime type check only for files on network mounts

2019-08-24 Thread David Faure
dfaure added a comment. What I mean is: 1. improve KFileItem::isSlow to use this Solid code 2. improve KFileItem to enable SkipMimeTypeFromContent automatically if isSlow is true However maybe we don't want that in dolphin? Not sure. (In that case a new enum value can be added,

D23198: Skip mime type check only for files on network mounts

2019-08-24 Thread David Faure
dfaure added a comment. Why not do this in KFileItem::isSlow() itself? (and enable SkipMimeTypeFromContent when isSlow is true) REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D23198 To: meven, #plasma, dfaure Cc: davidedmundson, ngraham, broulik,

D23228: Port away from deprecated KWindowSystem API

2019-08-22 Thread David Faure
dfaure added a comment. Thanks for the testing! REPOSITORY R133 KScreenLocker REVISION DETAIL https://phabricator.kde.org/D23228 To: dfaure, zzag, graesslin, davidedmundson Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf,

D23228: Port away from deprecated KWindowSystem API

2019-08-22 Thread David Faure
dfaure closed this revision. REPOSITORY R133 KScreenLocker REVISION DETAIL https://phabricator.kde.org/D23228 To: dfaure, zzag, graesslin, davidedmundson Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed,

D23334: Remove slideWindow(QWidget*) overload with recent KWindowSystem

2019-08-22 Thread David Faure
dfaure closed this revision. REPOSITORY R130 Frameworks integration plugin using KWayland REVISION DETAIL https://phabricator.kde.org/D23334 To: dfaure, zzag Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai,

D23334: Remove slideWindow(QWidget*) overload with recent KWindowSystem

2019-08-22 Thread David Faure
dfaure created this revision. dfaure added a reviewer: zzag. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. TEST PLAN Fixes the build after https://phabricator.kde.org/D23213 REPOSITORY R130 Frameworks integration plugin

D23228: Port away from deprecated KWindowSystem API

2019-08-17 Thread David Faure
dfaure created this revision. dfaure added reviewers: zzag, graesslin, davidedmundson. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. dfaure requested review of this revision. REVISION SUMMARY Call the all-in-one method (which handles numeric keypad better), then

Re: Unified git commit message guideline

2019-08-12 Thread David Faure
e git commit log itself. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5

D19784: Avoid calling QT_LSTAT and accessing recent documents

2019-07-27 Thread David Faure
dfaure added a comment. See KFileItem::isSlow() REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D19784 To: hoffmannrobert, #frameworks, dfaure, #dolphin Cc: meven, apol, ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot,

D22525: kioclient: Don't convert `:x:y` to `?line=x=y` for URLs starting with remote schemes.

2019-07-20 Thread David Faure
dfaure added a comment. Backported. https://commits.kde.org/kde-cli-tools/42ef318a9d1c454f96b60181d8231a59233720ea REPOSITORY R126 KDE CLI Utilities REVISION DETAIL https://phabricator.kde.org/D22525 To: arrowd, #frameworks, dfaure Cc: wbauer, kwrite-devel, dfaure, cfeck, plasma-devel,

D21517: Fix "Type error" when creating a TextField with focus: true

2019-07-20 Thread David Faure
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit R858:e419e9b42287: Fix Type error when creating a TextField with focus: true (authored by dfaure). Herald added a project:

D22525: kioclient: Don't convert `:x:y` to `?line=x=y` for URLs starting with remote schemes.

2019-07-20 Thread David Faure
dfaure accepted this revision. dfaure added a comment. This revision is now accepted and ready to land. OK, I'm wrong (not the first time this happens) :-) `kwrite /home/dfaure/.zshrc:20` works `kwrite sftp://localhost/home/dfaure/.zshrc:20` doesn't work indeed. The patch looks

D22525: kioclient: Don't convert `:x:y` to `?line=x=y` for URLs starting with remote schemes.

2019-07-20 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. I suppose the kate developers like the fact that this currently works over FTP, SFTP, FISH, SMB, etc. So maybe only HTTP[S]/WEBDAV should be blacklisted (because there queries

D21514: MobileTextActionsToolBar: fix runtime warnings when controlRoot isn't set yet

2019-07-01 Thread David Faure
dfaure closed this revision. REPOSITORY R858 Qt Quick Controls 2: Desktop Style REVISION DETAIL https://phabricator.kde.org/D21514 To: dfaure, mart, apol, broulik, ngraham Cc: astippich, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai,

D21959: Fix selectedNameFilter() multiple matches

2019-06-27 Thread David Faure
dfaure closed this revision. REPOSITORY R135 Integration for Qt applications in Plasma REVISION DETAIL https://phabricator.kde.org/D21959 To: hoffmannrobert, #frameworks, apol, dfaure Cc: michaelweghorn, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot,

D21959: Fix selectedNameFilter() multiple matches

2019-06-22 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. +1 for the included unittest. INLINE COMMENTS > kdeplatformfiledialoghelper.cpp:80 > */ > -static QString kde2QtFilter(const QStringList , const QString ) > +static QString

D17372: [componentchooser KCM] Make KIO browser option the fallback only and remove from the UI

2019-05-31 Thread David Faure
dfaure added a comment. Writing into the user's home dir is a "hack". There are better ways for distros to set defaults (such as the global mimeapps.list) but it seems KIO ignores that... (to be checked...) REPOSITORY R119 Plasma Desktop REVISION DETAIL

D17372: [componentchooser KCM] Make KIO browser option the fallback only and remove from the UI

2019-05-31 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. I agree that we shouldn't remove the underlying feature, in fact it's still used on other protocols than http. But we have to ensure the default behaviour matches the KCM and

D21514: MobileTextActionsToolBar: fix runtime warnings when controlRoot isn't set yet

2019-05-31 Thread David Faure
dfaure created this revision. dfaure added reviewers: mart, apol, broulik. Herald added a project: Plasma. dfaure requested review of this revision. REVISION SUMMARY This file checks for controlRoot being undefined, everywhere else. TEST PLAN `qmlscene tests/testComboBox.qml` showed

D18296: Add support for passing cursor information via URL parameters when running kioclient exec.

2019-04-11 Thread David Faure
dfaure accepted this revision. dfaure added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > urlinfo.h:76 > + * - make relative paths absolute using the current working > directory > + * - prefer local file, if in doubt! > + */

D18296: Add support for passing cursor information via URL parameters when running kioclient exec.

2019-04-09 Thread David Faure
dfaure added inline comments. INLINE COMMENTS > arrowd wrote in urlinfo.h:39 > > const QString & > > There is `path.chop(match.capturedLength());`, which requires non-const > `QString`. > > > And what if it's a URL? At this point this string is pathOrUrl. > > Well, `if (QFile::exists(path))`

D18296: Add support for passing cursor information via URL parameters when running kioclient exec.

2019-04-08 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. Is the makeURL function still used, or should it be removed now? INLINE COMMENTS > urlinfo.h:39 > + */ > +UrlInfo(QString path) > +: line(0), column(0) const

D19784: Avoid calling QT_LSTAT and accessing recent documents

2019-03-31 Thread David Faure
This revision was automatically updated to reflect the committed changes. Closed by commit R119:408f03ca989e: Avoid calling QT_LSTAT and accessing recent documents (authored by hoffmannrobert, committed by dfaure). REPOSITORY R119 Plasma Desktop CHANGES SINCE LAST UPDATE

D19784: Avoid calling QT_LSTAT and accessing recent documents

2019-03-30 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. This needs a KIO version ifdef for KIO >= 5.57. `#if KIO_VERSION >= QT_VERSION_CHECK(5,57,0)` REPOSITORY R119 Plasma Desktop REVISION DETAIL

D19784: Avoid calling QT_LSTAT and accessing recent documents

2019-03-24 Thread David Faure
dfaure added a comment. > If they point to files on a network drive, and the network or the drive is not responding Well that's exactly the problem with network mounts, and the reason they are a sucky technical solution. KIO's async jobs never have that problem. You will never be

D19784: Avoid calling QT_LSTAT and accessing recent documents

2019-03-24 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. OK so this is about KFileItem::text() and KFileItem::iconName(). Indeed this doesn't need the stat() done by KFileItem's init(). This means the right solution is indeed for

D19500: [KDirModel] Fix job urls change signal connection

2019-03-17 Thread David Faure
dfaure accepted this revision. dfaure added a comment. This revision is now accepted and ready to land. If there was a unittest for this code, it wouldn't remain broken for so long... Feel free to add one :-) REPOSITORY R119 Plasma Desktop REVISION DETAIL

D19784: Avoid calling QT_LSTAT and accessing recent documents

2019-03-15 Thread David Faure
dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > recentusagemodel.cpp:261 > > if (!url.isValid() || !(fileItem.isFile() || fileItem.isDir())) { > return QVariant(); How do you expect

D19588: [Notifications] Improve finished notification

2019-03-07 Thread David Faure
dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > anthonyfieroni wrote in Jobs.qml:117-120 > displayDestUrl = destUrl.replace(/^(file:\/{2})/, "") All of this is wrong. Removing file:/// leaves something

D15189: [KRun] Don’t follow redirection to speed up and avoid incorrect behavior

2019-01-30 Thread David Faure
dfaure added a comment. #include #if KIO_VERSION >= QT_VERSION_CHECK(5,55,0) ... #endif REPOSITORY R126 KDE CLI Utilities REVISION DETAIL https://phabricator.kde.org/D15189 To: achauvel, #frameworks, dfaure, cfeck Cc: plasma-devel, anthonyfieroni, ngraham,

  1   2   3   4   5   >