I hate stable versions who are NOT stable ...

Working on new editor enhancements?
marc_256
Addict
Addict
Posts: 835
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

I hate stable versions who are NOT stable ...

Post by marc_256 »

After a change from PB4.41 to PB4.50

Suddenly this came on the screen,
Image

this happened after a preference / editor setup.

I lost all my NOT yet saved files, and PB shut down. :evil: :evil:

What can this be ?

Marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Mr Coder
User
User
Posts: 54
Joined: Tue Apr 13, 2010 8:02 am

Re: I hate stable versions who are NOT stable ...

Post by Mr Coder »

It's been reported twice before. It's a one-off glitch when migrating from v4.41 to v4.50. Nobody is able to reproduce it, so it can't get fixed at this stage. But now that it's happened, it won't happen to you again.
marc_256
Addict
Addict
Posts: 835
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: I hate stable versions who are NOT stable ...

Post by marc_256 »

I just reinstalled pb4.41.

What do you mean,
Mr Coder wrote:But now that it's happened, it won't happen to you again.
Can I work with pb4.50 with no problem ?

Thanks,
Marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Mr Coder
User
User
Posts: 54
Joined: Tue Apr 13, 2010 8:02 am

Re: I hate stable versions who are NOT stable ...

Post by Mr Coder »

marc_256 wrote:Can I work with pb4.50 with no problem ?
Of course. What sort of question is that? Do you see a million bug reports here saying that v4.50 is unstable and destroying sources? It's like I said: a one-off glitch when reading the old prefs file and saving the new. Now that your new prefs file is saved, the glitch can't happen again because v4.50 is reading a v4.50 prefs file from now on.
marc_256
Addict
Addict
Posts: 835
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: I hate stable versions who are NOT stable ...

Post by marc_256 »

Sorry,
English is not my language...
so there are words I do not well understand.

Marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: I hate stable versions who are NOT stable ...

Post by Vera »

Hi marc_256,

just in case you'd like to work with different PBversions it would be good to use them with the /portable switch (see help / installation), so they all keep their preferences in their own application folder.

Otherwise you might experience the one or other mischief - but nothing really serious.

Vera
marc_256
Addict
Addict
Posts: 835
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: I hate stable versions who are NOT stable ...

Post by marc_256 »

thanks for the advice.

Marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: I hate stable versions who are NOT stable ...

Post by netmaestro »

I used to get these occasionally but since 4.50 I haven't seen one in a long time.
BERESHEIT
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: I hate stable versions who are NOT stable ...

Post by blueznl »

I've seen this with some of the betas, not with an RC or a final version. I use numbered backups anyway, so it doesn't hurt me too much :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: I hate stable versions who are NOT stable ...

Post by c4s »

I still get this error and it's pretty annoying because the error message (as I stated someday ago in the bug forum) blocks the whole IDE so I'm not able to save my project anymore and my current progress is lost.
Anyway I'm able to reproduce it to that level that I can say it sometimes occures when closing the help file. So before I close it, I always have to save my project first. :roll: :wink:
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: I hate stable versions who are NOT stable ...

Post by PB »

> it sometimes occures when closing the help file

Are you using any API commands that deal with foreground windows or focus?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: I hate stable versions who are NOT stable ...

Post by c4s »

What do you mean? If I use those functions in the IDE or in my program?
Well, it might be possible that I'm using StickyWindow() or SetForegroundWindow_() but I'm not sure about that and if it could be the issue.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Thorium
Addict
Addict
Posts: 1305
Joined: Sat Aug 15, 2009 6:59 pm

Re: I hate stable versions who are NOT stable ...

Post by Thorium »

The IDE never crashed on my systems.
But i read the crash reports and save very often and do backups, so if it happens, it should not be a big show stopper for me. :)
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: I hate stable versions who are NOT stable ...

Post by freak »

c4s wrote:it sometimes occures when closing the help file.
I don't think this is a PB problem.

If you open the help, all that happens is that the MS HTML Help control is started (using the OpenHelp() PB command). Everything else you do with that help viewer, including closing it is done by the control itself. There is no action by the IDE when you close the help. So the crash must come from that activex control.

Maybe installing a clean version of the html help control would help. Dunno if that is available as a download somewhere.
quidquid Latine dictum sit altum videtur
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: I hate stable versions who are NOT stable ...

Post by PB »

I wrote a procedure called ForceFore which brings any given window to the front.
It works for every hWnd that I give it... EXCEPT PureBasic's! If I use it with that,
it crashes the IDE. Totally reproducible too. So, perhaps when you close the Help,
the focus is given back to the IDE and that might be crashing it, for some related
reason? I don't know. I'm just surmising here.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply