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
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).
Klugier Messages: 1099 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.
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).
Klugier Messages: 1099 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.
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
...it could potentionally mean stack overflow somewhere.