Feed Advanced Search

Mar 27 2021

dfaure claimed T12340: Install all parts into plugins/kf5/parts, and add JSON metadata to them.
Mar 27 2021, 1:55 PM · KF6
dfaure added a comment to T12246: Move KRecentFileAction down in tierness.

KIO currently has KRecentDocuments as well, just to add confusion to the mix. I certainly wish it would disappear or move down in tierness, it's not KIO related.

Mar 27 2021, 1:50 PM · KF6
dfaure added a comment to T13806: KParts plugin cleanup.

https://invent.kde.org/frameworks/kservice/-/merge_requests/44 deprecates KPluginInfo::fromKPartsInstanceName

Mar 27 2021, 1:39 PM · KF6
dfaure claimed T11821: Move KDirModel to KioGui.
Mar 27 2021, 1:30 PM · KF6
dfaure added a comment to T13853: Network settings in system settings.

Proxy: it's also not clear to me what the difference between the "Auto Detect" button there and the "Detect proxy configuration automatically" is.

Mar 27 2021, 11:23 AM · KF6, Plasma, Konqueror, Frameworks, VDG

Mar 18 2021

dfaure added a comment to T12224: KParts: BrowserExtension cleanups.

Right, actionSlotMap() can be deprecated, actionSlotMapPtr() is the replacement.

Mar 18 2021, 10:39 PM · KF6

Feb 28 2021

dfaure added a comment to T14164: Create version-less KF cmake targets.

Ah! I misunderstood. Yes indeed, targets would be fine.

Feb 28 2021, 12:25 PM · KF6
dfaure added a comment to T14164: Create version-less KF cmake targets.

I don't see how that would work, it just shifts the problem to "which version of ECM is installed on this system?".
You'd do find_package(ECM) in kmyapp, and hope it finds the version that defines the KF version to the one that this code is compatible with? Too much indirect magic.

Feb 28 2021, 10:56 AM · KF6
dfaure added a comment to T14164: Create version-less KF cmake targets.

I'm wondering if this is really a good idea. Both for Qt and KF.

Feb 28 2021, 10:49 AM · KF6

Feb 27 2021

dfaure added a comment to T14154: Adapt to QTextCodec changes.

The locale encoding is always UTF-8 on Unix and some "more local" locale (latin1, koi8-r, etc) on Windows.
So what you described can only happen on Windows. Still bad, of course, for reading existing text files. But the user base isn't exactly as big as on Unix, for KDE software. This is just very surprising overall for Qt on Windows. In the JIRA task you linked, Thiago initially said "QTextStream needs the ability to select between UTF-8 and the locale's 8-bit charset". But you seem to say this didn't happen?

Feb 27 2021, 12:42 AM · KF6

Feb 25 2021

dfaure added a comment to T14154: Adapt to QTextCodec changes.

Just a thought: should we fork QTextCodec as KTextCodec and make our lives simpler in the process?

Feb 25 2021, 1:19 PM · KF6

Feb 18 2021

dfaure added a comment to D14967: Disable loading of translations for kformattest, which was not designed with translations.

CI runs things in a sandbox, there are no translations installed that are accessible to kf5 tests.

Feb 18 2021, 10:59 PM · Frameworks

Jan 14 2021

dfaure added a comment to T13986: Get rid of overloaded signals.

I agree, a similar effort is happening in Qt as well.

Jan 14 2021, 3:45 PM · KF6

Jan 10 2021

dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

OK, you're a bit of a "special case" then. Most developers who want to make their first contribution to KDE, do not start by reading Qt sources (nor Marc's 2010 article, lol). Most people initially treat Qt as a black box, relying on its documentation only.

Jan 10 2021, 9:58 PM · KF6
dfaure added a comment to T12173: KService: provide solution to migrate away from KServiceTypeTrader/KMimeTypeTrader for loading plugins and parts.

Thanks Alex, you rock.

Jan 10 2021, 10:55 AM · KF6

Jan 1 2021

