gTile icon indicating copy to clipboard operation
gTile copied to clipboard

Linux Mint 17.2, panel height doesn't get subtracted

Open illmat opened this issue 9 years ago • 8 comments

As you can see the height of the panel doesn't get subtracted. screen

illmat avatar Jul 29 '15 17:07 illmat

+1

I have the same problem. Additionally, when panel has auto hide option enabled panel height is subtracted.

Problem with if ... else? ;)

Cinnamon 2.6.13

screenshot from 2015-08-18 16 06 12

v0y avatar Aug 18 '15 14:08 v0y

I think you should use getPanel method instead of Main.panel and Main.panel2.

Probably first bad commit on Cinnamon's repo is here: https://github.com/linuxmint/Cinnamon/commit/2d1d5417d6b9eaced744a944d822e7a871601713#diff-3b6207d7724bf19d69e904032034e026L93

v0y avatar Aug 18 '15 14:08 v0y

+1 same issue here to.

mymatejohn avatar Oct 20 '15 10:10 mymatejohn

Actually, I think the problem is with the panel.IsHideable() call... If I set my panel to Always Show, then I would expect isHideable() to return false per the dev docs. However, if I test it using Melange with Exec "Main.panel.isHideable()", it returns true. This causes the panel's height to be ignored.

For now, I'm removing the isHideable call in my installation, which fixes this issue.

jvonhoff avatar Jan 13 '16 23:01 jvonhoff

Thanks jvonhoff, i did that change and it works in my cinnamon 2.6.13.

anfe0690 avatar Jan 17 '16 00:01 anfe0690

+1: same bug here, running on cinnamon 2.6.13 on Ubuntu 15.10.

fiddlemath avatar Mar 01 '16 22:03 fiddlemath

+1: I have the same problem, running on cinnamon 2.8.6 on Linux Mint LMDE 2 Betsy. Also, the change suggested by jvonhoff works for me too.

mattmart3 avatar Apr 07 '16 08:04 mattmart3

Can fix this issue by jvonhoff's comment need to remove all Main.panel.isHideable() in ~/.local/share/cinnamon/extensions/gTile@shuairan/extension.js

Cinnamon 2.6.13

chaopeng avatar Feb 28 '17 18:02 chaopeng