gorhill / uBlock-for-firefox-legacy

uBlock Origin for Firefox legacy-based browsers.
GNU General Public License v3.0
201 stars 24 forks source link

Power button draws wrong when "Allow pages to choose their own fonts, instead of my selections above" setting is off. #307

Closed spyrosmas closed 3 years ago

spyrosmas commented 3 years ago

Prerequisites

Description

Power button draws wrong when "Allow pages to choose their own fonts, instead of my selections above" setting is off.

A specific URL where the issue occurs

about:blank (= everywhere)

Steps to Reproduce

  1. Go to Tools->Preferences->Content->Advanced
  2. Uncheck the "Allow pages to choose their own fonts, instead of my selections above" setting
  3. Click on ubo shield alike icon on the navigation toolbar.

Expected behavior:

The power button and any other clickable options must be draw correctly at all times

Actual behavior:

Probably the font/svg/image that is responsible to have the power button icon is getting changed by the default font which does not have the power button icon on the same unicode/font position as the responsible font.

Your environment

JustOff commented 3 years ago

This is by design.

spyrosmas commented 3 years ago

So, this is a bug by design! Then the design is wrong and must be stay as a bug. In that case I can suggest the power button icon should be loaded as a standard icon or image and not as a Unicode symbol. Am I wrong? As I know, add-ons can load icons and or image files.

Also, check side by side comparison of "Allow pages to choose their own fonts, instead of my selections above" to see for your own. Must be seen at full screen.

ubo site fonts off ubo site fonts on (aka default behaviour with power button show correctrly)