Jump to content
Paulo Lopes

Scroll bar bug

Recommended Posts

in my install (win10) the ide source code pane auto-selects text and auto-scrolls every time the scrollbar (hor or vert) is dragged with the mouse or when the arrows on the scroll bars are clicked

 

Capture.JPG

 

Share this post


Link to post
Share on other sites

This has happened since day 1, somewhere in 2013, so it has occurred a lot.

Every time it happens I heave a mental *sigh* and then move on.

I'm sure it has something to do with my setup (Win10 on MacOs via Boot Camp), although none of the other programs on this platform have this behaviour - SMS only.

A comparison with Paulo's setup or video ☺️ might shed some light if there are more people effected.

Share this post


Link to post
Share on other sites

I can't make this happen in the source window, but it's happening in the browser source code window when I run an app then drag the scrollbar. And it is indeed extremely annoying!

Richard

autoselecttext.jpg

Share this post


Link to post
Share on other sites

Looks like an issue with Selstart/SelLength or the associated Windows messages being fired during scrolling. If nothing is selected before scrolling takes place then SelLength should always be zero. What kind of Delphi control are the IDE and browser source code windows?

Share this post


Link to post
Share on other sites

Ahha, got it reproduced:

  • Start scrolling from the scroll bar
  • While scrolling, move your mouse on top of the code window

Edit: Nope, wasn't that easy.

How about this:

  • Start IDE
  • New Project
  • Execute (no need to save)
  • Scroll the html source code window -> Selection bug happens
  • After this scrolling of the source code window also has the same bug

Can you guys confirm?

Edit3: Hmm, seems like it can be reproduced even without going to the html source tab.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×