View Single Post
Old 05-25-2025, 02:58 PM   #36
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,705
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It's a Mate thing as far as I can tell. I set up a VM with Ubuntu Mate 24.04.2 and I'm seeing the same thing. No color in the list widget indicating single (or multiple selections). Hoping to rule out the AppImage, I installed the necessary system Python pieces and had the AppImage use the system Python. The results were the same. So I installed the version of Sigil that Ubuntu had in its repos and tried that. Again the the same.

So with a bit of Python code, I dumped what the default colors were for the tkinter list box, and sure enough, the background color and the selectbackgroundcolor are identical. That's why you can't see what's highlighted in the widget. What I don't know is 1) how Mate is forcing this tkinter theming, and 2) how/why the AppImage's bundled Python and tkinter are picking up on it.

I can manually override the colors in my plugin easily enough, but that's an ugly solution.
DiapDealer is offline   Reply With Quote