Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-themes/arc-theme-20221218 issue with window border xfce
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 694
Location: Ásgarðr

PostPosted: Sat Mar 29, 2025 8:02 pm    Post subject: x11-themes/arc-theme-20221218 issue with window border xfce Reply with quote

Hello,
My system updated to x11-themes/arc-theme-20221218 (all previous versions were dropped yesterday)
And now all my window have a really nasty and thick border around (around 4px size I think)
Also, no more option to generate the assets with inkscape with the new ebuild (maybe upstream decision), I'm not sure if it is related or not.
Previous version (20210412) doesn't have this issue. (1px windows border)
Also, out of curiosity, I tried other themes (gtk3) like Adwaita, Clearlooks-Phoenix and they all have that thick border so maybe it comes from something else.
That said, if I reinstall previous version (20210412) from my localrepo, then the thin border are back.

Is there a way to force gtk3 (?) to use thin as possible border for windows ?
Thanks

PS : I'm using xfce
x11-themes/arc-theme-20221218 (gtk2 gtk3 gtk4 transparency xfce -cinnamon -gnome-shell -mate)

edit : Made a screenshot so you can see the difference (see the right side of xfce4-terminal window)
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 694
Location: Ásgarðr

PostPosted: Mon Mar 31, 2025 5:12 am    Post subject: Reply with quote

Probable cause: https://github.com/eco32i/arc-theme/commit/b540d9273c72a01d958b045274b1da6afc4a94b3

Code:
xfwm4: Increase resize border width
The resize area for windows in xfwm4 only consists of the actual,
border area, and not any area outside the decorations like with many
other window managers [1]. Due to this, thin decoration borders
cause windows resizing to be difficult.

Increase border width on Arc decorations from 2px to 4px, which
should considerably improve the situation, while still keeping
the borders thin enough to fit the Arc design.

This also fixes the appearance of the outer border of dark window
decorations, where the titlebar has 1px dark border, when it is 2px
wide around rest of the window.

[1] https://gitlab.xfce.org/xfce/xfwm4/-/issues/176


This explains also why I don't see the issue with openbox, only xfce is affected.
Well, I understand the reasoning but so far I've never had any trouble with resizing.
Anyway, this commit introduces a new setting for common/xfwm4/dark/themerc

Code:
frame_border_top=4


and pre-rendered assets with a bigger border. (4px)
I wonder if I can modify the current ebuild to bring back inkscape + a patch with this commit reverted.
I'll update this thread later.
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