Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Edited file sometimes reverts changes when running build
Edited file sometimes reverts changes when running build [message #52449] Wed, 02 October 2019 11:07 Go to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 62
Registered: June 2011
Member
Quite a few times I've edited a file, changed some constants and then when I pressed build it undid my changes right before my eyes. Another problem I've had in TheIDE is when changing to another tab my scrollbar position won't be recalled upon return so I have to place a caret to make sure I don't lose my place. It always seems to want to go to where the caret is instead of where I scrolled to.
Re: Edited file sometimes reverts changes when running build [message #52450 is a reply to message #52449] Wed, 02 October 2019 11:39 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 110
Registered: August 2018
Location: France
Experienced Member
jjacksonRIAB wrote on Wed, 02 October 2019 11:07
Quite a few times I've edited a file, changed some constants and then when I pressed build it undid my changes right before my eyes.


Yeah it happen to me very often:

-I try to build my projet
-Errors occure during the building.
-I look at the errors and quick fix it.
-When I press build & Launch button again the change being undid and the build just start (of course same Errors happen again)

Re: Edited file sometimes reverts changes when running build [message #52451 is a reply to message #52450] Wed, 02 October 2019 12:20 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 62
Registered: June 2011
Member
Xemuth wrote on Wed, 02 October 2019 11:39

Yeah it happen to me very often:

-I try to build my projet
-Errors occure during the building.
-I look at the errors and quick fix it.
-When I press build & Launch button again the change being undid and the build just start (of course same Errors happen again)


I'm afraid TheIDE is gaslighting us.

Oh no you didn't... What are you talking about? That never happened.
Re: Edited file sometimes reverts changes when running build [message #52454 is a reply to message #52451] Wed, 02 October 2019 15:45 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3004
Registered: August 2008
Ultimate Member
I have the same problem. However, this problem happens to me rarely and in conditions that I can't reproduce, so it's very difficult to report.

Best regards
IƱaki
Re: Edited file sometimes reverts changes when running build [message #52455 is a reply to message #52454] Wed, 02 October 2019 16:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
I concur that this problems haunts me for years, but it is so rare (in my case) that I never got to catching the cause.

Now thinking about it, maybe the problem is that the file is locked for writing while being compiled?

Mirek
Re: Edited file sometimes reverts changes when running build [message #52456 is a reply to message #52455] Wed, 02 October 2019 16:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
That said, does that happen with .h or with .cpp file? (If it is just .h, that would be important clue).

Mirek

Re: Edited file sometimes reverts changes when running build [message #52457 is a reply to message #52455] Wed, 02 October 2019 16:59 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 62
Registered: June 2011
Member
mirek wrote on Wed, 02 October 2019 16:40
I concur that this problems haunts me for years, but it is so rare (in my case) that I never got to catching the cause.

Now thinking about it, maybe the problem is that the file is locked for writing while being compiled?

Mirek


Yeah I'm not sure whether it's just .cpp or .h. I'll have to check next time. I've ignored it for years too but it happens in both windows and linux, that I can confirm and it's not relegated to a specific compiler.
Re: Edited file sometimes reverts changes when running build [message #52458 is a reply to message #52449] Wed, 02 October 2019 17:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Wed, 02 October 2019 11:07
Another problem I've had in TheIDE is when changing to another tab my scrollbar position won't be recalled upon return so I have to place a caret to make sure I don't lose my place. It always seems to want to go to where the caret is instead of where I scrolled to.


As far as I remember, this is intentional, scroll position is restored, but then cursor is placed and if it is outside of scroll range, scroll to its position is done.

I can fix this.
Re: Edited file sometimes reverts changes when running build [message #52460 is a reply to message #52458] Wed, 02 October 2019 18:31 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 62
Registered: June 2011
Member
mirek wrote on Wed, 02 October 2019 17:09

As far as I remember, this is intentional, scroll position is restored, but then cursor is placed and if it is outside of scroll range, scroll to its position is done.
I can fix this.


Cool. Thanks, Mirek.
Re: Edited file sometimes reverts changes when running build [message #52468 is a reply to message #52460] Thu, 03 October 2019 18:43 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Wed, 02 October 2019 18:31
mirek wrote on Wed, 02 October 2019 17:09

As far as I remember, this is intentional, scroll position is restored, but then cursor is placed and if it is outside of scroll range, scroll to its position is done.
I can fix this.


Cool. Thanks, Mirek.


Changed in the trunk.
Re: Edited file sometimes reverts changes when running build [message #52472 is a reply to message #52468] Fri, 04 October 2019 10:12 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 62
Registered: June 2011
Member
It is fixed. Thank you so much, Mirek!
Re: Edited file sometimes reverts changes when running build [message #52501 is a reply to message #52468] Fri, 11 October 2019 15:21 Go to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 62
Registered: June 2011
Member
Hate to bother you again, Mirek, but a scrolling problem also exists in horizontal view on the bottom view. If you scroll to the bottom and switch to the other window, the bottom window will shift up.
Previous Topic: Build Methods detection
Next Topic: Warning list shown vertically
Goto Forum:
  


Current Time: Thu Oct 17 13:26:32 CEST 2019

Total time taken to generate the page: 0.00976 seconds