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 » [FIXED] bug: undesired color change
[FIXED] bug: undesired color change [message #49080] Fri, 15 December 2017 14:09 Go to next message
luoganda is currently offline  luoganda
Messages: 194
Registered: November 2016
Experienced Member
(same msg as https:// www.ultimatepp.org/forums/index.php?t=msg&th=10502&g oto=50594&#msg_50594)
Update: fixed by klugier in few latest releases.

when any kind of 'layout designer' window is opened
and then 'code generator' is clicked, ide colors are changed.

One more thing i am not really sure if it's a bug:
are all coordinates in 'layout designer' in pixels?
if so, then look down attached image - it isn't much - but here it is.
This would be used eg in situations when someone want's to click ctrl programatically with fake/simulated click
Ruler used is JR Ruler

[Updated on: Mon, 25 December 2023 11:42]

Report message to a moderator

Re: bug: undesired color change [message #59271 is a reply to message #49080] Sat, 10 December 2022 15:23 Go to previous messageGo to next message
luoganda is currently offline  luoganda
Messages: 194
Registered: November 2016
Experienced Member
This is still the case in latest TheIDE 2022 rc.

To reproduce:
* change theme to Dark Theme
* be in layout designer(eg in main window)
* click "Generate code"(if that doesn't change them, try restarting TheIDE or try copying the code via button there)

After that, Theme colors in editor are totally rewritten with undesired colors(probably default colors).
Re: bug: undesired color change [message #59272 is a reply to message #59271] Sat, 10 December 2022 18:35 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello luoganda,

I can not reproduce this behavior. I am trying to reproduce with ide project and ide/ide.lay file. Can you publish video? Did you use any non specific setting inside your project? You can try to reproduce on fresh TheIDE.

Klugier


U++ - one framework to rule them all.
Re: bug: undesired color change [message #59275 is a reply to message #49080] Sun, 11 December 2022 16:15 Go to previous messageGo to next message
luoganda is currently offline  luoganda
Messages: 194
Registered: November 2016
Experienced Member
I attached the video.

Nothing fancy, i just downloaded fresh TheIDE(16270) and i ran it on w7.
No options changes, just fresh run and the rest is in video.
Project i used was tutorial/Gui16a(layouts).
Re: bug: undesired color change [message #59282 is a reply to message #59275] Sun, 11 December 2022 23:13 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

With the video you have attached, I can confirm that the issue is reproducible. The root cause of it might be that "Generate code.." are using CodeEditor and it doesn't respect TheIDE's code review setting.

Would be good to fix this issue... Annoying when you made any modification in the settings and you use "Generate code.." option at least once.

If you have idea how we can fix it, I would be grateful for PR or patch.

Klugier


U++ - one framework to rule them all.
Re: bug: undesired color change [message #59294 is a reply to message #49080] Mon, 12 December 2022 18:15 Go to previous messageGo to next message
luoganda is currently offline  luoganda
Messages: 194
Registered: November 2016
Experienced Member
I have no idea how to fix this
and I am not into the code of TheIDE right now, but someone
that a little knows how code works there - should be fixed almost in no time.
By the way - this bug is very old - and it was overlooked by people with default theme Smile

...it could potentionally mean stack overflow somewhere.
Re: bug: undesired color change [message #59340 is a reply to message #59294] Sat, 17 December 2022 21:41 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I managed to fix the problem. More information you can find in #120 PR.

Klugier


U++ - one framework to rule them all.
Re: bug: undesired color change [message #59345 is a reply to message #49080] Sun, 18 December 2022 13:50 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
luoganda wrote on Fri, 15 December 2017 14:09

One more thing i am not really sure if it's a bug:
are all coordinates in 'layout designer' in pixels?


"Zoomed pixels". The value you see is "zoomed" by difference between current StdFont() and some reference StdFont() (actually, old Win95 GUI font).

Mirek
Previous Topic: The latest IDE updates in ALT Linux don't work (16505, 16506 and 165012)
Next Topic: TheIDE ClangFormat Integration
Goto Forum:
  


Current Time: Fri Apr 19 01:49:25 CEST 2024

Total time taken to generate the page: 0.09462 seconds