Bug 396561 - Inkscape does not use native theme when opening SVG but does when opening Inkscape directly
Summary: Inkscape does not use native theme when opening SVG but does when opening Ink...
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-16 09:28 UTC by DrSlony
Modified: 2020-09-29 07:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
KDE System Settings - Color Scheme (69.26 KB, image/png)
2018-07-16 09:28 UTC, DrSlony
Details
KDE System Settings - GTK+ Theme (94.80 KB, image/png)
2018-07-16 09:29 UTC, DrSlony
Details
Inkscape - Correct colors when launched directly (99.44 KB, image/png)
2018-07-16 09:29 UTC, DrSlony
Details
Inkscape - Wrong colors when launched by opening SVG (117.87 KB, image/png)
2018-07-16 09:29 UTC, DrSlony
Details
Inkscape - Wrong colors when launched by opening SVG with Prefer Dark Theme enabled (208.73 KB, image/png)
2018-07-18 09:29 UTC, DrSlony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2018-07-16 09:28:19 UTC
KDE Plasma 5.12.6
KDE Frameworks 5.47.0
Qt 5.9.6
Inkscape 0.92.2
kde-gtk-config 5.12.6
breeze 5.12.6
breeze-gtk 5.12.6

I'm using KDE, my theme is Breeze-Dark for both KDE and for GTK+ applications.

When I run Inkscape via Alt+F2 or from the application menu, it launches with correct theme colors and I can see tooltips clearly - they have white text with a dark background.

If I click on an SVG file in Dolphin and Inkscape launches, some colors and theme elements are incorrect, for example the tooltip has white text on a light background, which makes it unreadable.
Comment 1 DrSlony 2018-07-16 09:28:49 UTC
Created attachment 113960 [details]
KDE System Settings - Color Scheme
Comment 2 DrSlony 2018-07-16 09:29:03 UTC
Created attachment 113961 [details]
KDE System Settings - GTK+ Theme
Comment 3 DrSlony 2018-07-16 09:29:28 UTC
Created attachment 113962 [details]
Inkscape - Correct colors when launched directly
Comment 4 DrSlony 2018-07-16 09:29:48 UTC
Created attachment 113963 [details]
Inkscape - Wrong colors when launched by opening SVG
Comment 5 DrSlony 2018-07-16 09:30:37 UTC
Notice that it's not just colors but also widget spacing.
Comment 6 Nate Graham 2018-07-17 19:16:46 UTC
Not that there isn't clearly a bug here, but what happens if you check "Prefer Dark GTK Theme" in the GTK theme settings window?
Comment 7 DrSlony 2018-07-18 09:29:12 UTC
Created attachment 113997 [details]
Inkscape - Wrong colors when launched by opening SVG with Prefer Dark Theme enabled

Inkscape 0.92.2 2405546, 2018-03-11
With "Prefer dark GTK3 theme" enabled and applied.
Comment 8 Christoph Feck 2018-08-03 16:34:18 UTC
Changing status until we find someone who knows how to investigate this issue.
Comment 9 Nate Graham 2020-09-28 23:53:32 UTC
Is this still an issue with Inkscape 3.0 which uses GTK3, when run in KDE Plasma 5.19 or the 5,20 beta? I can't reproduce it.
Comment 10 DrSlony 2020-09-29 07:07:41 UTC
Tested Inkscape 1.0 in KDE using Breeze Dark, using Plasma 5.19.4, Frameworks 5.72.0 and Qt 5.15.0.

No longer an issue - Inkscape launched both ways shows the same correct colors with clearly visible tooltips.