[Xfce-bugs] [Bug 14523] Wrong border

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jul 8 17:18:09 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14523

Andre Miranda <andreldm at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreldm at xfce.org

--- Comment #3 from Andre Miranda <andreldm at xfce.org> ---
This issue exists since at least 1.7.0, funny no one noticed until now.

This inner border is rendered by thunar_standard_view_draw when drop_highlight
is true. These are the dimensions of standard view:
No tabs -> x: 0, y: 0, w: 869, h: 549
With tabs-> x: 0, y: 34, w: 869, h: 515

I hard-coded the y value as 0 and it seems works well, though it feels kinda
hack.

Another approach is to introduce a style class, e.g. "dnd-target", with
"border: 1px solid black;" and toggle it for standard view based on the value
of drop_highlight. However, the border property can somehow be overridden by
the theme.

Alex, what do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list