[TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Post by *white »

TC10.50b8 64-bit Print preview window.
With certain window sizes and no scroll bars, scrolling is still possible with arrow down and arrow right, and arrow left works half.
So I can scroll out of view when it should not be possible and I cannot scroll back into view.

See this video: gif

Used window size in gif:
PrintDX=575
PrintDY=843
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Post by *ghisler(Author) »

Confirmed. It seems to be a bug in Lazarus. I'm already trying to intercept the mouse wheel in this case, and will have to write some code to catch the keyboard input too.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Post by *white »

Tested 10.50rc1 64bit.

Problem with arrow right and left still exits.
So far I have not been able to reproduce the problem with arrow down.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Post by *ghisler(Author) »

Problem with arrow right and left still exits.
I can only reproduce it now when there is a vertical but no horizontal scrollbar. Do you get it also in other situations?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Post by *white »

2ghisler(Author)
Mostly with vertical scrollbar, but also with no scroll bar. For example when using dimensions I gave earlier:
white wrote: 2022-06-01, 23:03 UTC PrintDX=575
PrintDY=843
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b8 64bit] print preview: scroll with keyboard when no scroll bars

Post by *white »

Tested OK using TC10.50rc2 64-bit.

Moderator message from: white » 2022-06-15, 20:35 UTC

Moved to Fixed bugs.
Post Reply