Page 1 of 1

[Done] Procedure panel automatically hides at wrong cursor position

Posted: Thu Oct 05, 2023 9:51 am
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

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

Posted: Mon Oct 09, 2023 2:27 pm
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).

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

Posted: Wed Oct 11, 2023 7:22 am
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.

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

Posted: Wed Oct 11, 2023 8:26 am
by Fred
Merged, thanks !

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

Posted: Wed Oct 11, 2023 11:27 am
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: