gTile
gTile copied to clipboard
Linux Mint 17.2, panel height doesn't get subtracted
As you can see the height of the panel doesn't get subtracted.
+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
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
+1 same issue here to.
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.
Thanks jvonhoff, i did that change and it works in my cinnamon 2.6.13.
+1: same bug here, running on cinnamon 2.6.13 on Ubuntu 15.10.
+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.
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