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

--- Comment #28 from Oded Arbel <o...@geek.co.il> ---
(In reply to Oded Arbel from comment #27)
> (In reply to Robin Bankhead from comment #26)
> > Based on Andrew's initial post it seems clear that Gwenview knows nothing of
> > .directory files, not even through Dolphin: It simply copies Dolphin's
> > *global* sort setting.
> 
> That is incorrect: Gwenview follows Dolphin's per-directory sort setting,
> which is stored in `.directory` files under the section name `[Dolphin]`.
> ...
> You can also run gwenview under strace and see that it reads the
> `.directory` file in the folder where you've opened it to (with either a
> folder argument or a file argument). There's no additional communications
> between Dolphin and Gwenview.

I was told that I was wrong about this - Gwenview does not read `.directory`
files and instead uses a D-Bus API to communicate directly with Dolphin. The
reason I thought Gwenview uses `.directory` files is because using `strace` you
can see that it opens and reads these files - but from reviewing the source
code, I can't find the code for that - so its probably some framework library
that does something innocuous.

This doesn't mean that Dolphin integrates with Gwenview, and as for
inter-module dependency - this isn't worse than Gwenview reading a file and
looking for the text "Dolphin", and people can argue that it is better (i.e.
weaker dependency) because a D-Bus API is well specified.

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

Reply via email to