Feed Advanced Search

Apr 22 2020

hallas added inline comments to D27152: Introduce FilesystemEntry class.
Apr 22 2020, 5:40 PM · Frameworks

Apr 12 2020

hallas added a comment to D27152: Introduce FilesystemEntry class.

Hi @bruns - did you have a chance to go through this patch again? Am I missing anything to move on with this?

Apr 12 2020, 5:49 AM · Frameworks

Mar 10 2020

hallas added inline comments to D27152: Introduce FilesystemEntry class.
Mar 10 2020, 5:58 AM · Frameworks

Mar 9 2020

hallas added inline comments to D27152: Introduce FilesystemEntry class.
Mar 9 2020, 6:02 AM · Frameworks

Mar 5 2020

hallas added inline comments to D27152: Introduce FilesystemEntry class.
Mar 5 2020, 6:26 AM · Frameworks
hallas updated the diff for D27152: Introduce FilesystemEntry class.

Review comments

Mar 5 2020, 6:26 AM · Frameworks

Mar 4 2020

hallas added a comment to D27152: Introduce FilesystemEntry class.

@bruns - thanks a lot for the feedback, I have updated the patch with your suggestions.

Mar 4 2020, 6:10 AM · Frameworks
hallas updated the diff for D27152: Introduce FilesystemEntry class.

Addressed review comments

Mar 4 2020, 6:09 AM · Frameworks

Mar 3 2020

hallas added a comment to D27152: Introduce FilesystemEntry class.

Hi @bruns - I have updated this patch with the changes you requested and would really like your feedback :)

Mar 3 2020, 5:04 AM · Frameworks

Feb 20 2020

hallas added inline comments to D27152: Introduce FilesystemEntry class.
Feb 20 2020, 6:12 AM · Frameworks
hallas added inline comments to D27504: smb faster copy to local.
Feb 20 2020, 6:10 AM · Frameworks, Dolphin

Feb 19 2020

hallas updated the diff for D27152: Introduce FilesystemEntry class.

Updated patch with review comments

Feb 19 2020, 6:18 AM · Frameworks

Feb 4 2020

hallas added inline comments to D27152: Introduce FilesystemEntry class.
Feb 4 2020, 4:48 PM · Frameworks
hallas requested review of D27152: Introduce FilesystemEntry class.
Feb 4 2020, 5:55 AM · Frameworks

Jan 19 2020

hallas added a comment to D26600: Refactor fstab handling.

and this is definitely too much code being moved around. Please split this up into multiple reviews.

You should likely start with the introduction of the FilesystemEntry class, use that from the existing code.

Jan 19 2020, 6:24 AM · Frameworks

Jan 18 2020

hallas added a comment to D26600: Refactor fstab handling.

Moving existing code to new files does not make you the copyright owner.

Jan 18 2020, 6:54 PM · Frameworks
hallas added a comment to D21235: Add handling of fuseiso filesystem type.

I have refactored the fstab handling to make supporting fuseiso _much_ simpler - so please take a look at D26600 - once that is merged I will push a new review of this patch.

Jan 18 2020, 1:01 PM · Frameworks

Jan 12 2020

hallas added a comment to D26600: Refactor fstab handling.

@meven - I am a little unsure if I have broken the fix you have done in commit c97f0b2a3076731b35435f200bd09a22859f3e03 - could you please check?

Jan 12 2020, 7:48 AM · Frameworks
hallas requested review of D26600: Refactor fstab handling.
Jan 12 2020, 7:44 AM · Frameworks

Dec 15 2019

hallas added a comment to D23205: [KProcessList] Optimize KProcessList::processInfo.

Sorry for breaking the build :/

Dec 15 2019, 7:09 PM · Frameworks
hallas committed R244:e16dda4d50bf: [KProcessList] Optimize KProcessList::processInfo (authored by hallas).
[KProcessList] Optimize KProcessList::processInfo
Dec 15 2019, 6:55 AM
hallas closed D23205: [KProcessList] Optimize KProcessList::processInfo.
Dec 15 2019, 6:53 AM · Frameworks

Nov 17 2019

hallas added inline comments to D21235: Add handling of fuseiso filesystem type.
Nov 17 2019, 6:25 AM · Frameworks

Nov 15 2019

hallas added a comment to D23205: [KProcessList] Optimize KProcessList::processInfo.

@davidedmundson - ping ;)

Nov 15 2019, 6:03 AM · Frameworks
hallas added a comment to D21235: Add handling of fuseiso filesystem type.

