Recent

Author Topic: [SOLVED] TScrollBar.LargeChange does not work  (Read 1435 times)

apeoperaio

  • Full Member
  • ***
  • Posts: 178
[SOLVED] TScrollBar.LargeChange does not work
« on: January 10, 2020, 04:54:44 pm »
Under cocoa the LargeChange property of TScollBar hasn't any effect.
Even if I set to a number bigger than 1 the change when I click the slider is always of 1.
Anyone has already noticed it?
Is it a feature or a bug?

Under windows it works properly.

Lazarus 2.1.0 r62504 FPC 3.0.4 x86_64-darwin-cocoa (beta)
« Last Edit: January 30, 2020, 04:04:04 pm by apeoperaio »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2514
    • havefunsoft.com
Re: TScrollBar.LargeChange does not work
« Reply #1 on: January 13, 2020, 03:54:25 am »
try r62541
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

apeoperaio

  • Full Member
  • ***
  • Posts: 178
Re: TScrollBar.LargeChange does not work
« Reply #2 on: January 13, 2020, 08:36:42 am »
I tested on Lazarus trunk and it works as expected, thank you!

Any chance to get it fixed on fixes_2_0 branch, too?


VTwin

  • Hero Member
  • *****
  • Posts: 927
  • Former Turbo Pascal 3 user
Re: TScrollBar.LargeChange does not work
« Reply #3 on: February 15, 2020, 07:32:07 pm »
I tested on Lazarus trunk and it works as expected, thank you!

Any chance to get it fixed on fixes_2_0 branch, too?

It would be great to get this fixed on fixes_2_0 branch. I have avoided releasing anything using trunk, and use DrawGrid a lot. It is a rather obvious bug to users.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2514
    • havefunsoft.com
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #4 on: February 16, 2020, 04:44:32 am »
it's on fixes branch as of january 13th
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

VTwin

  • Hero Member
  • *****
  • Posts: 927
  • Former Turbo Pascal 3 user
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #5 on: February 17, 2020, 12:58:51 am »
Many thanks for the reply. I am up to date on fixes, and the scrollbar for DrawGrid is not working. Maybe this is a separate bug. I'll investigate.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 927
  • Former Turbo Pascal 3 user
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #6 on: February 17, 2020, 01:08:27 am »
I can confirm that the scrollbars do not work properly on a DrawGrid.
« Last Edit: February 17, 2020, 01:34:34 am by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 927
  • Former Turbo Pascal 3 user
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #7 on: February 22, 2020, 05:54:31 pm »
I see a few people have downloaded the example. Can anyone confirm the bug?

Since this is hidden a "SOLVED" thread, maybe I should I start a new thread, or just file a bug report.
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2514
    • havefunsoft.com
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #8 on: February 23, 2020, 04:37:06 am »
if you're using trunk, please try r62661 r62663
« Last Edit: February 23, 2020, 05:05:05 am by skalogryz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

VTwin

  • Hero Member
  • *****
  • Posts: 927
  • Former Turbo Pascal 3 user
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #9 on: February 23, 2020, 07:35:38 pm »
Excellent, thanks! It is working on trunk r62663. :)
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2514
    • havefunsoft.com
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #10 on: February 24, 2020, 05:19:06 am »
it's now also in fixes branch
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

VTwin

  • Hero Member
  • *****
  • Posts: 927
  • Former Turbo Pascal 3 user
Re: [SOLVED] TScrollBar.LargeChange does not work
« Reply #11 on: February 24, 2020, 05:48:38 pm »
I can confirm that for fixes 62669. Many thanks!
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.8 (64 bit Cocoa, also fixes and trunk)
Ubuntu 18.04.3: Lazarus 2.0.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.8 (64 bit on VBox)

 

TinyPortal © 2005-2018