Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Claws-Mail with gtk3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3254
Location: de

PostPosted: Fri Aug 14, 2015 5:51 am    Post subject: Claws-Mail with gtk3 Reply with quote

Hi there,

I'm using for ages Claws-Mail (and before Sylpheed Claws). Claws-Mail in portage with standard Use-Flags uses GTK2.

Recently I bought a new notebook with a HiDPI display (13,3" with 3200x1800). While most KDE and GTK3 stuff works quite well, there occur some problems with GTK2 programs. In Claws-Mail (GTK2) the problem raises, when I want to compose a message. The address lines disappear under the sender line.

After some searching I found a feature request for porting Claws-Mails to GTK3 from 2011. Portage also has at least a gtk3-USE-flag for Claws-Mail. But for some reasons, it will be always built with gtk2.

Code:
USE="gtk3" emerge -1pvt claws-mail

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild    N   ] mail-client/claws-mail-3.11.1-r1::gentoo [3.11.1-r1] USE="dbus doc gnutls imap libindicate libnotify networkmanager nntp notification pdf perl pgp python session spell startup-notification webkit -archive -bogofilter -calendar -clamav -debug -gdata (-gtk3) -ipv6 -ldap -libcanberra -pda -rss -smime -spam-report -spamassassin -valgrind -xface" PYTHON_TARGETS="python2_7" 0 KiB


Now my knowledge of the ebuild internals are limited. I tried to some modifications inside the ebuild but without any success.

How could I force claws-mail to build with gtk3?
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Fri Aug 14, 2015 6:27 am    Post subject: Reply with quote

that was me, finished only the glib 2.24 cleanup (at that time) and initial gtk-3.0 #ifdef'ing.
a claws-mail developer ported their tree/list structures to cairo.

it started linked to gtk3 but was not usable. I guess it is not any better today.

it would need another round of cleanup and the real port to gtk-3.

sorry, bad luck with gtk3 for claws-mail for now.
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3254
Location: de

PostPosted: Fri Aug 14, 2015 10:56 am    Post subject: Reply with quote

Nevertheless thanks.

Would it be useful to send a bug report regarding the HiDPI issues to the claws-mail bugtracking system? So at least it could be fixed in gtk2.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Fri Aug 14, 2015 11:43 am    Post subject: Reply with quote

well, I had an issue with Win10 and not having 100% display scaling. I guess that is related.

you may report it. if someone will work on it, I don't know. surely better, if you attach a patch. ;)

does gtk2 support HiDPI/dpi scaling? any documentation available?
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3254
Location: de

PostPosted: Fri Aug 14, 2015 4:21 pm    Post subject: Reply with quote

geki wrote:
does gtk2 support HiDPI/dpi scaling? any documentation available?

AFAIK it doesn't. Of course you can scale the fonts. But the icons are not scaled up.

If the programms using gtk2 allow select different icon sizes it's almost possible to make it somehow HiDPI aware. E.g. with Gimp it's possible - more or less. But in detail it doesn't look like a native HiDPI supporting UI Toolkit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum