Azure, image background color and UI performance questions

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Azure, image background color and UI performance questions

Unread post by tribaljet » 2012-09-18, 05:59

I've noticed that when updating PM 15.0 to 15.1, the image background color changed from #222 to #2E3B41, which seems to be expected according to Moonchild. However, besides changing the background color, there was also a very appealing texture on the background that was removed on PM 15.1. Is there any way to restore it?

Another thing that I've noticed when going from PM 15.0 to 15.1 is that the UI is very sluggish, namely menus that scroll slower with the keyboard and much slower when hovering items with the cursor. Were there any significant changes that could've caused this? I should add that there were no system settings/drivers/browser addons installed, updated or removed between PM 15.0 and PM 15.1.

Also, gfx.canvas.azure.enabled is set to true by default on both 15.0 and 15.1, and I was wondering if gfx.content.azure.enabled could also be set to true without any detrimental effects, considering performance improvements should be expected to an extent.
Portuguese translator of Pale Moon

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-18, 07:14

After some testing, gfx.content.azure.enabled set to true proved to display performance inconsistencies and even affect performance of other software running, so it's set at the default value, false.

This UI sluggishness is quite bothersome, and I have to mention how it didn't happen on PM 15.0.

Still, Speed Reading is as fast as it can :)
Portuguese translator of Pale Moon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Azure, image background color and UI performance questio

Unread post by Moonchild » 2012-09-18, 16:20

For the UI issue, you might want to check if the following parameters are set to their default values:

javascript.options.methodjit_always should be FALSE <-- setting this to true can cause major issues.
javascript.options.jitprofiling.chrome should be TRUE
javascript.options.methodjit.chrome should be TRUE

The raw image viewing texture was removed on purpose, see the detailed changelog for pale Moon 15.1 for a description. "noise" is nice if you have a really dark background and are viewing photographs, but in any other case it detracts more than it adds to the viewing pleasure.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-18, 18:21

I haven't changed any of those settings, nor have I installed any tweaking addon, but the status of those features is the following:

javascript.options.methodjit_always - false
javascript.options.jitprofiling.chrome - true
javascript.options.methodjit.chrome - true

Is there any reason why the 15.1 UI is sluggish when compared to 15.0?

About the texture, I see that it was removed indeed. How can I restore it? The 15.0 background color plus texture were the best background I've ever seen so far.
Portuguese translator of Pale Moon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Azure, image background color and UI performance questio

Unread post by Moonchild » 2012-09-18, 19:18

There is no reason why the UI in 15.1 would be sluggish in comparison to 15.0

Restoring the noise texture is possible by editing the file TopLevelImageDocument.css in res\ under the Pale Moon application folder and adding a base-64 encoded noise png to that file. The code below will mimic Firefox. It will most likely also disable the custom background color feature (not tested).

Code: Select all

body {
    background: #222 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYBAMAAACDuy0HAAAAG1BMVEX+/v4BAQH///8KCgoDAwN/f3/19fWAgID8/PzhDwT2AAAACXRSTlMFBQUFBQUFBQWHDtP9AAALwklEQVR4Xg3KOWOyWhAA0Bn2ci57eXEvQY1JCZp8sQTjVoJLTAkaE0swbj/7ve4UB37FLW4q86Lwwlh86J/ASAkpWaj+Krbb31HzH0Kjc2tIl7SADaWbpZBPE5dds6jJNyNdjAyKWqdroIixWRQIY6E/kOY7hIciL/ZfrAO3XP/06AuUJ3mSd/z95OB9vIal0DPlaZWHP7RE6DIX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GAm+HrtMDbWwvTXOutX1u7BxIq9Xib6DkFMbUitNdrYsULkahsAhBEh9FjdzL9BNARxTSr7T3u1rE+IWUmCIpwTZHZCu5l9THCuCcOhZqfekuQxjQ7EoyGUJAwCv/q1JOuJeCc/3lknb76zAquO/DAQhK/62cP8X2s3+IBLIhvL8RHopoHpIArJysYTTmMMeubPXh8W760AvMVH67jqgg06+/ne5MZ631z6yROhloh3dPQirZoEpr80wgt/cEbhbAQTmRLtGh8lxCwDBBb5OeJ4aEq25XBNMT2rzWedW2zIzj+CCDKlnlyJBzT81qBWp69h7vlb3TmEV+DNm2rqj1iT7BQuwVVsuPkwq1e5P8tgNjVbIlMzwXeM11kZqjx3KKFOJzc3CAyFVhi8fxVZ5FvhdAM5mM6kS6OgKu16MFglq3/b/QVIwdw7HUCyeW04JPjC5dO+GC9OfqfB4VX+wwuift+ths2Ss3i6nkOE+JFyD+wKFL+WMX6nwwDva0S1/O8Mlnida69Ph96fuFvCoRMvXnCfsLPPmC/hA5RnMNE4fDK0pVOQ4BHLaErzv/wD99ABmjNZk0AAAAABJRU5ErkJggg==) !important;
  } 
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-18, 19:36

I remember people asking about IGP recognition changes on 15.1, but it seems 15.0 settings have been preserved on 15.1 here, so that's not likely the cause. Are there other settings that can be changed in order to help this situation? Going through the Bookmarks menu is especially slow.

Also, what are your thoughts on gfx.content.azure.enabled?

And thank you, the noise texture is restored exactly as it was, along with the background color. It looks great :) Also, it does disable custom background colors.
Portuguese translator of Pale Moon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Azure, image background color and UI performance questio

Unread post by Moonchild » 2012-09-18, 19:40

I really have no clue why it would be slow for you. can you check in the error console and see if you have any errors thrown at you there?

gfx.content.azure.enabled is very much at your own risk. The azure wrapper is not stable enough to handle complex pages with multiple layers, and can really cause a lot of issues by hanging up the DirectX API.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-18, 19:55

gfx.content.azure.enabled was only set to true for quick testing, and it proved to be buggy from the short running time, so it was set back to false.

I have several errors on error console:
"Expected declaration but found '*'. Skipped to next declaration."
"Error in parsing value for 'opacity'. Declaration dropped."
"Error in parsing value for 'top'. Declaration dropped."
"Error in parsing value for 'left'. Declaration dropped."
"Error in parsing value for 'right'. Declaration dropped."
"Error in parsing value for 'bottom'. Declaration dropped."
"Unknown property 'zoom'. Declaration dropped."
"Unknown property '-moz-box-shadow'. Declaration dropped."
"Unknown pseudo-class or pseudo-element '-webkit-scrollbar-track'. Ruleset ignored due to bad selector."
"Error in parsing value for 'filter'. Declaration dropped."
"Unknown property '-moz-border-radius'. Declaration dropped."
"Error in parsing value for 'background-image'. Declaration dropped."
"Error in parsing value for 'background'. Declaration dropped."
"Unknown property 'user-select'. Declaration dropped."
"Expected declaration but found '0'. Skipped to next declaration."
"Unknown property 'transition'. Declaration dropped."
"Error in parsing value for '-moz-transition-duration'. Declaration dropped."
"Expected color but found '#dcdc'. Expected end of value but found '#dcdc'. Error in parsing value for 'border'. Declaration dropped."
"Unknown property '-moz-border-radius-topright'. Declaration dropped."
"Error in parsing value for '-moz-transition'. Declaration dropped."
"Error in parsing value for 'height'. Declaration dropped."
"Error in parsing value for 'width'. Declaration dropped."
"Error in parsing value for 'vertical-align'. Declaration dropped."
"Selector expected. Ruleset ignored due to bad selector."
"Unknown property 'box-sizing'. Declaration dropped."
"Error in parsing value for 'padding'. Declaration dropped."
"The use of Mutation Events is obsolete. Alternatively use MutationObserver."
"Unknown property '-moz-border-top-right-radius'. Declaration dropped."
"Unknown property '-moz-border-bottom-right-radius'. Declaration dropped."

EDIT: Those were the unique errors, as they were repeated multiple times.

EDIT2: I'm sorry, those were warnings, not errors per se, I don't know which you were refering to.
Portuguese translator of Pale Moon

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-19, 23:24

Another question. Do Pale Moon version updating overwrites TopLevelImageDocument.css?
Portuguese translator of Pale Moon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Azure, image background color and UI performance questio

Unread post by Moonchild » 2012-09-19, 23:42

Try the 15.1.1 pre-release binaries and see if the sluggishness goes away. (See the announcements board)
As for updates overwriting that file? yes, they would.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-19, 23:50

Sir, hats off to you, the sluggishness is gone on 15.1.1pre :thumbup:
Portuguese translator of Pale Moon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Azure, image background color and UI performance questio

Unread post by Moonchild » 2012-09-19, 23:53

tribaljet wrote:Sir, hats off to you, the sluggishness is gone on 15.1.1pre :thumbup:
Awesome.
I'll probably push it out as a publish on Friday.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Azure, image background color and UI performance questio

Unread post by tribaljet » 2012-09-19, 23:55

I should add that IE Test Drive's Maze Solver is finally back to the performance it had on 12.3, which had dropped significantly on 15.0 and 15.1.

Basically, 15.1.1pre is the first 15.x version that made me feel truly at ease after going from 12.3.

All in all, congrats :)
Portuguese translator of Pale Moon