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

scrollbar doing weird things #997

Open
jmercat opened this issue Apr 13, 2016 · 10 comments
Open

scrollbar doing weird things #997

jmercat opened this issue Apr 13, 2016 · 10 comments

Comments

@jmercat
Copy link

jmercat commented Apr 13, 2016

On ubuntu 14.04 the scrollbar has a handle that shows or hide.
In geany with the sidebar open if I pull the up/down editor's handle on the left side instead of up or down, it changes the sidebar' size.... Then the scrollbar handle won't appear anymore in that specific tab.

@elextr
Copy link
Member

elextr commented Apr 13, 2016

You need to explain what you mean more.

Which scrollbar are you talking about? The scrollbars are on the right of the window they apply to (in normal use). The scrollbars for the edit window are always present, they do not disappear even with a totally empty file.

The scrollbar for the sidebar appears and disappears depending on the content of the window, if everything fits the window, no scrollbar is shown since it is not needed. It would not do anything if it was shown. This is normal behaviour of the GTK scrollbar widgets.

There is a handle on the left of the edit window which changes the relative widths of the sidebar and edit window panes. Are you trying to use this as a scrollbar?

@jmercat
Copy link
Author

jmercat commented Apr 13, 2016

Hi, I really don't know the names of every part of the interface so I made a video to show what happens. https://drive.google.com/file/d/0BxqMIR6Egul9MjBCVUtzWFFPdms/view?usp=sharing
At first we see the handle on the right appearing correctly. Then I click on it and pull it left, the sidebar comes to the pointer in resize mode which is surprising. Then, the handle on the right do not appear anymore. I hope this is more clear now. Thank you for such a quick response.

@elextr
Copy link
Member

elextr commented Apr 13, 2016 via email

@jmercat
Copy link
Author

jmercat commented Apr 13, 2016

Here are the informations you asked for:
Geany 1.23.1, en_US.UTF-8
GTK 2.24.23, GLib 2.40.2
I'm using a hp ProBook 640
cpu: Intel® Core™ i5-4210M CPU @ 2.60GHz × 2
gpu: Intel® Haswell Mobile

@elextr
Copy link
Member

elextr commented Apr 13, 2016

Which Ubuntu desktop environment?

On 13 April 2016 at 21:47, jmercat notifications@github.com wrote:

Here are the informations you asked for:
Geany 1.23.1, en_US.UTF-8
GTK 2.24.23, GLib 2.40.2
I'm using a hp ProBook 640
cpu: Intel® Core™ i5-4210M CPU @ 2.60GHz × 2
gpu: Intel® Haswell Mobile


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#997 (comment)

@jmercat
Copy link
Author

jmercat commented Apr 13, 2016

ah yes it is unity

@jmercat
Copy link
Author

jmercat commented Apr 13, 2016

to be more precise, unity 7.2.6

@elextr
Copy link
Member

elextr commented Apr 13, 2016

Ok, I don't think any Geany contributors use Unity, so it isn't tested, and we know Ubuntu makes changes to the GTK graphics libraries. The Mint I use is based on Ubuntu 14.04 and has the same versions of GTK and Glib but uses the cinnamon desktop and does not exhibit the problem (with current Geany 1.27).

Also 1.23.1 is a pretty old version of Geany, but I realise its the one provided by the Ubuntu long term support version. Unless someone who uses unity can investigate and confirm, maybe you can try a newer version (1.27) of Geany from the PPA.

If not maybe you best bet is to wait until the next long-term Ubuntu release later this month and try it and the version of Geany it supplies.

@jmercat
Copy link
Author

jmercat commented Apr 13, 2016

Thank you for your explanations and advises. And thank you for your contribution to geany which is my favourite editor. I'll try the next long-term release and see what happens.

@codebrainz
Copy link
Member

Ubuntu uses it's own GTK+ module/plugin for those Mac-style overlay scrollbars, see this answer for how disable them (untested, I don't use Unity).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants