Menubar colors is reseted
A GUI for the 'pacman' package manager of Arch Linux
Brought to you by:
herremaw
If a theme change the menubar colors, tkPacman ignore it by destroying by clearing the options.
This make the menubar and the menus looking like not integrated into the other elements of interface (see the capture).
This can be easily corrected by removing the "option clear" line 124 of main.tcl.
Patch :
--- /usr/share/tkpacman/main.tcl 2021-11-09 11:28:58.000000000 +0100
+++ main.tcl 2023-05-10 17:02:32.671413736 +0200
@@ -121,7 +121,6 @@
# background colour from KDE and the other widgets take it from
# the Tk theme.
set themeBackground [ttk::style lookup TFrame -background]
-option clear
option add *Toplevel.background $themeBackground
option add *Message.background $themeBackground
{.} configure -background $themeBackground
Thank you for notifying me of this problem and also for providing me with the solution.
I am using tkPacman with XFCE and never had this problem.
I will start working on a corrected version of tkPacman, but I will need some time because I have not been working on tkPacman for a long time and it now seems almost like a new project to me. Also, I will have to install an Archlinux system with KDE instead of the one with XFCE that I am using daily.