@bruns - ping ;)

Nov 15 2019, 5:57 AM · Frameworks

Nov 3 2019

hallas added a comment to D25125: Use KListOpenFilesJob for retrieving apps blocking unmount.

Set QT_PLUGIN_PATH to you local path with plugin after that set the system path for others
QT_PLUGIN_PATH=/local/path:/system/path executable

Nov 3 2019, 10:46 AM · Plasma
hallas added a comment to D25125: Use KListOpenFilesJob for retrieving apps blocking unmount.

Note that I haven't tested this patch locally because I don't know how to "run" the locally compiled devicenotifier. I can see that I get a plasma_engine_devicenotifications.so library from building the project, but I don't know how to "run" it, do we have a cli tool to load the shared library for testing? Or how do you guys test?

Nov 3 2019, 8:25 AM · Plasma
hallas requested review of D25125: Use KListOpenFilesJob for retrieving apps blocking unmount.
Nov 3 2019, 8:22 AM · Plasma
hallas added a comment to D21235: Add handling of fuseiso filesystem type.

@bruns - ping :) I have updated this patch with the changes you requested, I hope you are ok with it now.

Nov 3 2019, 8:21 AM · Frameworks

Oct 27 2019

hallas committed R318:c3b914a7faed: Unmounting busy device doesn't tell who is blocking (authored by hallas).
Unmounting busy device doesn't tell who is blocking
Oct 27 2019, 5:52 AM
hallas closed D19989: Unmounting busy device doesn't tell who is blocking.
Oct 27 2019, 5:52 AM · Dolphin

Oct 22 2019

hallas added inline comments to D19989: Unmounting busy device doesn't tell who is blocking.
Oct 22 2019, 5:37 PM · Dolphin
hallas updated the diff for D19989: Unmounting busy device doesn't tell who is blocking.

Review comments

Oct 22 2019, 5:37 PM · Dolphin
hallas added inline comments to D19989: Unmounting busy device doesn't tell who is blocking.
Oct 22 2019, 4:59 AM · Dolphin

Oct 21 2019

hallas updated the summary of D19989: Unmounting busy device doesn't tell who is blocking.
Oct 21 2019, 7:03 PM · Dolphin
hallas updated the diff for D19989: Unmounting busy device doesn't tell who is blocking.

Review comments

Oct 21 2019, 7:02 PM · Dolphin
hallas added inline comments to D21235: Add handling of fuseiso filesystem type.
Oct 21 2019, 6:47 PM · Frameworks
hallas updated the diff for D21235: Add handling of fuseiso filesystem type.

Reorder functions to make diff smaller

Oct 21 2019, 6:47 PM · Frameworks

Oct 20 2019

hallas added a comment to D21235: Add handling of fuseiso filesystem type.

@bruns - I have now refactored the patch so that it uses the getmntent functions for parsing the mtab file, so I think this patch is pretty much ready for a serious review ;)

Oct 20 2019, 8:12 AM · Frameworks
hallas updated the diff for D21235: Add handling of fuseiso filesystem type.

Rewrite to use the getmntent function for parsing the mtab file

Oct 20 2019, 8:11 AM · Frameworks

Oct 19 2019

hallas added inline comments to D21235: Add handling of fuseiso filesystem type.
Oct 19 2019, 4:50 AM · Frameworks

Oct 18 2019

hallas added a comment to D21235: Add handling of fuseiso filesystem type.

Currently you have the 'unmount' action if you right click on the device in dolphin, but it cannot unmount, so should we hide it? Or should we fix it so that it can actually unmount?

Oct 18 2019, 11:44 AM · Frameworks
hallas updated the diff for D21235: Add handling of fuseiso filesystem type.

Implemented parsing of the fuseiso mtab file

Oct 18 2019, 11:42 AM · Frameworks
hallas added a comment to D23205: [KProcessList] Optimize KProcessList::processInfo.

@davidedmundson ping :)

Oct 18 2019, 6:40 AM · Frameworks
hallas added inline comments to D19989: Unmounting busy device doesn't tell who is blocking.
Oct 18 2019, 6:38 AM · Dolphin
hallas updated the diff for D19989: Unmounting busy device doesn't tell who is blocking.

Updated to use KListOpenFilesJob

Oct 18 2019, 6:36 AM · Dolphin

Oct 6 2019

hallas added a comment to D24434: Fix include path to kjob.h.

Argh, I retagged, but this wasn't pushed yet.
Landing and retagging again...

Oct 6 2019, 10:15 AM · Frameworks
hallas added a comment to D24434: Fix include path to kjob.h.

@dfaure - I just found that if you include KListOpenFilesJob from e.g. Dolphin then it fails because it cannot include jobs/kjob.h :(

Oct 6 2019, 5:26 AM · Frameworks
hallas requested review of D24434: Fix include path to kjob.h.
Oct 6 2019, 5:24 AM · Frameworks

Oct 5 2019

hallas added a comment to D24389: Fix klistopenfilesjob header file not being installed.

git tag doesn't show any 5.63.0-rc* tag yet, so it hasn't been tagged, so this commit will be included.

(I do that on the first Saturday of the month)

Oct 5 2019, 10:25 AM · Frameworks

Oct 3 2019

hallas added a comment to D24389: Fix klistopenfilesjob header file not being installed.

Please land this ASAP so it gets into Frameworks 5.63.

Oct 3 2019, 5:16 PM · Frameworks
hallas committed R244:53c424a63fbf: Fix klistopenfilesjob header file not being installed (authored by hallas).
Fix klistopenfilesjob header file not being installed
Oct 3 2019, 5:15 PM
hallas closed D24389: Fix klistopenfilesjob header file not being installed.
Oct 3 2019, 5:15 PM · Frameworks
hallas added a comment to D19989: Unmounting busy device doesn't tell who is blocking.

We can now restart this work leveraging KCoreAddon KListOpenFilesJo D21760 .

Oct 3 2019, 3:04 PM · Dolphin
hallas requested review of D24389: Fix klistopenfilesjob header file not being installed.
Oct 3 2019, 3:03 PM · Frameworks
hallas added a comment to D19989: Unmounting busy device doesn't tell who is blocking.

We can now restart this work leveraging KCoreAddon KListOpenFilesJo D21760 .

Oct 3 2019, 3:42 AM · Dolphin
hallas committed R318:c71c1c94be2e: Fix missing setDefaultShortcuts call (authored by hallas).
Fix missing setDefaultShortcuts call
Oct 3 2019, 3:41 AM
hallas closed D24342: Fix missing setDefaultShortcuts call.
Oct 3 2019, 3:40 AM · Dolphin

Oct 1 2019

hallas added a comment to D21235: Add handling of fuseiso filesystem type.

I have been resurrecting this patch again :) and have run into an issue I need some guidance on. To be able to parse the ~/.mtab.fuseiso file I would like to use the KMountPoint class, but this class currently resides in KIO which Solid doesn't depend on. But, KIO actually depends on Solid so would it be an option to move this class from KIO to Solid?

What do you gain by using KMountPoints? Solid already has code for parsing fstab style files.

Hi @bruns , no you are right that I should be able to do with the code that is in Solid already. It just needs to be updated to be able parse an arbitrary mtab file. But anyhow, the fstab/mtab code in Solid seems kind of duplicated with the code in KIO, so we might consolidate at some point.

But let me look into the mtab code in Solid and see if I can make it work there :)

Oct 1 2019, 6:02 PM · Frameworks
hallas requested review of D24342: Fix missing setDefaultShortcuts call.
Oct 1 2019, 3:27 PM · Dolphin

Sep 30 2019

hallas added a comment to D19311: Add navigation history to forward/back buttons.

@hallas I noticed the following warning on dolphin start:

KXMLGUIFactoryPrivate::saveDefaultActionProperties(): Shortcut for action  "go_forward" "&Forward" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.

Could you have a look? Maybe it's because we call actionCollection()->setDefaultShortcuts(m_backAction, backShortcuts); and we don't do the same for m_forwardAction ?

Sep 30 2019, 5:39 PM · Dolphin

Sep 29 2019

hallas committed R318:eec49bc38f4e: Add navigation history to forward/back buttons (authored by hallas).
Add navigation history to forward/back buttons
Sep 29 2019, 12:42 PM
hallas closed D19311: Add navigation history to forward/back buttons.
Sep 29 2019, 12:16 PM · Dolphin

Sep 27 2019

hallas updated the diff for D19311: Add navigation history to forward/back buttons.

Review comments

Sep 27 2019, 7:02 PM · Dolphin

Sep 23 2019

hallas added a comment to D21235: Add handling of fuseiso filesystem type.

I have been resurrecting this patch again :) and have run into an issue I need some guidance on. To be able to parse the ~/.mtab.fuseiso file I would like to use the KMountPoint class, but this class currently resides in KIO which Solid doesn't depend on. But, KIO actually depends on Solid so would it be an option to move this class from KIO to Solid?

What do you gain by using KMountPoints? Solid already has code for parsing fstab style files.

Sep 23 2019, 6:09 PM · Frameworks

Sep 22 2019

hallas added a comment to D21235: Add handling of fuseiso filesystem type.

I have been resurrecting this patch again :) and have run into an issue I need some guidance on. To be able to parse the ~/.mtab.fuseiso file I would like to use the KMountPoint class, but this class currently resides in KIO which Solid doesn't depend on. But, KIO actually depends on Solid so would it be an option to move this class from KIO to Solid?

Sep 22 2019, 6:08 AM · Frameworks
hallas added a comment to D19311: Add navigation history to forward/back buttons.

Just noticed that Alt+left/right shortcuts for back and forward are now broken.

Sep 22 2019, 5:59 AM · Dolphin
hallas updated the diff for D19311: Add navigation history to forward/back buttons.

Fix Back/Forward shortcuts

Sep 22 2019, 5:58 AM · Dolphin

Sep 19 2019

hallas added a comment to D23205: [KProcessList] Optimize KProcessList::processInfo.

@davidedmundson - ping :)

Sep 19 2019, 11:26 AM · Frameworks
hallas updated the diff for D19311: Add navigation history to forward/back buttons.

Restrict the number of navigation entries to 12

Sep 19 2019, 11:24 AM · Dolphin

Sep 17 2019

hallas added inline comments to D19311: Add navigation history to forward/back buttons.
Sep 17 2019, 11:13 AM · Dolphin
hallas committed R244:3d6847425df1: Fix KListOpenFilesJob unit test on Unix if lsof is not installed (authored by hallas).
Fix KListOpenFilesJob unit test on Unix if lsof is not installed
Sep 17 2019, 4:21 AM
hallas closed D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed.
Sep 17 2019, 4:19 AM · Frameworks

Sep 14 2019

hallas added inline comments to D19311: Add navigation history to forward/back buttons.
Sep 14 2019, 3:49 PM · Dolphin

Sep 12 2019

hallas added inline comments to D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed.
Sep 12 2019, 5:32 PM · Frameworks
hallas updated the diff for D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed.

Use QSKIP to skip tests

Sep 12 2019, 5:32 PM · Frameworks

Sep 11 2019

hallas added inline comments to D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed.
Sep 11 2019, 5:57 PM · Frameworks
hallas updated the diff for D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed.

Use QStandardPaths::findExecutable to locate lsof

Sep 11 2019, 5:57 PM · Frameworks
hallas requested review of D23884: Fix KListOpenFilesJob unit test on Unix if lsof is not installed.
Sep 11 2019, 5:35 PM · Frameworks
hallas committed R244:e119ce7b5afe: Add KListOpenFilesJob (authored by hallas).
Add KListOpenFilesJob
Sep 11 2019, 4:10 PM
hallas closed D21760: Add KListOpenFilesJob.
Sep 11 2019, 4:10 PM · Frameworks
hallas updated the diff for D21760: Add KListOpenFilesJob.

Updated @since

Sep 11 2019, 4:03 PM · Frameworks

Sep 9 2019

hallas added a comment to D19311: Add navigation history to forward/back buttons.

Thanks @hallas. I'm good with this now. For the future, I would like one of the following UI improvements:

  • Show no visible arrow at all (i.e. what web browsers do)
  • Make the downward-pointing arrow be really tiny and sit in the bottom-right corner of a square toolbutton, rather than making the toolbutton wider to accommodate it
Sep 9 2019, 5:19 PM · Dolphin

Sep 7 2019

hallas added a comment to D19311: Add navigation history to forward/back buttons.

Thanks for the analysis :) I still think we should get the change in with the current KToolBarPopupAction functionality (like Nate suggest), and then work on refining the user experience. But feel free to pinch in on the user experience part.

This is such a big discussion already. Which suggestion of Nate do you refer to specifically? I thought the current approach that shows indicators was denied.

Sep 7 2019, 11:00 AM · Dolphin
hallas updated the summary of D19311: Add navigation history to forward/back buttons.
Sep 7 2019, 8:12 AM · Dolphin
hallas updated the diff for D19311: Add navigation history to forward/back buttons.

Rebased

Sep 7 2019, 8:12 AM · Dolphin
hallas added a comment to D19311: Add navigation history to forward/back buttons.

We have previously discussed various ways to simplify this change, but no other suitable solutions has been found, but I am still open to simpler solutions :)