dfaure moved T11821: Move KDirModel to KioGui from Backlog to In Progress on the KF6 board.
Jan 1 2021, 9:44 PM · KF6
dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

I'm sure you learned about pimpl yes, but not about Q_D/Q_Q macros and Private classes inheriting from each other...

Jan 1 2021, 5:30 PM · KF6

Dec 30 2020

dfaure renamed T12141: KActionCollection: do we need it really, in Plasma-Framework? from KActionCollection: do we need it really? to KActionCollection: do we need it really, in Plasma-Framework?.
Dec 30 2020, 12:09 AM · KF6

Dec 26 2020

dfaure added a comment to D29303: Make KI18N_INSTALL() compatible to KDE_INSTALL_DIRS_NO_DEPRECATED.

So this is basically the same as https://phabricator.kde.org/D29136 except that D29136 gives priority to the non-deprecated variable. Any reason against going with D29136 after all?

Dec 26 2020, 10:50 AM · Frameworks

Dec 13 2020

dfaure added a comment to T12225: Deprecate BrowserHostExtension, only used by KHTML.

No, that's all that's missing indeed.
https://lxr.kde.org/ident?_i=BrowserHostExtension

Dec 13 2020, 9:33 AM · KF6

Dec 10 2020

dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

Maybe I misunderstood your line about I haven't seen the d-pointer dereferenced before (at all?), usually one accesses the private class via the d-poitner, to me that's the same.

Dec 10 2020, 11:21 PM · KF6
dfaure updated the task description for T13924: Unify how d-pointer is created in frameworks' classes.
Dec 10 2020, 11:17 PM · KF6
dfaure updated the task description for T13924: Unify how d-pointer is created in frameworks' classes.
Dec 10 2020, 11:16 PM · KF6
dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

You can't use d->something() when using the Qt macros, without first doing Q_D() which declares a local variable d from the result of d_func().

Dec 10 2020, 11:15 PM · KF6
dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

OK. IMHO that's a nice side-effect but not a good enough reason to use Q_D everywhere. It confuses C++ developers who haven't read Qt code before, raising the barrier of entry for contributions.
To save allocations in case of inheritance it's worth it, but just for const correctness, I'm not fully convinced.
Just my 2 cents.

Dec 10 2020, 10:12 PM · KF6
dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

How is this "an issue with usefulness"? It's just part of the syntax. If you forget the const, the compiler reminds you.

Dec 10 2020, 9:09 PM · KF6
dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

The main point of the Qt macros is to have the Private of the subclass inherit from the one of the base class, so that a single allocation is necessary.
The syntax of the Qt macros is to encapsulate that.

Dec 10 2020, 8:40 PM · KF6

Dec 6 2020

dfaure added a comment to T13924: Unify how d-pointer is created in frameworks' classes.

Agreed about both.

Dec 6 2020, 5:05 PM · KF6

Dec 3 2020

dfaure added a comment to T12225: Deprecate BrowserHostExtension, only used by KHTML.

I couldn't readily see where konqueror got to the KHTML part

Dec 3 2020, 10:06 PM · KF6
dfaure renamed T12225: Deprecate BrowserHostExtension, only used by KHTML from Deprecate BrowserHostExtension and BrowserInterface, only used by KHTML to Deprecate BrowserHostExtension, only used by KHTML.
Dec 3 2020, 9:55 PM · KF6
dfaure added a comment to T12225: Deprecate BrowserHostExtension, only used by KHTML.

We should keep BrowserInterface after all, it's now used by WebEnginePart too. I'll retitle the task.

Dec 3 2020, 9:55 PM · KF6
dfaure added a comment to T12225: Deprecate BrowserHostExtension, only used by KHTML.

Yes but only because they are hooks for KHTML.

Dec 3 2020, 9:42 PM · KF6

Nov 30 2020

dfaure added a comment to T13913: Port Frameworks away from QStringRef.

"a qt5combat module" << excellent typo ! :-)

Nov 30 2020, 12:55 PM · KF6
dfaure added inline comments to D22764: Stabilize test KFileWidgetTest::testDropFile.
Nov 30 2020, 9:12 AM · Frameworks

