https://bugs.kde.org/show_bug.cgi?id=495878

--- Comment #42 from Iyán M. V. <m...@iyanmv.com> ---
(In reply to Méven Car from comment #41)
> (In reply to Iyán M. V. from comment #40)
> > If I manually set the extended attribute Dolphin respects it, and the folder
> > is shown both in icons mode and with the preview enable.
> > 
> > setfattr -n "user.kde.fm.viewproperties#1" -v
> > "[Dolphin]\012AdditionalInfoV2=Details_Size,Details_Date,
> > CustomizedDetails\012PreviewsShown=true\012Timestamp=2025,1,19,12,31,45.
> > 418\012Version=4\012" Pictures/Wallpapers
> > 
> > Hopefully, this narrows it down a bit to find the issue in the source code.
> 
> Thank you for shedding some light.
> 
> Two things.
> Why can't dolphin write to metadata ? Has the folder a lot of metadata
> already ? (There is size limit for xattr)

I think it can write without issues, but for this particular combo of "Icon
view + Preview" the metadata is erased. Directories where I observed this issue
don't have any other metadata, so I think I'm quite far from the xattr size
limit for values (which for ext4 is the block size if I'm not wrong? In my case
this would be 4096 bytes).

Note also that with a git bisect, this particular issue started with the fix:
https://invent.kde.org/system/dolphin/-/commit/86609f89358243c08ebe4de8498a0fa6dff8370e

So I'm confident this is a Dolphin issue and unrelated to my particular
filesystem.

> Dolphin may output some errors in the console if launch from there.
This is what I get when opening Dolphin from a console:

qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
(many identical lines removed)
kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
kf.kio.core: An error occurred during write. The worker terminates now.
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
(many identical lines removed)
kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
kf.kio.core: An error occurred during write. The worker terminates now.
kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
kf.kio.core: An error occurred during write. The worker terminates now.
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread


> Secondly should this fail dolphin would store the view properties in
> ~/.local/share as fallback and this seems to not work.

I have a few entries there (mostly for run/media paths), but none for local
directories where I can trigger the issue.

> So that's a different than the one originally reported here.

Yes, I agree. What we are discussing now it's not exactly as the description of
this particular bug, but others "more related" were marked as duplicates of
this one. Should I open a new issue summarizing all we know so far and close
this one instead?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to