gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.34k stars 294 forks source link

Unable to open the preferences menu when using the Ketsa icon theme #2205

Open FelixFourcolor opened 5 months ago

FelixFourcolor commented 5 months ago

Reproduce:

Screencast from 2024-01-19 08-20-13.webm

Same result if I try to open the preferences menu via keyboard shortcut Ctrl + Shift + P.

Arch Linux Tilix 1.9.6-2 Gnome Same behavior on both Wayland and X


EDIT: I don't have access to a tilix app without the borderless mode, so I can't test if it's actually the borderless mode that causes the issue. But I just turned it on yesterday (using the preferences menu!), so it being the culprit is my best guess.


EDIT 2: Thanks to @237dmitry I was able to reset the window mode and found out that borderless mode has nothing to do with it. The preferences menu is still broken.


EDIT 3: Thanks to @jobukkit for pointing out that this is in fact an issue with the Ketsa icon theme. I don't know who is at fault so I leave this issue at the discretion of the admins, while also opening an issue in the Ketsa repo: https://github.com/zayronxio/ketsa-icon-theme/issues/5

FelixFourcolor commented 5 months ago

Before the issue is fixed, please advise how I can get around it, e.g., how to disable windows borderless mode without the preferences menu?

237dmitry commented 5 months ago

how to disable windows borderless mode without the preferences menu?

dconf write /com/gexperts/Tilix/window-style "'normal'"

And restart Tilix

237dmitry commented 5 months ago

Try changing the gtk style. Perhaps it somehow affects the settings window. I recently encountered a similar problem.

FelixFourcolor commented 5 months ago

Running tilix commands doesn't give me any gtk warning like yours, so I guess that's not it. Also changing gtk themes does nothing.

jobukkit commented 5 months ago

This happens to me when using the Ketsa icon theme. It does not happen with the default Adwaita icon theme.

When running Tilix from another terminal, the following error is logged when it closes:

(tilix:10173): Gtk-WARNING **: 19:43:56.825: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
2024-01-27T19:43:56.825 [error] app.d:166:main Er is een onverwachte fout opgetreden
2024-01-27T19:43:56.825 [error] app.d:167:main Fout: XML parse error: Error domain 1 code 76 on line 8 column 10 of data: Opening and ending tag mismatch: svg line 1 and defs
FelixFourcolor commented 5 months ago

@jobukkit Indeed that solves it. Thank you! I didn't think of changing icon theme or running tilix in a different terminal.

Should I close this issue, seeing that this seems to be Ketsa's fault? Or could tilix do something about it?