Nov 18 2020

dfaure added inline comments to D17816: Support for xattrs on kio copy/move.
Nov 18 2020, 11:49 AM · Frameworks

Nov 11 2020

dfaure added a comment to T13847: Use service path instead of Exec line to store TerminalApplication.

I'd say keep it consistent with BrowserApplication. If it no longer does the '!' thing then don't either. Creating a local desktop file keeps things easier on the consumer side.

Nov 11 2020, 3:09 PM · KF6
dfaure added a comment to T13847: Use service path instead of Exec line to store TerminalApplication.

In KF6 (where we can drop compatibility), the information about --noclose would be only in the KCM, not in ktoolinvocation any longer.

Nov 11 2020, 12:35 PM · KF6
dfaure added a comment to T13847: Use service path instead of Exec line to store TerminalApplication.

Hmm, this isn't what I said, I think.

Nov 11 2020, 11:23 AM · KF6
dfaure added a comment to T13847: Use service path instead of Exec line to store TerminalApplication.

You could use the same trick as BrowserApplication:

  • if it starts with a '!' it's a literal command
  • otherwise it's the ID of a desktop file
Nov 11 2020, 10:35 AM · KF6

Nov 7 2020

dfaure added a comment to T12246: Move KRecentFileAction down in tierness.

Update on the config vs state thing: https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/4 https://invent.kde.org/frameworks/kconfig/-/merge_requests/33

Nov 7 2020, 6:14 PM · KF6

Nov 1 2020

dfaure added a comment to T12193: Refactor JobUiDelegateExtension to be async.

kwidgetsaddons/src/kmessagebox.cpp line 374:

const QDialogButtonBox::StandardButton result = QDialogButtonBox::StandardButton(guardedDialog->exec());
Nov 1 2020, 11:18 PM · KF6
dfaure added a comment to T12193: Refactor JobUiDelegateExtension to be async.

KMessageBox::warning[...], which ends up calling QDialog::exec(), is very much "sync" API and very much an open door to event loop re-entrancy. They have the same issue as the other two.

Nov 1 2020, 8:48 PM · KF6

Oct 30 2020

dfaure added inline comments to D17816: Support for xattrs on kio copy/move.
Oct 30 2020, 7:37 AM · Frameworks

Oct 29 2020

dfaure accepted D17816: Support for xattrs on kio copy/move.
Oct 29 2020, 8:29 PM · Frameworks

Oct 28 2020

dfaure added inline comments to D17816: Support for xattrs on kio copy/move.
Oct 28 2020, 6:54 PM · Frameworks

Oct 18 2020

dfaure added inline comments to D22764: Stabilize test KFileWidgetTest::testDropFile.
Oct 18 2020, 9:28 PM · Frameworks

Oct 10 2020

dfaure added a comment to T13738: Change listing key from stringlist to bool.

As I said, it was used to define extra columns.
It appears that it was used in konqueror before konqueror's file management views were replaced with Dolphin's.
See http://www.davidfaure.fr/2020/konq_listviewwidget.cc

Oct 10 2020, 4:40 PM · KF6

Oct 8 2020

dfaure added a comment to T13738: Change listing key from stringlist to bool.

It's also used to define extra columns.

Oct 8 2020, 6:47 PM · KF6

Sep 13 2020

dfaure added a comment to T12286: Move things needed to provide FileItemActionPlugins into a low tier.

We need to decide on what KIO is.
Some people think "if I don't need kioslaves, I shouldn't have to use KIO".
But another line of reasoning is "if you want to do any sort of file-management stuff with URLs, files, dirs, mimetypes, then KIO[Core] is what you want". KFileItem, KFileItemListPropreties, KFileItemActionPlugins... this all fits into this definition.
Where else would one put KFileItem and KFileItemListProperties?

Sep 13 2020, 11:42 AM · KF6
dfaure moved T12364: Cleanup random hexadecimal roles from Backlog to Done on the KF6 board.
Sep 13 2020, 11:38 AM · KF6
dfaure added a comment to T12364: Cleanup random hexadecimal roles.

