debug window - returns to bottom after click in text

Post bugs related to the IDE here
nalor
Enthusiast
Enthusiast
Posts: 115
Joined: Thu Apr 02, 2009 9:48 pm

debug window - returns to bottom after click in text

Post by nalor »

When the debug window gets a scrollbar and I scroll up a few lines after the execution has finished and click in the debug window to e.g. select some text from the window it jumps back to the bottom position.

But repeating this procedure is successful, so only the very first try after execution of the code is affected.

Here's a small test code:

Code: Select all

For iCnt=0 To 500
	Debug "Testline "+iCnt
Next
And I've created a small SWF video that demonstrates the problem with screen2swf you can view here: http://www.fastswf.com/DwRQWHA
User avatar
Thunder93
Addict
Addict
Posts: 1788
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Re: debug window - returns to bottom after first click in te

Post by Thunder93 »

Hi nalor. This is very annoying indeed. It happens even when no scroller shows. The first click always goes to the very bottom, and the last of that line.

Afterwards, with that same debugger session, it'll then work as expected.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: debug window - returns to bottom after first click in te

Post by skywalk »

Yeah, this is extremely annoying as I'm debugging a long list in several positions of the debug window.
I have to remember to click :cry: BEFORE :cry: scroll.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: debug window - returns to bottom after first click in te

Post by IdeasVacuum »

....could we say the Debug Window has a bug?
What I do is hit "Copy All" and paste into an editor (NotePad, UltraEdit etc).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
nalor
Enthusiast
Enthusiast
Posts: 115
Joined: Thu Apr 02, 2009 9:48 pm

Re: debug window - returns to bottom after first click in te

Post by nalor »

Yes, I think the debug window has a bug
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: debug window - returns to bottom after first click in te

Post by DK_PETER »

I have to remember to click :cry: BEFORE :cry: scroll.
This is very annoying indeed.
This is nitpicking. :)
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: debug window - returns to bottom after first click in te

Post by skywalk »

DK_PETER wrote:This is nitpicking. :)
This is called a Troll. :evil:
Avoid their traps. :idea:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: debug window - returns to bottom after first click in te

Post by DK_PETER »

skywalk wrote:
DK_PETER wrote:This is nitpicking. :)
This is called a Troll. :evil:
Avoid their traps. :idea:
@Skywalk
I'm treeibly sorry that I hurt your fragile feelings.

I know, that speaking the truth
sounds like hate to those who
actually despise being told the truth.
When i see a bird
that walks like a duck,
swims like a duck and
quacks like a duck -
I call that bird a duck.
This is 100% nitpicking!
Bye. :wink:
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: debug window - returns to bottom after first click in te

Post by skywalk »

"Attention PureBasic Forum:
Check with me before reporting bugs." ~DK_PETER
:lol:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
nalor
Enthusiast
Enthusiast
Posts: 115
Joined: Thu Apr 02, 2009 9:48 pm

Re: debug window - returns to bottom after first click in te

Post by nalor »

@FRED - do you agree this is a bug? will it be fixed in the next release? Would be great to get an update from your side if you plan to fix it or not (this also applies to lots of other bug reports here in the forum..).

Thanks :)
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: debug window - returns to bottom after first click in te

Post by Fred »

Fixed (mostly). You still have to do 2 click at first to select something, but it doesn't scroll back to end anymore.
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Done] debug window - returns to bottom after click in t

Post by Fred »

reverted the fix as it created a new bug
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: debug window - returns to bottom after click in text

Post by skywalk »

v561 - On 1st release of the scrollbar, the debug window still snaps to bottom? All future attempts behave normally.
On 1st click inside the debug window, it immediately snaps to bottom.
I just have to remember to click inside 1st, then use scrollbar.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply