Author Topic: The color changing bug.  (Read 12539 times)

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #30 on: August 19, 2015, 07:44:22 AM »
Yes, 0x80000001 is the Desktop color in Windows, and yes I will read the pdf file you attached.

Thanks,

Ramon


EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #31 on: August 21, 2015, 07:11:29 AM »
Hi.

EC 0.9 just color failed on me today, so, a quick recap:

* Only text background changes.
* Color settings in options do not change (or gets modified) after the bug.
* You don't have to suspend the computer, just leave EC open for long periods of time.
* It can change out of the blue while you work on it.
* If you open several instances of EC, they all get color changed  :dazzled:

Greetings, Master.

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #32 on: August 21, 2015, 07:32:25 AM »
Well, thanks for the report. I will try to find the bug.
EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #33 on: August 25, 2015, 03:44:11 AM »
Wait!

As soon as I clicked the "Send" button and opened EC, was greeted by a pink background.
Do you know what that means ??? BINGOOOOO  :greenclp: :greenclp:

Take a look at the attachments please.

Steps to reproduce (I use Win7 Pro SP1 x64):

- Set background color in EC settings (attach-2)
- Set background color in Windows options. (attach-1)
- Enjoy the bug  :lol: (attach-3)

So my previous idea about system colors were not so far from reality, right ?  :shock:

That means EC should set the background color as "reference" from Windows but maybe not set the system color itself because then EC will be changing its colors at the same time as Windows. This is, of course, if you want to keep them separate. Maybe some other EC colors based on system could be affected too. Also, maybe is my background who changes with corporate Policies.

Regards.

PD: Finally, that pink color can make you go blind in seconds  :lol:

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #34 on: August 25, 2015, 06:48:04 AM »
Meh, maybe I got excited too soon  :icon_redface:

I touched nothing and left EC open, just to see how it would look like. It changed, of course, but I still have the ugly theme and eye burning pink as Windows background color. EC also shows the pink as background. The change, as usual, is white.

Anyway, I still feel we are getting close to the cause. My next experiment will be using a background color not defined by system.

Regards
 

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #35 on: August 25, 2015, 07:44:48 AM »
Yes, that is exactly what I meant. To set a solid color for editor background (not the desktop).

Thanks for your help (and your patience)!
 ;)
EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #36 on: August 27, 2015, 12:53:22 AM »
Well, as before: So far so good.

Defined an ugly blue color for background and no change. Created a black color too and no signs of the bug  :bgrin:

Today in the afternoon will come the suspending part. There is strong evidence now to assume this problem discovered if everything goes fine. All of that in a hurry as my main PC will be migrated to Windows 10 Pro x64 in the coming days.

Regards.

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #37 on: August 27, 2015, 04:46:15 AM »
Good news! However I still do not know why it fails with the Desktop system color. It shoud not.

There is no need to choose an ugly color, you could choose the same color that the Desktop but as a "solid color", not as the system desktop color (0x80000001).

 :icon14:


EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #38 on: August 28, 2015, 11:22:49 PM »
Ok. After two days in a row with no errors including the dreaded suspend, I think we have enough evidence:

Avoid at all cost picking a color from System Colors's dialog box for your text background and instead define your own from the palette.

In any case, if you can't find the reason for this behavior, just keep it in mind for EC v2 (ie. do not show that dialog for picking colors, create your own or something) and put the footnote on the last oficial 1.X as this weird problem seems -so far- confined to my system.

The good news, as I said before, is that my computer will be Windows 10 soon and you can expect regular feedback from me  :t :t

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #39 on: August 29, 2015, 03:41:51 AM »
Hi AssemblyChallenge,

Well, these are (relatively) good news. I still do not understand why your text background changes. I will try to find the reason but it will not be easy if it does not happen to me.

Thank you very much for your help!

Best regards.
EC coder

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #40 on: August 30, 2015, 11:01:41 PM »
Hi again,

I don't want to be a real pain :icon_redface:, but I'm trying to find the bug.

Would you please test the attached executable (EasyCode.Ms) choosing the system desktop color as the text background? Thanks.

If for any reason a system color is changed, this new exe will display a dialog box. Besides, it re-reads the text background every time the editor needs to be repainted.

Thanks in advance!
« Last Edit: September 06, 2015, 06:12:55 PM by rsala »
EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #41 on: August 31, 2015, 11:10:21 AM »
Consider it done, Master  :bgrin:

rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #42 on: August 31, 2015, 09:05:59 PM »
Once again, thank you very much indeed!
 :t
EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 110
Re: The color changing bug.
« Reply #43 on: September 08, 2015, 07:22:29 AM »
Hi.

Guess what: Not a single error in all this days  :dazzled:

I even made a copy -and reopened- the old EC just to be sure and zero, nada.

 :shock:


rsala

  • Moderator
  • Member
  • *****
  • Posts: 285
    • Easy Code
Re: The color changing bug.
« Reply #44 on: September 09, 2015, 07:22:16 AM »
I don't understand anything (:shock:), but thanks again for your patience!

I will release a new version of EC v1 one of these days (probably the last one).

 :t
EC coder