Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-06

broken scrollbars under Ubuntu 11.04

9 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Apologies if this was mentioned already... I don't follow all messages in the mailing list.

I've just installed Ubuntu 11.04 (64-bit) on my system. This is rather odd for me, because I much prefer to stay with the more stable LTS releases, but I thought I wanted to try Unity.

Anyway, my system is up and running (sort of). I'm using the Ubuntu Classic (Gnome 2.x) interface (not the useless Unity). In Ubuntu, the scrollbars are now very thin by nature. Also there is no scroll-thumb or arrow buttons visible any more. But if the mouse moves over where the scrollbar should be, a scroll-thumb appears (OUTSIDE the window bounds - how weird is that!).

Inside the Lazarus IDE, all horizontal scrolling with this new scroll-thumb is broken. The scrollbar moves, but the content doesn't. Vertical scrollbars seem to work fine. I test with the Editor and Project Inspector windows.

The new Ubuntu scroll-thumb is also clickable. So when I click the left or right arrows to step scroll horizontally, the Lazarus IDE windows actually scroll vertical instead of horizontal! :-/

I must say my experience with Ubuntu 11.04 is not good at all, and am seriously considering moving back to Ubuntu 10.04 LTS. As far as I can see, Ubuntu 11.04 is Alpha quality work and very inconsistent UI - so if you were considering to move to it, DON'T!

Anybody else noticed these broken horizontal scrollbar behaviour in Lazarus IDE? I have only tested with Lazarus 0.9.30.x. I have recompiled my IDE (with GTK2 widgetset) to see if that makes a difference, but it didn't. I'll update my Trunk copy and see how that goes, and report back here.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys

Actually all scrolling, by dragging the scrollbar thumb button, is broken in Lazarus IDE. This is for both Horizontal and Vertical scrolling.

Other GTK2 applications (like gEdit etc) do not have this problem.

G.

Reply by email

Ludo Brands
to Graeme Geldenhuys: Apologies if this was mentioned already... I don't follow all messages in the mailing…

There is already a bugreport for this one:
http://bugs.freepascal.org/view.php?id=19266

Scrolling is broken with overlay scroll bars for those controls where LCL manages the scrolling.

Ludo

Show quoted text 66 lines
-----Message d'origine----- De : Graeme Geldenhuys [mailto:] Envoy? : mardi 7 juin 2011 14:20 ? : Lazarus mailing list Objet : [Lazarus] broken scrollbars under Ubuntu 11.04 Hi, Apologies if this was mentioned already... I don't follow all messages in the mailing list. I've just installed Ubuntu 11.04 (64-bit) on my system. This is rather odd for me, because I much prefer to stay with the more stable LTS releases, but I thought I wanted to try Unity. Anyway, my system is up and running (sort of). I'm using the Ubuntu Classic (Gnome 2.x) interface (not the useless Unity). In Ubuntu, the scrollbars are now very thin by nature. Also there is no scroll-thumb or arrow buttons visible any more. But if the mouse moves over where the scrollbar should be, a scroll-thumb appears (OUTSIDE the window bounds - how weird is that!). Inside the Lazarus IDE, all horizontal scrolling with this new scroll-thumb is broken. The scrollbar moves, but the content doesn't. Vertical scrollbars seem to work fine. I test with the Editor and Project Inspector windows. The new Ubuntu scroll-thumb is also clickable. So when I click the left or right arrows to step scroll horizontally, the Lazarus IDE windows actually scroll vertical instead of horizontal! :-/ I must say my experience with Ubuntu 11.04 is not good at all, and am seriously considering moving back to Ubuntu 10.04 LTS. As far as I can see, Ubuntu 11.04 is Alpha quality work and very inconsistent UI - so if you were considering to move to it, DON'T! Anybody else noticed these broken horizontal scrollbar behaviour in Lazarus IDE? I have only tested with Lazarus 0.9.30.x. I have recompiled my IDE (with GTK2 widgetset) to see if that makes a difference, but it didn't. I'll update my Trunk copy and see how that goes, and report back here. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Ludo Brands
to Graeme Geldenhuys: Actually all scrolling, by dragging the scrollbar thumb button, is broken in Lazarus IDE.…

Ubuntu is maintaining a growing blacklist of applications that don't work with overlay scrollbars: firefox, chrome, eclipse,... wx-widgets applications are also broken.

Ludo

Show quoted text 23 lines
-----Message d'origine----- De : Graeme Geldenhuys [mailto:] Envoy? : mardi 7 juin 2011 14:44 ? : Lazarus mailing list Objet : Re: [Lazarus] broken scrollbars under Ubuntu 11.04 Actually all scrolling, by dragging the scrollbar thumb button, is broken in Lazarus IDE. This is for both Horizontal and Vertical scrolling. Other GTK2 applications (like gEdit etc) do not have this problem. G. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Graeme Geldenhuys
to Ludo Brands: There is already a bugreport for this one: http://bugs.freepascal.org/view.php?id=19266…
Ludo Brands wrote
There is already a bugreport for this one: http://bugs.freepascal.org/view.php?id=19266

Thanks for listing that. I'll try the "disable scrollbar trick" now.

PS:
So far I seem to be disabling everything that makes Ubuntu 11.04 different from Ubuntu 10.04. :) I guess I should have just stayed with the LTS release. So we learn.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Reimar Grabowski
to Ludo Brands: There is already a bugreport for this one: http://bugs.freepascal.org/view.php?id=19266…
There is already a bugreport for this one: http://bugs.freepascal.org/view.php?id=19266

There is a workaround mentioned disabling overlay scrollbars for all applications. As I actually like them I only disable them for the applications that don't work with them. For Lazarus for example this does the trick:

#!/bin/sh
LIBOVERLAY_SCROLLBAR=0 /path/to/lazarusdir/startlazarus

R.

Reply by email

Andrew Brunner
to Ludo Brands

So much is broken under 11.04 that I don't use it. I used it for a few weeks and switch back to 10.10. It's worth the effort to reInstall.

I think it would be best for developers of Lazarus to focus on core problems and stay away from 11.04 issues. I don't think there will be many people sticking with 11.04.

Reply by email