[Done] Procedure panel automatically hides at wrong cursor position

Working on new editor enhancements?
User avatar
Shardik
Addict
Addict
Posts: 2060
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

[Done] Procedure panel automatically hides at wrong cursor position

Post by Shardik »

On my Windows 10 22H2 my PureBasic IDE has the horizontal size to just display 80 columns and I have the following preference settings:
ToolsPanel > Options
- Panel on the right side
- Automatically hide the Panel: Activated
- Milliseconds before hiding the Panel: 0

I have found these bugs:
  • When the cursor is moved from the left to the right over column 40 and above, the panel is already opened.
  • The panel automatically doesn't hide when leaving the panel with the cursor to the left. The panel doesn't hide before the cursor reaches column 29 and below.
This behaviour is quite annoying and doesn't allow productive editing of source codes.

In PB 5.73 and older this IDE bug didn't occur. In these new PB versions the bug can be reproduced:
- PB 6.00
- PB 6.01
- PB 6.02
- PB 6.03 Beta 9
User avatar
Shardik
Addict
Addict
Posts: 2060
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Bug: Procedure panel automatically hides at wrong cursor position

Post by Shardik »

yuki describes the above bug much better in his posting in "Bugs -IDE" and in his GitHub issue (even with two videos demonstrating the problem).
Jeromyal
Enthusiast
Enthusiast
Posts: 216
Joined: Wed Jul 17, 2013 8:49 am

Re: Bug: Procedure panel automatically hides at wrong cursor position

Post by Jeromyal »

I had reported this bug a few times and each time Fred would say he fixed it. I found my own fix.
I posted about my work around for this exact issue but I will link it here for you.

viewtopic.php?t=78900

That is two underscores with "__COMPAT_LAYER"
This actually fixes the misalignment of the cursor with the position of the tool window. Made me so happy to fix that problem because it was driving nuts for so long.
You can also lust edit the properties of the editor or a shortcut of it. However I don't use windows anymore so at the moment I can not recall how to talk you through that.
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Bug: Procedure panel automatically hides at wrong cursor position

Post by Fred »

Merged, thanks !
User avatar
yuki
Enthusiast
Enthusiast
Posts: 101
Joined: Sat Mar 31, 2018 9:09 pm

Re: [Done] Procedure panel automatically hides at wrong cursor position

Post by yuki »

Thanks Fred! :D I'll PR the related flicker patch in a bit as well.

And aah, seems I have to report another bug: the Yuki doesn't search the forum properly first :oops: :lol:
Post Reply