Bug 1963223 - HexChat not using default GTK theme
Summary: HexChat not using default GTK theme
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hexchat
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Griffis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-21 17:39 UTC by friedsector
Modified: 2021-05-23 19:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-22 16:17:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
HexChat windows on Fedora 34 with Adwaita-dark theme (170.61 KB, image/png)
2021-05-21 17:39 UTC, friedsector
no flags Details
HexChat windows on Fedora 32 with Adwaita-dark theme (233.72 KB, image/png)
2021-05-23 10:10 UTC, friedsector
no flags Details

Description friedsector 2021-05-21 17:39:58 UTC
Created attachment 1785675 [details]
HexChat windows on Fedora 34 with Adwaita-dark theme

Description of problem:

HexChat does not use the default GTK theme set by the user (e.g. Adwaita or Adwaita-dark). It appears to be using a fallback theme, which happens to be Win95-styled (see attached screenshot).

Version-Release number of selected component (if applicable): hexchat-2.14.3-13.fc34.x86_64

How reproducible: Always

Steps to Reproduce:

1. Install HexChat: dnf install -y hexchat
2. Start HexChat (e.g. from application menu)

Actual results:

HexChat does not use the default GTK theme set by the user (e.g. Adwaita). The only output I can see from command line is:

Gtk-Message: 19:20:11.415: Failed to load module "pk-gtk-module"

Expected results:

HexChat should be themed according to the user-chosen GTK theme (e.g. Adwaita).

Additional info:

I can reproduce this bug on a fresh install of Fedora 34 Workstation.

Comment 1 friedsector 2021-05-21 19:21:34 UTC
Installing adwaita-gtk2-theme fixes the issue. Shouldn't that package be a dependency of hexchat?

Comment 2 Patrick Griffis 2021-05-22 16:17:39 UTC
No. HexChat can use any theme and depends on none.

If Fedora wants gtk2 applications to use a specific theme it should have that package depend on a theme.

Comment 3 friedsector 2021-05-22 16:31:49 UTC
(In reply to Patrick Griffis from comment #2)
> No. HexChat can use any theme and depends on none.
> 
> If Fedora wants gtk2 applications to use a specific theme it should have
> that package depend on a theme.

I reported this issue because in Fedora 32 HexChat's default theme didn't look out of place. Thus, from a user perspective, this looks like a bug introduced in Fedora 34 (or even 33, I cannot say for sure because I skipped that release).

Comment 4 friedsector 2021-05-23 10:10:12 UTC
Created attachment 1785960 [details]
HexChat windows on Fedora 32 with Adwaita-dark theme

Here's how HexChat looks by default with Adwaita-dark theme set on Fedora 32.

As you can see, it's quite different from what have in Fedora 34.

Comment 5 friedsector 2021-05-23 10:19:42 UTC
Please ignore the white background, as that is styled according to HexChat's own color palette (which happens to be light rather than dark).

Comment 6 Kevin Fenzi 2021-05-23 19:56:48 UTC
This was a deliberate decision of the Workstation working group. 
See https://pagure.io/fedora-workstation/issue/180

I guess you could open a new ticket there if you would like them to reconsider.


Note You need to log in before you can comment on or make changes to this bug.