Remove Tab Spacing in ALL Windows (not just Maximized ones)
-
Does anyone know how to have Vivaldi remove those annoying few pixels above the tabs?
I'm running i3, therefore have no window decorations, and even when Vivaldi is occupying the whole screen, the tabs don't reach all the way to the top of the screen. I'm assuming the "Remove Tab Spacing in Maximized Windows" setting is supposed to handle this for maximized windows, but it's not working that way in i3. Perhaps the windows aren't registered as maximized.
-
@huladaddy: How would you propose this be done, as a non-maximized window HAS no fixed relationship with the top of the screen? As it's not maximized, you can move it anywhere. I fear somehow your system, and not Vivaldi, is doing this - if you have the spacing turned off. If, indeed, it were NOT maximized, you could stretch it to the top of the screen yourself! If you can't that would not be Vivaldi's doing.
-
Yes, but the tabs DO have a fixed relationship with the top of Vivaldi's window. Maybe you got confused when I was talking about i3. If you don't know what that is, that's OK. In my instance, windows are always "maximized", for sake of simplicity.
The bottom line is that I want to eliminate the padding between the top of the tabs and the top of the window in all cases, maximized or not.
-
@huladaddy: I've never cared one way or the other if the tabs went all the way up or not, partly because I could not be affected by the issue, ever, since I keep my tabs on the side. So I've not been a careful observer of how Vivaldi handles this. I did a little experimentation and it's true, under all circumstances, whether free-floating, snapped to an edge, or whatever, even if you turn off the top space for maximized, it is only good for maximized. The space is preserved within the Vivaldi window for all other conditions. Somewhere in the back of my head has always been the question: Why only "when maximized?" Perhaps the developers want to leave something to grab onto to drag or stretch a non-maximized window.
Please put in a feature request on the same page where you file a bug report.
-
It's actually very easy with this css mod
https://forum.vivaldi.net/topic/11503/tab-gap-on-minimized
I've added it in VivaldiHooks and works nicely. -
Thanks very much for testing that! Nice to have it confirmed. See, in my case, the tabs are along the top of my screen. When, I want to select a tab, I slide my cursor to the top of the screen over a tab, then I have to bring it down a few pixels to select a tab. Basic UI no no.
-
@iAN-CooG OK. Really cool. I wasn't aware of your project, nor all the other activity happening in Modifications... Heading there now!
-
@iAN-CooG I managed to move the tabs to the top (removed the padding), but now it appears that the top 5 pixels or so of the tab are not clickable. So if I click to the top pixel of a tab, it doesn't get selected. Is there a setting in the css for that?
-
@aesouza So I'm just playing with editing common.css. How are you doing it? Is there a preferred method?
And yes I did something very similar to you, but the top few pixels of the tab don't select the tab. Are you getting that too?
-
@aesouza Thanks. That's very helpful. For what I'm doing, I think that will work fine. Is the code snippet above starting "#tabs-container..." by itself a valid custom.css file?
-
@aesouza said in Remove Tab Spacing in ALL Windows (not just Maximized ones):
To answer your question, after using the code I posted in the previous post, even if I press the mouse cursor against the top of the screen and slide horizontally, the relevant tab is highlighted. I don't have to move down any amount at all.
I just tested this. I am not able to select a tab near the top of the tab, but I am with FireFox, so it does seem to be Vivaldi related.
-
FYI tried various window managers.
Seems to be a combination of Vivaldi code and the implementation of the window manager.
Using the custom csspadding-top: 0px !important;
I still have a non responsive edge at the top in i3-wm and xfwm4 while in openbox, compiz and metacity the tabs are clickable at top of screen..Using i3-wm with google-chrome, Opera or Firefox the tabs are clickable at the very top.
-
@CantankRus said in Remove Tab Spacing in ALL Windows (not just Maximized ones):
FYI tried various window managers.
Seems to be a combination of Vivaldi code and the implementation of the window manager.
Using the custom csspadding-top: 0px !important;
I still have a non responsive edge at the top in i3-wm and xfwm4 while in openbox, compiz and metacity the tabs are clickable at top of screen..Using i3-wm with google-chrome, Opera or Firefox the tabs are clickable at the very top.
Interesting... Thanks for researching. Wonder what can be done?
-
@huladaddy
Don't know sorry.
Never used i3 before. Just installed to see how it behaved. -
@aesouza
Don't know ...it's a tiling window manager that probably needs a bit of reading to understand config.
i3 arch wiki
Seems pretty slick to use for a keyboard aficionado, but I'm more of a mouse man(some say I'm just a rat). -
@aesouza said in Remove Tab Spacing in ALL Windows (not just Maximized ones):
@CantankRus said in Remove Tab Spacing in ALL Windows (not just Maximized ones):
@huladaddy
Don't know sorry.
Never used i3 before. Just installed to see how it behaved.I haven't tried i3: does it have a setting to remove window borders (and decorations)?
Yes, it does.
https://i3wm.org/docs/userguide.html#_border_style_for_new_windows
-
Tried a number of settings...
new_window normal 0 new_float normal 0 for_window [class="Vivaldi-stable"] border pixel 0 hide_edge_borders vertical hide_edge_borders horizontal hide_edge_borders both
No luck.
-
Not sure this will work, but a regex match works better for browser windows on i3. Do remember to restart i3
for_window [class="(?i)vivaldi-snapshot"]
-
@aesouza said in Remove Tab Spacing in ALL Windows (not just Maximized ones):
@CantankRus said in Remove Tab Spacing in ALL Windows (not just Maximized ones):
Tried a number of settings...
...
No luck.What are you using in
vivaldi://settings/appearance/
? Is "Use Native Window" ticked? Would that make a difference?Tried ticked and unticked.
Reloaded i3 config with Super+alt+c and restarted vivaldi after any changes.
Also tested by logging out and back in. -
Check the "Remove Tab Spacing in Maximized Windows" option in Vivaldi's tab settings. The gap disappears.