
Ugly IDE when loading big source
Ugly IDE when loading big source
I've noticed since 6.10 (I think) that when loading a large source, the IDE now isn't drawn properly and has visual glitches, when it never did before. It also says at the bottom that the source code has loaded, when in reality it hasn't. Seems like a fix is need to remove the glitches that weren't there before with 6.04 and lower. (I'm putting this as a request rather than a bug, even though it is a bug because it didn't do this before).


Re: Ugly IDE when loading big source
For me the drawing isn't even the worst I found. But it may be an indicator for a "greater problem".
On Raspberry Pi it's certainly the slowest version to load; you can click during that time on different Panel-Titles, sometimes close just loaded sources, or click into an already loaded one and cause confusion to the IDE. Eventually the wrong source can be somehow loaded into the wrong panel/window; It has the title "SourceFileA.pb" but in fact it's content is from "DifferentFile.pb".
Perhaps the IDE should remain hidden during source-loading time and only pop up once loaded and/or IDE dialogs start showing up. This could also speed up the source loading too.
On Raspberry Pi it's certainly the slowest version to load; you can click during that time on different Panel-Titles, sometimes close just loaded sources, or click into an already loaded one and cause confusion to the IDE. Eventually the wrong source can be somehow loaded into the wrong panel/window; It has the title "SourceFileA.pb" but in fact it's content is from "DifferentFile.pb".
Perhaps the IDE should remain hidden during source-loading time and only pop up once loaded and/or IDE dialogs start showing up. This could also speed up the source loading too.
-
- Enthusiast
- Posts: 141
- Joined: Sat Sep 21, 2019 4:24 pm
Re: Ugly IDE when loading big source
Out of curisioty, how big is the source file?BarryG wrote: Sun May 05, 2024 6:45 am I've noticed since 6.10 (I think) that when loading a large source, the IDE now isn't drawn properly and has visual glitches, when it never did before. It also says at the bottom that the source code has loaded, when in reality it hasn't. Seems like a fix is need to remove the glitches that weren't there before with 6.04 and lower. (I'm putting this as a request rather than a bug, even though it is a bug because it didn't do this before).
![]()
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
Re: Ugly IDE when loading big source
It's 2 MB, containing 63249 lines. Maybe that's not big compared to some, but I think it's big.
Re: Ugly IDE when loading big source
Besides the fact, that size shouldn't matter (ask your wife), I'm wondering how you are able to manage a source code with 63249 lines?
I've learned long ago, the bigger the sourcefile is, the more difficult the troubleshooting will be.
You are scrolling up- and downwards all the time, to finally find the position which makes trouble and when you want to look-up a different place, you start scrolling again, loosing the previous found position.
Don't get me wrong, PB should be able to handle big sources like small sources, and if that needs now ages, this is not o.k., but maybe you should think about some re-structuring of your source code(s), splitting them into smaller pieces you can work with in parallel.
[Edit]
Post #1000, I finally made it after 20 years
Guess I'll retire now, and keep things as is
I've learned long ago, the bigger the sourcefile is, the more difficult the troubleshooting will be.
You are scrolling up- and downwards all the time, to finally find the position which makes trouble and when you want to look-up a different place, you start scrolling again, loosing the previous found position.
Don't get me wrong, PB should be able to handle big sources like small sources, and if that needs now ages, this is not o.k., but maybe you should think about some re-structuring of your source code(s), splitting them into smaller pieces you can work with in parallel.
[Edit]
Post #1000, I finally made it after 20 years

Guess I'll retire now, and keep things as is
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Ugly IDE when loading big source
Size doesn't matter for me with sources.HeX0R wrote:I'm wondering how you are able to manage a source code with 63249 lines?

Plus, I simply know where everything is (photographic memory), and I also have an index of the most-used procedures at the start of that main source so I can just Ctrl+DoubleClick their name to jump straight to them in the source without scrolling.
For going to things in the source that I don't use often, I just Ctrl+F to find them, due to using good variable names and text strings. I basically only scroll when I'm inside a long procedure.
Not an issue, because the IDE can jump straight back to where I was with a hotkey. By default it's Ctrl+L but I made it F9.HeX0R wrote:when you want to look-up a different place, you start scrolling again, loosing the previous found position
Congrats on your 1000 posts.
