bruns (Stefan Brüns)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Apr 2 2017, 12:03 PM (403 w, 5 h)
Availability
Available

Recent Activity

Aug 2 2024

bruns added a comment to T17374: Rewrite Baloo indexing engine.

Baloo framework was actually one of the things I fell in love in KDE. Yet, I sometimes miss the somewhat better working indexed search of windows 7 (in otherwise abusive relationship).

In my case, the problem you describe, was mainly due to Baloo not supporting indexing of any other encoding than UTF8 (such as ANSI/Latin-1/ISO8129-1), which left heaps of files unindexed.

Aug 2 2024, 7:12 PM · Goal Setting 2024
bruns added a comment to T17374: Rewrite Baloo indexing engine.

@redstrate

It's not a rant, it's the result of many tries through 4years of using it with various PIM apps. That thing with Akonadi are the only two weaknesses that give Plasma desktop a bad reputation.

Aug 2 2024, 6:58 PM · Goal Setting 2024

Oct 16 2022

bruns added a comment to T11556: redesign frameworks where API and implementation are too tied together .

KFileMetadata extractors. Though, the actual code is already sufficiently separated, only the repository contains to many implementations with too many dependencies. Probably plain text and text based (e.g. xml) extractors should stay in the main repository, while extractors requiring a lot of third party (ffmpeg, exiv2, ...) code should move into a separate repository.

Oct 16 2022, 8:22 PM · KF6

Apr 14 2021

bruns added a comment to T11553: Port KDE Frameworks away from deprecated methods in Qt.
Apr 14 2021, 4:12 PM · Frameworks, KF6

Apr 4 2021

bruns added a comment to T14337: Port KFileMetaData away from QMap::insertMulti.

The current API is suboptimal, as it flattens all properties.

Apr 4 2021, 2:40 PM · KF6

Mar 30 2021

bruns added a comment to D17816: Support for xattrs on kio copy/move.

What is the status of this? How do we move forwards? I know this has gone on a long time and we're all getting tired, but I think we can push this past the finish line without too much trouble, hopefully. :)

Mar 30 2021, 11:01 PM · Frameworks

Mar 12 2021

bruns added a comment to T13631: Consolidate using addons/extras/plugins repos.

You want packaging changes, not source changes

That's kind of the problem; some distros don't do the right thing here, and contacting every distro is not really feasible. Yes, you can say, "well X distro does it right, people should just use X distro", but that's not a realistic perspective given that we encourage our software to be widely packaged. The perspective I'm coming from is that of trying to improve the user experience for all of our users, not just those who choose distros that are well-packaged. I see the fact that our software can be mis-packaged as a problem in the first place.

Mar 12 2021, 4:02 PM · Frameworks, Dolphin, Plasma

Mar 9 2021

bruns added a comment to T13631: Consolidate using addons/extras/plugins repos.

@soredake - You are barking up the wrong tree. You want packaging changes, not source changes, i.e. install the plugins as soon as dolphin is installed. Talk to your distro maintainers to make this happen.

Mar 9 2021, 6:26 PM · Frameworks, Dolphin, Plasma

Mar 8 2021

bruns added a comment to T13631: Consolidate using addons/extras/plugins repos.

Pulling e.g. the thumbnailers into kio is a complete no-no. They have all kinds of third-party dependencies.

Mar 8 2021, 11:26 AM · Frameworks, Dolphin, Plasma

Mar 2 2021

bruns added a comment to D17816: Support for xattrs on kio copy/move.

@bruns I find your attitude unnecessarily hostile. If you think that the code is perfect as it is, feel free to patch it case by case until it eventually works for everybody. That is your choice.

Mar 2 2021, 5:21 PM · Frameworks
bruns added a comment to D17816: Support for xattrs on kio copy/move.

I do not think we have to. Please have a look at how attr_copy_fd() from <attr/libattr.h> is implemented: http://git.savannah.nongnu.org/cgit/attr.git/tree/libattr/attr_copy_fd.c?id=a4187bec#n111 This code is quite mature and it is used by cp(1) on GNU/Linux for instance. I do not think that KDE users will appreciate some blindly coded fancy features on top of that when the basic functionality gets totally broken as a result of these experiments. Please keep the code simple and reliable.

Mar 2 2021, 3:06 PM · Frameworks
bruns added a comment to D17816: Support for xattrs on kio copy/move.

The man page says that one has to check return value of the second call. It does not say that the function needs to be called in a loop indefinitely until it succeeds.

Mar 2 2021, 1:18 PM · Frameworks
bruns added a comment to D17816: Support for xattrs on kio copy/move.

Even after applying the proposed patch, the code still looks problematic to me. I would prefer to have it explained first. When fgetxattr(..., 0) returns -1/ERANGE, what is the point of calling fgetxattr(..., 0) again? It is still going to busy-loop indefinitely in this case, doesn't it? How many times do we actually need to call fgetxattr() on a single file descriptor? Twice? Then unbounded loop is not the best construction to begin with.

Mar 2 2021, 12:48 PM · Frameworks

Nov 17 2020

bruns added a comment to T12090: Move previewjob to KioGui.

PreviewJob uses ThumbCreator, which uses QWidgets to do the plugin specific configuration. Currently, it opens a dialog on a configuration request and expects the same dialog passed in again (as QWidget*) to apply/save a configuration change.

Nov 17 2020, 1:32 PM · KF6
bruns added a comment to T12214: Move KIOWorkers into a thread of the calling application instead of separate process.

But this also means we no longer have process isolation. May be important for everything using third party libraries, e.g. the thumbnailer, and also probably metadata in general (see https://invent.kde.org/network/kio-extras/-/merge_requests/51)

Nov 17 2020, 1:18 PM · KF6

Oct 26 2020

bruns added a comment to D17816: Support for xattrs on kio copy/move.

Looks ok to me now. Can someone else please double check?

Oct 26 2020, 6:56 PM · Frameworks

Oct 24 2020

bruns accepted D23694: Add support for sshfs to the fstab backend.
Oct 24 2020, 4:26 PM · Frameworks

Oct 15 2020

bruns created T13763: Remove allocations from KFileMetadata::PropertyInfo (BIC).
Oct 15 2020, 4:39 PM · KF6
bruns added a comment to D23694: Add support for sshfs to the fstab backend.

One possibility to hide it would be the x-gvfs-* options, though I am not sure if it is possible to pass these to fuse.

Oct 15 2020, 10:44 AM · Frameworks

Sep 17 2020

bruns requested changes to D17816: Support for xattrs on kio copy/move.
Sep 17 2020, 2:03 PM · Frameworks

Sep 16 2020

bruns added a comment to T13631: Consolidate using addons/extras/plugins repos.

From me also a -1, mostly because of the dependency tree. Stuff like ffmpeg and Samba have a *huge* dependency tree.

Sep 16 2020, 7:30 PM · Frameworks, Dolphin, Plasma

Sep 10 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Sep 10 2020, 5:03 PM · Frameworks

Sep 8 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Sep 8 2020, 5:15 PM · Frameworks
bruns added a comment to D29526: Thumbnails: make thumbnail generation dpr-aware.

For all but text the DPR is completely irrelevant, large@1 is identical to normal@2.

Yes and that's up to thumbnail creators to decide. To take advantage of this, we would need to introduce some ThumbnailCreator type that would say whether or not generated thumbnail might be influenced by DPR (i.e) text. That would necessitate change the ThumbnailCreator API.

Sep 8 2020, 1:29 PM · Frameworks, Dolphin

Sep 7 2020

bruns added a comment to D29397: KPreviewJob : Support for DeviceRatioPixel.

At the risk of asking a stupid question, why?

The text thumbnailer should be able to produce readable text on high dpi, or the folder thumbnailer should render the folder icon sharply and the picture frames non-pixelated

Sep 7 2020, 4:45 PM · Frameworks
bruns added inline comments to D29526: Thumbnails: make thumbnail generation dpr-aware.
Sep 7 2020, 3:54 PM · Frameworks, Dolphin
bruns added inline comments to D29526: Thumbnails: make thumbnail generation dpr-aware.
Sep 7 2020, 3:51 PM · Frameworks, Dolphin
bruns requested changes to D29526: Thumbnails: make thumbnail generation dpr-aware.

For all but text the DPR is completely irrelevant, large@1 is identical to normal@2.

Sep 7 2020, 3:19 PM · Frameworks, Dolphin
bruns added a comment to D29397: KPreviewJob : Support for DeviceRatioPixel.

Most thumbnailers are completely DPR agnostic, and will create identical thumbnails for large@1 and normal@2. Having both is a waste of disk space and CPU time.

Sep 7 2020, 3:09 PM · Frameworks

Sep 4 2020

bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

Ping!
I'm remanding about question early, because I could do much more work if I get to do it on weekend.

Question:
This code won't save thumbnail for file on any device that isn't StorageVolume or is StorageVolume with usage UsageType::Encrypded.

The whole block can never return true, so it should just be removed, along with all its dependencies.

I tested it once more and it returns true when it should, as expected. What makes you think it doesn't?

Sep 4 2020, 11:36 PM · Frameworks, Dolphin
bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

Ping!
I'm remanding about question early, because I could do much more work if I get to do it on weekend.

Question:
This code won't save thumbnail for file on any device that isn't StorageVolume or is StorageVolume with usage UsageType::Encrypded.

Sep 4 2020, 3:32 PM · Frameworks, Dolphin

Sep 1 2020

bruns requested changes to D28745: Skip caching thumbnails on encrypted filesystems.

@marcingu - have you even verified this works? - I am quite sure it does not, neither for fuse.encfs, fuse.cryfs (as used by Vaults), nor for any LUKS encrypted devices.

Sep 1 2020, 6:06 PM · Frameworks, Dolphin

Aug 26 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Aug 26 2020, 10:10 PM · Frameworks

Aug 24 2020

bruns added inline comments to D28745: Skip caching thumbnails on encrypted filesystems.
Aug 24 2020, 4:59 PM · Frameworks, Dolphin

Aug 23 2020

bruns added a parent task for T13527: Port KIO ThumbCreator to KPlugin: T12171: Meta task: KService.
Aug 23 2020, 5:21 PM
bruns added a subtask for T12171: Meta task: KService: T13527: Port KIO ThumbCreator to KPlugin.
Aug 23 2020, 5:21 PM · KF6
bruns created T13527: Port KIO ThumbCreator to KPlugin.
Aug 23 2020, 5:21 PM

Jun 30 2020

bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

How often do I have to repeat the thumbnailer has to use the canonical path anyway? Please use that.

storageAccessFromPath converts given path into canonical. I figured it should do so anyway, so I'm not doing it again here.

Jun 30 2020, 1:56 PM · Frameworks, Dolphin

Jun 29 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Jun 29 2020, 8:15 PM · Frameworks
bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.
Solid::Device device = Solid::Device::storageAccessFromPath(filePath);
if (device.is<Solid::StorageVolume>()) {
    allowCache = device.as<Solid::StorageVolume>()->usage() != Solid::StorageVolume::UsageType::Encrypted;
}
Jun 29 2020, 4:17 PM · Frameworks, Dolphin

Jun 24 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Jun 24 2020, 12:29 PM · Frameworks

Jun 22 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Jun 22 2020, 2:51 PM · Frameworks

Jun 10 2020

bruns closed D29207: [Indexers] Ignore name-based mimetype for initial indexing decisions.
Jun 10 2020, 11:16 PM · Baloo, Frameworks
bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

Solid does not provide straight folder => StorageVolume yet, but I think Solid could have such a utility feature added.
Something like Solid::Device::findByPath(), it would need to canonically and recursively resolves the path parent to pay attention to symlinks.
This would also help D26407

No recursion needed, stat provides the device.

Only when the file is not a symlink, if so we need to check the symlink target recursively, that's what I meant.

Jun 10 2020, 10:42 PM · Frameworks, Dolphin
bruns updated the summary of D29207: [Indexers] Ignore name-based mimetype for initial indexing decisions.
Jun 10 2020, 10:15 PM · Baloo, Frameworks

Jun 7 2020

bruns requested changes to D28745: Skip caching thumbnails on encrypted filesystems.
Jun 7 2020, 4:38 PM · Frameworks, Dolphin
bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

And can you please use arc to upload the patch - it is nearly impossible to do a review with the missing context

Jun 7 2020, 4:37 PM · Frameworks, Dolphin
bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.
Jun 7 2020, 4:35 PM · Frameworks, Dolphin

Jun 2 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
Jun 2 2020, 11:13 PM · Frameworks

Jun 1 2020

bruns requested changes to D17816: Support for xattrs on kio copy/move.
Jun 1 2020, 6:24 PM · Frameworks

May 27 2020

bruns requested changes to D17816: Support for xattrs on kio copy/move.
May 27 2020, 9:43 PM · Frameworks

May 26 2020

bruns added inline comments to D17816: Support for xattrs on kio copy/move.
May 26 2020, 12:53 AM · Frameworks

May 24 2020

bruns accepted D28590: Add a QString Solid::Device::displayName, used in Fstab Device for network mounts.
May 24 2020, 7:41 PM · Frameworks
bruns added inline comments to D29810: Don't use the setenv function after fork.
May 24 2020, 1:55 AM · Frameworks

May 22 2020

bruns committed R111:3ddbc35189ee: Avoid double free/use-after-free of static unique_ptr<> (authored by bruns).
Avoid double free/use-after-free of static unique_ptr<>
May 22 2020, 12:06 PM

May 21 2020

bruns committed R111:9c17f75ebc43: Force en_US locale for signalplotter formatting checks (authored by bruns).
Force en_US locale for signalplotter formatting checks
May 21 2020, 8:58 PM

May 10 2020

bruns requested changes to D29597: file extractor: fix linking.

Your build system seems to be broken. The "missing" methods are statically linked, see src/file/extractor/CMakeFiles/baloo_file_extractor.dir/baloosettings.cpp.o

May 10 2020, 4:19 PM · Baloo, Frameworks
bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

Use Solid and ask it if the device is on an encrypted device. If Solid does not have such an API, add it.

May 10 2020, 12:02 AM · Frameworks, Dolphin

May 9 2020

bruns added a comment to D28745: Skip caching thumbnails on encrypted filesystems.

I think the patch as is has some structural problems. I think it would be significantly cleaner when:

May 9 2020, 1:42 PM · Frameworks, Dolphin

May 6 2020

bruns committed R286:0975ed45af79: [TaglibExtractor] Add support for Audible "Enhanced Audio" audio books (authored by bruns).
[TaglibExtractor] Add support for Audible "Enhanced Audio" audio books
May 6 2020, 1:22 AM
bruns closed D29454: [TaglibExtractor] Add support for Audible "Enhanced Audio" audio books.
May 6 2020, 1:22 AM · Baloo, Frameworks

May 5 2020

bruns added a comment to D29454: [TaglibExtractor] Add support for Audible "Enhanced Audio" audio books.

Nice!

May 5 2020, 9:26 PM · Baloo, Frameworks
bruns requested review of D29454: [TaglibExtractor] Add support for Audible "Enhanced Audio" audio books.
May 5 2020, 7:14 PM · Baloo, Frameworks

May 4 2020

bruns committed R293:7605f4d7f7c4: Store filename terms just once (authored by bruns).
Store filename terms just once
May 4 2020, 7:48 PM
bruns closed D28932: Store filename terms just once.
May 4 2020, 7:48 PM · Baloo, Frameworks
bruns added a comment to D28932: Store filename terms just once.

This has been pending for more than two weeks now, without any sort of review ...

May 4 2020, 4:28 PM · Baloo, Frameworks

May 2 2020

bruns updated the summary of D28932: Store filename terms just once.
May 2 2020, 12:55 PM · Baloo, Frameworks
bruns added a comment to D28932: Store filename terms just once.

Ping!

May 2 2020, 12:52 PM · Baloo, Frameworks

May 1 2020

bruns requested changes to D29326: Bookmarks Runner: Fix extraction of firefox profile.

The summary needs some text which works without any images

May 1 2020, 7:23 PM · Plasma

Apr 27 2020

bruns committed R293:1793785420b7: [FileWatch] Remove redundant watchIndexedFolders() slot (authored by bruns).
[FileWatch] Remove redundant watchIndexedFolders() slot
Apr 27 2020, 2:55 PM
bruns closed D29188: [FileWatch] Remove redundant watchIndexedFolders() slot.
Apr 27 2020, 2:55 PM · Baloo, Frameworks

Apr 26 2020

bruns accepted D29199: honor the extractMetaData flag.
Apr 26 2020, 5:04 PM · Baloo, Frameworks
bruns requested review of D29207: [Indexers] Ignore name-based mimetype for initial indexing decisions.
Apr 26 2020, 3:08 PM · Baloo, Frameworks
bruns added a dependent revision for D28932: Store filename terms just once: D29207: [Indexers] Ignore name-based mimetype for initial indexing decisions.
Apr 26 2020, 3:08 PM · Baloo, Frameworks
bruns added inline comments to D29199: honor the extractMetaData flag.
Apr 26 2020, 3:00 PM · Baloo, Frameworks
bruns committed R293:b123493d5290: [ModifiedFileIndexer] Clarify a comment (authored by bruns).
[ModifiedFileIndexer] Clarify a comment
Apr 26 2020, 2:32 PM
bruns committed R293:c76397081d1e: [FileWatch] Fix watch updates on config changes (authored by bruns).
[FileWatch] Fix watch updates on config changes
Apr 26 2020, 2:26 PM
bruns closed D29191: [FileWatch] Fix watch updates on config changes.
Apr 26 2020, 2:26 PM · Baloo, Frameworks
bruns committed R293:73183acf00a2: [KInotify] Fix path matching when removing watches (authored by bruns).
[KInotify] Fix path matching when removing watches
Apr 26 2020, 2:25 PM
bruns closed D29189: [KInotify] Fix path matching when removing watches.
Apr 26 2020, 2:25 PM · Baloo, Frameworks
bruns requested changes to D29199: honor the extractMetaData flag.
Apr 26 2020, 1:39 PM · Baloo, Frameworks
bruns added inline comments to D29199: honor the extractMetaData flag.
Apr 26 2020, 1:38 PM · Baloo, Frameworks
bruns updated the summary of D29189: [KInotify] Fix path matching when removing watches.
Apr 26 2020, 12:52 PM · Baloo, Frameworks
bruns added a dependency for D29191: [FileWatch] Fix watch updates on config changes: D29189: [KInotify] Fix path matching when removing watches.
Apr 26 2020, 12:45 PM · Baloo, Frameworks
bruns added a dependent revision for D29189: [KInotify] Fix path matching when removing watches: D29191: [FileWatch] Fix watch updates on config changes.
Apr 26 2020, 12:45 PM · Baloo, Frameworks
bruns committed R293:1a3c23f076d2: [FileWatchTest] Extend coverage to config updates (authored by bruns).
[FileWatchTest] Extend coverage to config updates
Apr 26 2020, 12:35 PM
bruns closed D29190: [FileWatchTest] Extend coverage to config updates.
Apr 26 2020, 12:35 PM · Baloo, Frameworks
bruns added inline comments to D29190: [FileWatchTest] Extend coverage to config updates.
Apr 26 2020, 12:31 PM · Baloo, Frameworks

Apr 25 2020

bruns committed R293:9fff727c6beb: [Extractor] Use categorized logging (authored by bruns).
[Extractor] Use categorized logging
Apr 25 2020, 10:48 PM
bruns updated the diff for D29190: [FileWatchTest] Extend coverage to config updates.

whitespace

Apr 25 2020, 9:16 PM · Baloo, Frameworks
bruns requested review of D29191: [FileWatch] Fix watch updates on config changes.
Apr 25 2020, 9:14 PM · Baloo, Frameworks
bruns added a dependent revision for D29190: [FileWatchTest] Extend coverage to config updates: D29191: [FileWatch] Fix watch updates on config changes.
Apr 25 2020, 9:14 PM · Baloo, Frameworks
bruns added a dependent revision for D29190: [FileWatchTest] Extend coverage to config updates: D29189: [KInotify] Fix path matching when removing watches.
Apr 25 2020, 9:13 PM · Baloo, Frameworks
bruns added a dependency for D29189: [KInotify] Fix path matching when removing watches: D29190: [FileWatchTest] Extend coverage to config updates.
Apr 25 2020, 9:13 PM · Baloo, Frameworks
bruns requested review of D29190: [FileWatchTest] Extend coverage to config updates.
Apr 25 2020, 9:12 PM · Baloo, Frameworks
bruns requested review of D29189: [KInotify] Fix path matching when removing watches.
Apr 25 2020, 9:06 PM · Baloo, Frameworks
bruns requested review of D29188: [FileWatch] Remove redundant watchIndexedFolders() slot.
Apr 25 2020, 8:32 PM · Baloo, Frameworks
bruns accepted D28972: FileMetaDataWidget: Avoid showing fields when they have no value.
Apr 25 2020, 8:11 PM · Baloo
bruns added a comment to D28972: FileMetaDataWidget: Avoid showing fields when they have no value.

Wrap at ~80 characters, please.

Apr 25 2020, 8:11 PM · Baloo
bruns added a comment to D28972: FileMetaDataWidget: Avoid showing fields when they have no value.

@bruns does this sounds good to you ?

Apr 25 2020, 8:04 PM · Baloo