This is what I think can produce the wanted behaviour:
KToolBarPopupAction uses QToolButton internally so Indicators are drawn (because of style rules if I understand correctly). If there is no way to use QToolButton and hide indicators without forcing style changes (which was blocked) then it seems to me like the only way forward is not using a QToolButton.
AFAICT there are two ways forward:

  • Further modify KToolBarPopupAction to not use QToolButton internally in the case of menuIndicator being turned off and instead internally implement the same behaviour using some other button class. The QAbstractButton with it's pressed and clicked signals might be enough to handle it but there are possibly more fitting specialised button classes. This way no changes to the Breeze style or any other style for that matter should be necessary.
  • It might be a bit difficult to imitate the behaviour of KToolBarPopupAction without using a QToolButton so alternatively it might be easier to not modify KToolBarPopupAction at all and create or use a different class. In this case you don't have to mimic all options of KToolBarPopupAction perfectly since it is expected that the new class behaves differently. You could then copy from/use Falkon's NavigationBarToolButton (like @david.fontanals suggested in D19311#432597) . I'm pretty sure the license of that class is incompatible with frameworks though so that would have to be handled if it's supposed to land in KWidgetAddons.

    Take my analysis with a grain of salt though since it is mainly based on me reading documentation without having ever actually tried similar stuff.
Sep 7 2019, 8:08 AM · Dolphin
hallas added a comment to D19311: Add navigation history to forward/back buttons.

Hmm, can you rebase it on master?

Sep 7 2019, 8:07 AM · Dolphin
hallas added a comment to D21760: Add KListOpenFilesJob.

This is good to go in :-)

If you push it today it'll indeed be in 5.62, to be tagged tomorrow, otherwise we'll need to adjust the @since tag ;-)

Sep 7 2019, 8:05 AM · Frameworks

Sep 6 2019

hallas updated the summary of D21760: Add KListOpenFilesJob.
Sep 6 2019, 10:24 AM · Frameworks
hallas added inline comments to D21760: Add KListOpenFilesJob.
Sep 6 2019, 10:24 AM · Frameworks
hallas updated the diff for D21760: Add KListOpenFilesJob.

Review comments

Sep 6 2019, 10:23 AM · Frameworks
hallas added a comment to D19311: Add navigation history to forward/back buttons.

At this point I'm inclined to say that we should go forward with the patch regardless of widget changes, because otherwise it's gonna be stuck in patch review limbo forever.

Can you make the menu show up on press-and-hold without showing any arrow on the buttons without widget changes? That's probably the simplest path forward until we sort out the appearance issue. Better to temporarily make it semi-hidden than never getting it landed. :)

Sep 6 2019, 8:50 AM · Dolphin
hallas added a comment to D19311: Add navigation history to forward/back buttons.

Dolphin appears to not compile without F6773036 in KWidgetAddons though. All I can find for F6773036 is the diff. Is there a Dxxxxx thing in phab for that?

Sep 6 2019, 4:48 AM · Dolphin
hallas added a comment to D19311: Add navigation history to forward/back buttons.

At this point I'm inclined to say that we should go forward with the patch regardless of widget changes, because otherwise it's gonna be stuck in patch review limbo forever.

Can you make the menu show up on press-and-hold without showing any arrow on the buttons without widget changes? That's probably the simplest path forward until we sort out the appearance issue. Better to temporarily make it semi-hidden than never getting it landed. :)

Sep 6 2019, 4:48 AM · Dolphin
hallas updated the diff for D21760: Add KListOpenFilesJob.

Review comments, renamed the files to match the class name

Sep 6 2019, 4:46 AM · Frameworks
hallas added a comment to D21760: Add KListOpenFilesJob.

Yes, the filenames should match the classname, obviously :)

I did a deeper review of the KJob usage and I have two more comments, sorry for not taking the time to do this earlier...

Sep 6 2019, 4:46 AM · Frameworks

Sep 5 2019

hallas added a comment to D19311: Add navigation history to forward/back buttons.

Looks good. I do have a weird occurrence with three slashes appearing in the path for

seems when I leave and reenter, then leave the home dir.

Sep 5 2019, 5:20 AM · Dolphin

Sep 3 2019

hallas added inline comments to D21760: Add KListOpenFilesJob.
Sep 3 2019, 3:14 PM · Frameworks
hallas added a comment to D21760: Add KListOpenFilesJob.

Given that the namespace doesn't contain anything else anymore, I would just get rid of it, and provide a single class, KListOpenFilesJob.

Sep 3 2019, 3:12 PM · Frameworks