Open pierreporte opened 7 years ago
Can't I push work in progress anymore? :-P Plus that looks like some style bug with broken default layouts, they should have no margins.
I can’t test a lot of styles for now, especially Adwaita. Fusion is shown on my screenshots. With clearlooks and Windows styles, there is no border with web pages:
The next AppImage that includes this commit will enable me to test with Adwaita style.
@pierreporte, my Fusion works just fine (with webpages, I'm still not sure if extra line in case of special pages can be even considered an issue, it's just a change). Are you using any stylesheets for widgets?
BTW, it's a good idea to ask about such stuff on IRC first, that would really improve workflow. :-P
@Emdek No I don’t use any custom stylesheets.
Next time, I’ll try to think about IRC first.
I just tested the weekly 167 AppImage that uses the Adwaita theme. The border is absent with web pages.
@pierreporte, the only sensible solution seems to be forcing it everywhere except macOS style (since they do it right). Fusion is very close but for some reason doesn't draw line for Status Bar.
If you are going to force thing for themes, maybe it’s a sign that it it time to have a full custom theme like any other browser. Then we would control everything on every platform. By the way, it would allow issues #36, #116, (at least a part of) #190, #847, #1010, and several others to be closed.
@pierreporte, even if there will be some fully custom style I still don't want to force it, one of the original goals of this project was to provide as good integration with system as possible, but under X11 it is harder since there are simply too many completely different styles...
I'm considering a bit different approach, going for separate wrappers with fine some minor tuning for styles like Fusion (since it is ALWAYS available), Oxygen and Breeze (these don't suffer much from these borders but maybe they could be improved slightly), Ambiance (it already has own code path in FreeDesktopOrgPlatformStyle
, and Unity will be relevant in years to come, but Canonical failed to prepare Qt style counterpart, which is trivial when you just want to get these blackish backgrounds...) and maybe one or two popular GTK themes.
Others will have to fallback to current approach (used everywhere except of default style under macOS) or need support from third parties.
Appeared with dda5d5cb77787e43dd9d45aceb686004d7c664aa.
With widget pages, there is a double border:
With normal pages, the extra border disappears but the margin between the two borders doesn’t: