Bookstore

Recent

Author Topic: TScrollBar and Pagesize on Linux (GTK2)  (Read 279 times)

apeoperaio

  • Full Member
  • ***
  • Posts: 173
TScrollBar and Pagesize on Linux (GTK2)
« on: March 24, 2020, 04:49:17 pm »
I noticed a different behaviour between Linux and Windows regarding TScrollBar.

If I set Pagesize to 1 on Linux (GTK2) the scrollbar act different as for windows.

On Linux if I set:
Scrollbar1.Min:= 0;
Scrollbar1.Max:= 2;
Scrollbar1.Pagesize:= 1;

I can move the scrollbar thumb only one time (see attached images). On windows I can move the thumb in three different positions.

See attached project.

Is it a bug? Is it already known?

I am using Lazarus 1.8.4 r57972 FPC 3.0.4 x86_64

jamie

  • Hero Member
  • *****
  • Posts: 2459
Re: TScrollBar and Pagesize on Linux (GTK2)
« Reply #1 on: March 24, 2020, 10:39:31 pm »
Its most likely an ill effect that has been corrected..

 The current release is at 2.0.6 so maybe you should upgrade to see where that takes you.  ;D
Number 1 at blue screen app creations!

apeoperaio

  • Full Member
  • ***
  • Posts: 173
Re: TScrollBar and Pagesize on Linux (GTK2)
« Reply #2 on: March 25, 2020, 10:56:40 am »
I checked on Lazarus 2.0.7 r62805 FPC 3.0.4 x86_64-linux-gtk2 and I got the same behaviour as lazarus 1.8.4


zeljko

  • Hero Member
  • *****
  • Posts: 1113
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: TScrollBar and Pagesize on Linux (GTK2)
« Reply #3 on: March 25, 2020, 11:12:02 am »
It's already known issue

apeoperaio

  • Full Member
  • ***
  • Posts: 173
Re: TScrollBar and Pagesize on Linux (GTK2)
« Reply #4 on: March 25, 2020, 11:44:12 am »
Ok, thank you.
So there is a bug id on mantis? If so could you post it here so I will follow it on the butracker.