Merged. Please reopen this (or just paste the comment) if you find more.

Sep 13 2020, 11:38 AM · KF6
dfaure added a comment to T12664: KIO: Move out models from kiofilewidgets that don't require QWidgets.

See T11821 for the similar task for KDirModel.

Sep 13 2020, 8:42 AM · KF6
dfaure renamed T13612: KRunner: Improve handling of actions from Improve handling of actions to KRunner: Improve handling of actions.
Sep 13 2020, 8:41 AM · KF6
dfaure added a comment to T12364: Cleanup random hexadecimal roles.

This is already there in kdirmodel.h
Here's a MR for doing the same in kfileplacesmodel.h: https://invent.kde.org/frameworks/kio/-/merge_requests/130
Any other model that needs this?

Sep 13 2020, 8:39 AM · KF6

Sep 12 2020

dfaure added a comment to T12104: Port syndication away from QXmlInputSource API.

--> https://invent.kde.org/frameworks/syndication/-/merge_requests/5

Sep 12 2020, 7:01 PM · KF6
dfaure added a comment to T12031: Clean up KRunner.

The second architecture seems better/simpler.

Sep 12 2020, 7:00 PM · KF6
dfaure added a comment to D29299: Make KI18N_INSTALL() not rely on only LOCALE_INSTALL_DIR.
In D29299#676447, @pino wrote:
In D29299#676445, @pino wrote:

One of the primary goals of KF5 is to be useable by other applications not written by the KDE community (I actually know quite a few).
As such, it's not hard to imagine a cmake-based application that uses Qt and GNUInstallDirs [with qmake going away this will happen more and more], and one day it wants to use one of the frameworks. At that point, it shouldn't be forced to switch to ECMInstallDirs. Therefore I definitely see value in keeping the two things separate, as long as we keep making things easy for what is the most common case for us: using both.

Sigh. I know this, I never, ever, ever, and let me say it again, never, forgot about this.

Sep 12 2020, 2:25 PM · Frameworks
dfaure added a comment to D29299: Make KI18N_INSTALL() not rely on only LOCALE_INSTALL_DIR.
In D29299#676445, @pino wrote:

I asked for actual valid use cases when using the new variables first would break, and I still got none. There is a limit to how much you can keep broken code working... assuming such broken code exists. I don't think there is any of this such situation, as ki18n_install() is basically used by KF sources that use ECM already, with marble being the only exception (and even that, marble won't break).

Sep 12 2020, 1:07 PM · Frameworks
dfaure added a comment to D29136: Use non-deprecated KDEInstallDir.

(to remove some confusion: the previous comment had the wrong link and should have said "Abandoned in favour of https://phabricator.kde.org/D29299" -- but now it's reopened anyway, as an alternative to D29299)

Sep 12 2020, 12:45 PM · Frameworks
dfaure added a comment to D29299: Make KI18N_INSTALL() not rely on only LOCALE_INSTALL_DIR.

@pino Other than the fact that you think D29136 is "good enough", do you have any concrete objection to this version?

Sep 12 2020, 12:44 PM · Frameworks

Sep 11 2020

dfaure closed D29871: Enable option to show hidden folders in sidebar, plus small sidebar code fixes (eg: scrollbar display).

https://invent.kde.org/network/konqueror/commit/cd6364a2c8a5362c49145204de4eebeff1e4185c

Sep 11 2020, 12:13 PM · Documentation
dfaure added a comment to D29871: Enable option to show hidden folders in sidebar, plus small sidebar code fixes (eg: scrollbar display).

Ah, I forgot I had to land your patches manually.
I'll do it now (already resolving a few conflicts...)

Sep 11 2020, 12:06 PM · Documentation
dfaure added a comment to T12364: Cleanup random hexadecimal roles.

@broulik can we remove this task from the dashboard?

Sep 11 2020, 7:34 AM · KF6

Sep 10 2020

dfaure added a comment to T12722: Drop KDBusConnectionPool.

https://lxr.kde.org/ident?_i=KDBusConnectionPool&_remember=1 says everything was ported away from KDBusConnectionPool, good job :-)

Sep 10 2020, 9:47 AM · KF6

Sep 9 2020

dfaure added a comment to T13565: Nextcloud is not a suitable etherpad replacement for shared documents.

Were you using the Markdown/text editor or the full blown office one?

Sep 9 2020, 3:55 PM · Sysadmin
dfaure added a comment to T13565: Nextcloud is not a suitable etherpad replacement for shared documents.

My experience with editing files on share.kde.org yesterday: constant conflicts, can't rename the file, *lost my changes*, can't give out a link to the file (it lists the directory), can't copy/paste the filename at the top when opening the file. Next time I'm using the wiki.

Sep 9 2020, 1:00 PM · Sysadmin
dfaure added a comment to T12104: Port syndication away from QXmlInputSource API.

So, to be sure, I continue with this patch, adjusting the unittest to the new hash -- and no change required in akregrator?

Sep 9 2020, 12:30 PM · KF6
dfaure added a comment to T12210: Port KIO DavJob away from QDomDocument in the public API.

OK, fair point, putting the task back onto the board ;)

Sep 9 2020, 12:27 PM · KF6
dfaure added a project to T12210: Port KIO DavJob away from QDomDocument in the public API: KF6.
Sep 9 2020, 12:27 PM · KF6

Sep 8 2020

dfaure renamed T12193: Refactor JobUiDelegateExtension to be async from Refactor JobUiDelegateExtension to be 4 jobs to Refactor JobUiDelegateExtension to be async.
Sep 8 2020, 6:25 PM · KF6
dfaure added a comment to T12193: Refactor JobUiDelegateExtension to be async.

More details:

Sep 8 2020, 6:25 PM · KF6
dfaure added a comment to T12104: Port syndication away from QXmlInputSource API.

This is not as easy as I thought it would be. When used without QXmlInputSource, QDomDocument simplifies whitespace-only CDATA sections.
This patch: http://www.davidfaure.fr/2020/port_syndication_away_from_qxmlinputsource.diff
leads to a failure in autotests/atom/atom10_entry_content.xml which can be narrowed to
-id: #hash:aff2c4358030579d2c3dcea6e92b40fe#
+id: #hash:a359558b397d24593c3b55afb85d173a#

Sep 8 2020, 6:21 PM · KF6
dfaure updated subscribers of T12104: Port syndication away from QXmlInputSource API.
Sep 8 2020, 6:18 PM · KF6
dfaure claimed T12104: Port syndication away from QXmlInputSource API.
Sep 8 2020, 5:28 PM · KF6
dfaure renamed T12104: Port syndication away from QXmlInputSource API from Port away from QDom API to Port syndication away from QXmlInputSource API.
Sep 8 2020, 4:52 PM · KF6
dfaure added a comment to T12104: Port syndication away from QXmlInputSource API.

What's deprecated is only QXmlInputSource, QXmlReader/QXmlSimpleReader and associated classes (QXmlEntityResolver, QXmlAttributes...).

Sep 8 2020, 4:52 PM · KF6
dfaure added a comment to T12106: Port KNewStuff away from QDom API.

