Visual Artefact When layout.css.devPixelsPerPx = 1.2
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!
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!
-
- Lunatic
- Posts: 364
- Joined: 2023-06-28, 22:43
- Location: Australia
Visual Artefact When layout.css.devPixelsPerPx = 1.2
In a bookmarks bar menu, when devPixelsPerPx is set to 1.2, there is a visual effect of horizontal lines as the mouse cursor is moved up and down the menu, the lines change thickness and colour or multiply with each movement of the mouse. The horizontal lines disappear when the cursor is moved off the menu.
This was tested on a new install, and the image below best explains how this looks.
Operating system: Win 10 64-bit
Browser version: 32.3.1
32-bit or 64-bit browser?: 64
Problem URL: n/a
Browser theme (if not default): none
Installed add-ons: none
Installed plugins: (about:plugins): default
This was tested on a new install, and the image below best explains how this looks.
Operating system: Win 10 64-bit
Browser version: 32.3.1
32-bit or 64-bit browser?: 64
Problem URL: n/a
Browser theme (if not default): none
Installed add-ons: none
Installed plugins: (about:plugins): default
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
-
- Board Warrior
- Posts: 1081
- Joined: 2012-06-08, 12:14
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
On a clean new Pale Moon 32.3.1 profile running on Windows 7 and on Windows 10 not seeing your described problem with the Bookmarks Menu when about:config preference 'layout.css.devPixelsPerPx' set to 1.2
PS. FWIW - My default Pale Moon profile on Windows 10 always has pref 'layout.css.devPixelsPerPx' set to 1.25... and no problems seen with the Bookmarks Menu display... however, as this profile has several Bookmarks Menu CSS userstyles in use that remove unnecessary items from the menu list... so, probably not a safe comparison.
PS. FWIW - My default Pale Moon profile on Windows 10 always has pref 'layout.css.devPixelsPerPx' set to 1.25... and no problems seen with the Bookmarks Menu display... however, as this profile has several Bookmarks Menu CSS userstyles in use that remove unnecessary items from the menu list... so, probably not a safe comparison.
Last edited by Blacklab on 2023-07-27, 11:47, edited 1 time in total.
-
- Lunatic
- Posts: 364
- Joined: 2023-06-28, 22:43
- Location: Australia
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
That's curious, it happens on both my computers, and I just noticed that the effect also occurs in the pop-up menu when right-clicking on a page.
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
-
- Keeps coming back
- Posts: 959
- Joined: 2012-09-04, 15:19
- Location: Costa Rica & Union City Georgia USA
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
Also not seeing that.
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda
-
- Lunatic
- Posts: 456
- Joined: 2019-06-13, 13:42
- Location: In a place with no YT
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
not seeing this either, but then I am using the "The Good 'ol Sidebar" for all my bookmark needs...The normal bookmarks bar looks much as I remember it; same, same.
Pale Moon 32.5.0 (64) Win7 pro (64) Intel Core i5-3570 3.4GHz-16 GB DDR3
"The biggest joke on mankind is that computers have started asking humans to prove they're not a robot."
"Man needs difficulties; they are necessary for health." ~Carl Jung
"The biggest joke on mankind is that computers have started asking humans to prove they're not a robot."
"Man needs difficulties; they are necessary for health." ~Carl Jung
-
- Pale Moon guru
- Posts: 35651
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
This will depend on several factors, not in the least your screen resolution, drivers in use, and any system scaling you may already be doing.
You can probably work around this by making a small adjustment to the devpixelsperpx as it seems to be a simple rounding issue. Using a different theme may also work around this.
You can probably work around this by making a small adjustment to the devpixelsperpx as it seems to be a simple rounding issue. Using a different theme may also work around this.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Lunatic
- Posts: 364
- Joined: 2023-06-28, 22:43
- Location: Australia
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
I always have Windows set to 100%, and prefer to scale each application that I use separately (if possible), but the idea of finding a devpixelsperpx that just happens to work sounds simplest, although I might try a different theme too.
Thanks for for the suggestions, if I don't solve it, I will get by with living with what is a minor cosmetic issue.
EDIT: What I have found is that with layout.css.devPixelsPerPx = 1.24 there is a sweet spot where the problem still happens but is much less pronounced. Also I tried a few themes and, yes, for some of them the problem completely disappears!
EDIT EDIT: Okay, trying out the themes has been fun, and I tested Maxi4 and even ignoring whether it solves the artefact problem or not, this is one beautiful light theme. Thank you @lootyhoof for the excellent work! This is now my default look. (And by the way it does solve the visual issue, so that is a bonus.)
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
-
- Astronaut
- Posts: 588
- Joined: 2015-06-01, 12:52
- Location: US Southeast
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
I'd love to see your example CSS since I have been looking to modify the bookmark menu as far back as this thread from 2016: viewtopic.php?f=5&t=11569
-
- Board Warrior
- Posts: 1081
- Joined: 2012-06-08, 12:14
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
Off-topic:
Pity you never came across old Firefox extension 'BookmarkMenuHider' which worked perfectly until maybe Pale Moon v29. It is still available in JustOff's 'Classic Add-ons Archive' (CAA)... but sadly no longer works... it will install, but then throws an error... not investigated why.
The 'Menu Wizard' extension suggested in a reply to your 2016 topic is still available from SeaMonkey's extension list... tested a couple of versions today... loads, but certainly doesn't work with the Bookmarks Menu in Pale Moon AFAICS? Didn't test any of Menu Wizard's other options.
Anyway, it's easy enough to remove whatever you don't want from the Bookmarks Menu using the ordinary right-click 'delete' function for some items... and then CSS usertyles to remove those items that can't be deleted... see below:
Hmm, apologies... very busy elsewhere during 2016 so obviously missed your previous 'Allow users to hide Bookmarks sections they don't use' topic.BenFenner wrote:I'd love to see your example CSS since I have been looking to modify the bookmark menu as far back as this thread from 2016: viewtopic.php?f=5&t=11569
Pity you never came across old Firefox extension 'BookmarkMenuHider' which worked perfectly until maybe Pale Moon v29. It is still available in JustOff's 'Classic Add-ons Archive' (CAA)... but sadly no longer works... it will install, but then throws an error... not investigated why.
The 'Menu Wizard' extension suggested in a reply to your 2016 topic is still available from SeaMonkey's extension list... tested a couple of versions today... loads, but certainly doesn't work with the Bookmarks Menu in Pale Moon AFAICS? Didn't test any of Menu Wizard's other options.
Anyway, it's easy enough to remove whatever you don't want from the Bookmarks Menu using the ordinary right-click 'delete' function for some items... and then CSS usertyles to remove those items that can't be deleted... see below:
You do not have the required permissions to view the files attached to this post.
-
- Astronaut
- Posts: 588
- Joined: 2015-06-01, 12:52
- Location: US Southeast
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
I've been meaning to reply.
Thank you for all of that. I will work through it when I have time and I'm excited to see what I can come up with.
Cheers!
Thank you for all of that. I will work through it when I have time and I'm excited to see what I can come up with.
Cheers!
-
- Astronaut
- Posts: 588
- Joined: 2015-06-01, 12:52
- Location: US Southeast
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
Off-topic:
I finally got a chance to work on hiding Bookmark Toolbar items I'm not interested in using the helpful post by Blacklab above. After 7 years I finally have the trim bookmarks menu I've always wanted. The code above was not current or didn't work for me, but I managed to find the right UI element IDs (and in one case just a class, no ID).
Here is what I ended up with for my userChrome.css file:
I finally got a chance to work on hiding Bookmark Toolbar items I'm not interested in using the helpful post by Blacklab above. After 7 years I finally have the trim bookmarks menu I've always wanted. The code above was not current or didn't work for me, but I managed to find the right UI element IDs (and in one case just a class, no ID).
Here is what I ended up with for my userChrome.css file:
Code: Select all
/* --- Bookmarks Menu - Hide Unwanted Items --- */
/* Inspired by: https://forum.palemoon.org/viewtopic.php?f=3&t=30106&p=241682#p241696 */
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarSeparator,
#menu_unsortedBookmarks,
.hide-if-empty-places-result
{
display: none !important;
}
Off-topic:
I'm quoting Moonchild here so he'll get pinged by the forum:
I'm quoting Moonchild here so he'll get pinged by the forum:
Do you mind unlocking this thread from 2016 so I can post my resolution there?
-
- Board Warrior
- Posts: 1081
- Joined: 2012-06-08, 12:14
Re: Visual Artefact When layout.css.devPixelsPerPx = 1.2
Off-topic:
Glad you fixed your bookmarks menu items to suit!
BTW - There's one Pale Moon Bookmarks Menu curiosity...
On every other Firefox-based browser from Basilisk to the very latest Firefox/LibreWolf v118 all their Bookmarks Menu dropdowns will 'flip outside' of the browser window to the left (always providing there's sufficient desktop window space for the 'flip out' to fit on the screen)... its a neat trick IMO... and quite useful too.
Pale Moon will do the 'flip out menu' trick if the Bookmarks Menu button is over on the far right-hand side of the Navigation toolbar... but it won't 'flip out' when the Bookmarks Menu button is on the left-hand side.
Just one of those little browser UI mysteries... the 'flip out' left must have arrived in time for Basilisk's code base... just not before Pale Moon's final fork?
Basilisk showing Bookmarks Menu dropdown 'flip out' to left. Neat!
PS. Those with sharp eyes might notice that the Basilisk (Australis) UI's rather unusual 'Combined Bookmark Star & Menu button' has also been 'flipped' over in screenshot above... so the Bookmarks Menu button is now on the LH side of the button pair... to enable maximum 'flip out' of the menu box.
CSS userstyle used to swap the Combined Bookmarks buttons over:
Glad you fixed your bookmarks menu items to suit!
BTW - There's one Pale Moon Bookmarks Menu curiosity...
On every other Firefox-based browser from Basilisk to the very latest Firefox/LibreWolf v118 all their Bookmarks Menu dropdowns will 'flip outside' of the browser window to the left (always providing there's sufficient desktop window space for the 'flip out' to fit on the screen)... its a neat trick IMO... and quite useful too.
Pale Moon will do the 'flip out menu' trick if the Bookmarks Menu button is over on the far right-hand side of the Navigation toolbar... but it won't 'flip out' when the Bookmarks Menu button is on the left-hand side.
Just one of those little browser UI mysteries... the 'flip out' left must have arrived in time for Basilisk's code base... just not before Pale Moon's final fork?
Basilisk showing Bookmarks Menu dropdown 'flip out' to left. Neat!
PS. Those with sharp eyes might notice that the Basilisk (Australis) UI's rather unusual 'Combined Bookmark Star & Menu button' has also been 'flipped' over in screenshot above... so the Bookmarks Menu button is now on the LH side of the button pair... to enable maximum 'flip out' of the menu box.
CSS userstyle used to swap the Combined Bookmarks buttons over:
You do not have the required permissions to view the files attached to this post.