[dolphin] [Bug 413648] Dolphin File-Manager Doesn't Create Thumbnails when Using the 'gtk2' Style of 'qtstyleplugins'

Fabian Vogt bugzilla_noreply at kde.org
Mon Nov 4 20:31:07 GMT 2019


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

--- Comment #3 from Fabian Vogt <fabian at ritter-vogt.de> ---
(In reply to Jamie Michelle from comment #2)
> (In reply to Fabian Vogt from comment #1)
> > Please try it with a style which works fine and post the output of "hexdump
> > -C /proc/$(pgrep -n thumbnail.so)/cmdline".
> > 
> > I cannot reproduce the issue here with glib2 2.62.1 here on Tumbleweed,
> > cmdline is always terminated with a nullbyte.
> 
> Hi, Fabian Vogt. My apologies for not responding sooner. Here is the output
> of your command:
> 
> $ hexdump -C /proc/$(pgrep -n thumbnail.so)/cmdline
> 00000000  42 4f 4f 54 5f 49 4d 41  47 45 3d 2f 62 6f 6f 74 
> |BOOT_IMAGE=/boot|

Unfortunately thumbnail.so was not running at that point so you dumped
/proc/cmdline instead...
Can you try again? You should get different output.

> Also, the following threads are relevant to this problem:
> 
> * Jamie Michelle, "Recent Versions of GLib Break Dolphin File-Manager's
> Thumbnailing when Using 'gtk2' Style", Oct. 29, 2019,
> https://gitlab.gnome.org/GNOME/glib/issues/1923 .

Apparently a GLib dev had a look at our code as well:

> More specifically, it looks like kdeinit5 overwrites the memory occupied by the elements of argv, which in turn changes /proc/self/cmdline (although I can't see how it would end up non-terminated).

So he can't spot the bug either...

> Simon McVittie, "goption: Relax assertion to avoid being broken by
> kdeinit5", Oct. 31, 2019,
> https://gitlab.gnome.org/GNOME/glib/commit/
> 15a5c2dcf8edacbf7e105c97bd1f34295b1f2a98 .

Ok, so it's fixed upstream in glib, that's good news.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list