Removed from the KF6 board (I can't find how to fully delete a task)

Sep 8 2020, 4:51 PM
dfaure removed a project from T12106: Port KNewStuff away from QDom API: KF6.
Sep 8 2020, 4:51 PM
dfaure removed a project from T12145: Port kbookmarks away from QDom API: KF6.
Sep 8 2020, 4:50 PM
dfaure added a comment to T12145: Port kbookmarks away from QDom API.

Right, there is no task here anymore.

Sep 8 2020, 4:50 PM
dfaure added a comment to T13590: Move ApplicationLauncherJob/CommandLauncherJob/KProcessRunner to KService?.

The main problem I see is the KRecentDocuments integration.

Sep 8 2020, 4:44 PM · KF6
dfaure created T13590: Move ApplicationLauncherJob/CommandLauncherJob/KProcessRunner to KService?.
Sep 8 2020, 4:43 PM · KF6
dfaure removed a project from T12210: Port KIO DavJob away from QDomDocument in the public API: KF6.
Sep 8 2020, 4:34 PM · KF6
dfaure removed a subtask for T12104: Port syndication away from QXmlInputSource API: T12210: Port KIO DavJob away from QDomDocument in the public API.
Sep 8 2020, 4:31 PM · KF6
dfaure removed a subtask for T12089: KIO for KF6: T12210: Port KIO DavJob away from QDomDocument in the public API.
Sep 8 2020, 4:31 PM · KF6
dfaure removed parent tasks for T12210: Port KIO DavJob away from QDomDocument in the public API: T12089: KIO for KF6, T12104: Port syndication away from QXmlInputSource API.
Sep 8 2020, 4:31 PM · KF6
dfaure added a comment to T11557: Change policies/design guidelines.

I agree, this is too vague, and therefore not actionable. @knauss do you want to make the task more targeted, or should I (somehow) delete it?

Sep 8 2020, 4:24 PM · KF6
dfaure added a comment to T12210: Port KIO DavJob away from QDomDocument in the public API.

QDomDocument won't be deprecated after all, so we can forget this IMHO.

Sep 8 2020, 4:22 PM · KF6
dfaure updated subscribers of T12212: Move KIO::SearchProvider to runners.

Right, @stefanocrocco maintains the WebEnginePart for konqueror, @rrosch worked on the sidebar, other people ported it away from deprecated API, and I review contributions.
So konqueror is still around.

Sep 8 2020, 4:14 PM · KF6
dfaure added a comment to T12106: Port KNewStuff away from QDom API.

Turns out QDom isn't deprecated after all, so maybe this task isn't applicable anymore.

Sep 8 2020, 12:53 PM

Aug 29 2020

dfaure accepted D28745: Skip caching thumbnails on encrypted filesystems.
Aug 29 2020, 9:28 AM · Frameworks, Dolphin

Aug 27 2020

dfaure added inline comments to D28745: Skip caching thumbnails on encrypted filesystems.
Aug 27 2020, 12:18 PM · Frameworks, Dolphin

Aug 22 2020

dfaure added inline comments to D28745: Skip caching thumbnails on encrypted filesystems.
Aug 22 2020, 8:57 PM · Frameworks, Dolphin

Aug 21 2020

dfaure added inline comments to D28745: Skip caching thumbnails on encrypted filesystems.
Aug 21 2020, 8:51 PM · Frameworks, Dolphin

Aug 19 2020

dfaure requested changes to D28745: Skip caching thumbnails on encrypted filesystems.
Aug 19 2020, 10:31 PM · Frameworks, Dolphin

Aug 16 2020

dfaure added a comment to T12176: KService: deprecate KAutostart.

It's more than "a handful" though.
I repaired lxr after noticing many desktop files were not being indexed, and it shows that this is used by:
kup, calindac, baloo_file, konqy_preload, kmix, rsibreak, klipper, kalarm, korgac, and kgpg
That's a large number of apps to adapt to toggling the Hidden key at runtime, no?

Aug 16 2020, 10:50 PM · KF6

Aug 13 2020

dfaure accepted D26448: Add KRecentFilesMenu to replace KRecentFileAction.

Thanks :-)

Aug 13 2020, 9:17 PM · Frameworks
dfaure added a comment to T12177: KService: deprecate KMimeTypeTrader.

No, we determined that the trader language wasn't the best way to write C++ code.
ktraderclient was mostly written as a debugging helper. I suggest to strip out the constraint functionality from ktraderclient.

Aug 13 2020, 10:00 AM · KF6
dfaure added inline comments to D26448: Add KRecentFilesMenu to replace KRecentFileAction.
Aug 13 2020, 9:58 AM · Frameworks

Aug 11 2020

dfaure accepted D29871: Enable option to show hidden folders in sidebar, plus small sidebar code fixes (eg: scrollbar display).
Aug 11 2020, 8:33 AM · Documentation