Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead zone on Firefox tab-bar in Linux Mint 19.2, Cinnamon #21

Open
catscratchedme opened this issue Dec 21, 2019 · 11 comments
Open

Dead zone on Firefox tab-bar in Linux Mint 19.2, Cinnamon #21

catscratchedme opened this issue Dec 21, 2019 · 11 comments

Comments

@catscratchedme
Copy link

catscratchedme commented Dec 21, 2019

Expected behavior: Usually, if you drag your mouse to the very top of the maximized Firefox window, the tabs and new tab button are clickable.

Bug behavior:
When using the Windows-10-Dark-3.0-dark window borders, you cannot select tabs or click the new tab button when your mouse is all the way at the top of the screen. Instead, you grab and drag the Firefox window itself.

This bug happens when:
The Firefox title bar is removed (Options > Customize > uncheck "Title bar")
The Firefox window is maximized.
Window borders for Windows-10-Dark-3.0-dark are selected

@Elbullazul
Copy link
Member

there is a 1px top border when maximized, which probably causes the bug. I'll have a look at it as soon as possible but it should be easy to patch

@Elbullazul
Copy link
Member

in metacity-1/metacity-theme-3.xml, try replacing

<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
	<distance name="left_width" value="0" />
	<distance name="right_width" value="0" />
	<distance name="left_titlebar_edge" value="2"/>
	<distance name="right_titlebar_edge" value="2"/>
	<distance name="title_vertical_pad" value="2"/> <!--
							This needs to be 1 less then the
							title_vertical_pad on normal state
							or you'll have bigger buttons		-->
	<distance name="bottom_height" value="1" />
</frame_geometry>

with

<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
	<distance name="left_width" value="0" />
	<distance name="right_width" value="0" />
	<distance name="left_titlebar_edge" value="2"/>
	<distance name="right_titlebar_edge" value="2"/>
	<distance name="title_vertical_pad" value="2"/> <!--
							This needs to be 1 less then the
							title_vertical_pad on normal state
							or you'll have bigger buttons		-->
	<distance name="bottom_height" value="1" />
	<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>

@leogx9r
Copy link

leogx9r commented Jan 22, 2020

@Elbullazul Fixed it for me. Currently using Cinnamon v4.4.8.

@catscratchedme
Copy link
Author

That fix is not working for me.

Linux Mint v19.3
Firefox v73.0
Cinnamon v4.4.8

@Elbullazul
Copy link
Member

@vroop do you have the client-side titlebar enabled?

in settings>customize, on the botttom, is the titlebar checkbox checked?

@leogx9r
Copy link

leogx9r commented Feb 21, 2020

And this broke again. Also using v73 of Firefox.

FTR, @Elbullazul I do have the title bar checkbox selected.

@Elbullazul
Copy link
Member

@leogx9r if you have CSD enabled, then yes, it won't work since it's a GTK headerbar and not the metacity titlebar. Try unchecking it and restarting

@catscratchedme
Copy link
Author

@Elbullazul

do you have the client-side titlebar enabled?

I'm not sure what this means, sorry :(

in settings>customize, on the botttom, is the titlebar checkbox checked?

Yes, I have the Firefox titlebar checkbox unchecked.

My intention is to have the Firefox tabs on the top, so I can throw my mouse up to the edge of the screen and select tabs without concentrating on aim.

@Elbullazul
Copy link
Member

client-side titlebars (CSD) are window borders drawn by the app itself, instead of the window manager (server-side decorations, SSD).

ex.
csd-ssd

left is CSD, right is SSD

can you post a screenshot of the problem? I can't say for sure which one is enabled when the toggle is unchecked

@SakiiCode
Copy link

Same problem here

How it works now when maximized (clicking doesn't change tabs rather wants to move the window):
actual

How it should work:
desired

I have the title bar disabled
checkbox

@catscratchedme
Copy link
Author

The screenshots SakiiCode posted describe my situation as well.

@Elbullazul Elbullazul added this to Enhancements in Global bug tracker Nov 26, 2020
@Elbullazul Elbullazul moved this from Enhancements to Bugs in Global bug tracker Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

4 participants