Closed AndreiMiculita closed 3 years ago
Can you upload a screenshot of the issue?
It happens when Firefox is maximized. Top border with XP Metallic (happens with all variations):
Note the black bar at the top, I've measured it and it's 6px.
No top border with Linux Mint-Y-Dark (the default theme in Mint):
will try the fix later today
@AndreiMiculita you were very close. Metacity won't parse the border override without left and right attributes. Including
<border name="button_border" left="0" right="0" top="1" bottom="0"/>
solves this. I'm pushing the fix in a little bit, thanks for pointing out the solution
1216024 fixes this
https://github.com/B00merang-Project/Windows-XP/blob/2c396d29faaa0687c8fb1cb84541a9e1de675f53/Windows%20XP%20Luna/metacity-1/metacity-theme-3.xml#L98-L105
When in borderless mode (e.g. Firefox uses this, to show the tabs at the very top edge of the screen) there is a 6px top border. I assume it's because of the top and bottom button borders defined in
normal
mode, whichborderless
inherits from:https://github.com/B00merang-Project/Windows-XP/blob/2c396d29faaa0687c8fb1cb84541a9e1de675f53/Windows%20XP%20Luna/metacity-1/metacity-theme-3.xml#L47
Overriding the border by adding:
After line 104 seems to fix this. But my DE's weird caching interfered with testing this so I'm not sure if it introduces more issues.
It's an issue because it makes it more difficult to switch tabs, as they are not at the edge of the screen.