[Users] GTK2 Vs. GTK3 Code for Color Labels?

Paul paul at claws-mail.org
Sun Jun 12 09:23:52 CET 2022


On Sun, 12 Jun 2022 12:21:22 +0600
Dustin Miller <dustbiz at gmail.com> wrote: 

> So far, my current approach is to just keep trying different themes to
> see if I can find one that doesn't show this problem. I will probably
> keep doing this unless / until I'm successful or I find a better angle
> to troubleshooting this, but so far I haven't been successful.

I've never had the problem  described, and tried several times to reproduce
it but never could. Colour labels always work correctly here.

My latest guess is that, although the chosen theme seems important, what also
matters is desktop effects. If the desktop greys-out inactive windows or
otherwise messes with the colouring, then the problem occurs. But, like I
say, I have not been able to reproduce the problem.

I use the Greybird-Pro gtk3 theme. If you try this one yet still get the
problem, then that would give more weight to the theory that it is not a theme
problem but a DE problem.

> What would be the best / easiest way for me to get an idea of how the
> Claws Mail code for setting color labels in the message summary view
> has changed from the GTK2 versions to the GTK3 port / versions?
> 
> I am also interested in finding out more about the difference between
> how GTK2 interacts with the message summary view 'object' and how GTK3
> interacts with it, but I realize that may be off-topic here.

You can diff the files, src/summaryview.c and src/gtk/colorlabel.c to see the
changes between gtk2 claws-mail and gtk3 claws-mail. There are not many.
Probably more relevant is what /has not/ changed. The summaryview uses ctree
to build its layout, the newer gtk way to do this is the slower treeview.

with regards

Paul


More information about the Users mailing list