roytam1 / palemoon26

A forked repo of Pale Moon v26 web browser and its Goanna v2 engine with a `oldvc` branch targeting Windows 2000.
Other
5 stars 1 forks source link

Menu bar not readable #6

Open lunzima opened 1 week ago

lunzima commented 1 week ago

The bug appears like the issue in upstream PM 26.3.2 & 26.3.3 but it's on Windows 2000.

roytam1 commented 1 week ago

maybe you need to post a screenshot to describe the problem

lunzima commented 1 week ago

QQ截图20240630210754 White text on white hovered menu item, so it's unreadable.

I've made a fixed theme to fix that by changing chrome\os_target\win\menu.css It seems that elements with color: -moz-menubarhovertext or color: HighlightText property has wrong behavior on Windows 2000/XP.

You can even reproduce the problem using the compatibility options on modern versions of Windows.

lunzima commented 1 week ago

QQ截图20240630211619 So here's a proposed temporary fix by setting the text color to "MenuText"

roytam1 commented 1 week ago

It seems that elements with color: -moz-menubarhovertext or color: HighlightText property has wrong behavior on Windows 2000/XP.

thanks for your screenshots and problematic directives. hope I can find some free time and have a look in NM26 codebase.

lunzima commented 1 week ago

It seems that elements with color: -moz-menubarhovertext or color: HighlightText property has wrong behavior on Windows 2000/XP.

thanks for your screenshots and problematic directives. hope I can find some free time and have a look in NM26 codebase.

It should be noted that this bug affects most non-Dark themes.

roytam1 commented 1 week ago

QQ截图20240630210754 White text on white hovered menu item, so it's unreadable.

image

since you're using flat menu on classic theme, you need to setup color properly. and you can see my setup is fine here.

In gist, you need to correct the color of MenuBar and MenuHilight colors in HKEY_CUEERENT_USER\Control Panel\Colors in registry, by copying values from Menu and Hilight.

lunzima commented 1 week ago

I'm running Windows 2000, so there should be no uxtheme stuff? QQ截图20240701002241 I've added MenuBar and MenuHilight, but still no luck.

roytam1 commented 1 week ago

in Win2000, by default it has no flat menu: image

so you may need to check if you have any third party program or mods which makes menu becoming flat.

EDIT: this is a bug caused by Extended Kernel and your UserPreferencesMask setting in HKEY_CUEERENT_USER\Control Panel\Desktop. Try changing 3rd byte to 00 in UserPreferencesMask and reboot.

lunzima commented 1 week ago

in Win2000, by default it has no flat menu: image

so you may need to check if you have any third party program or mods which makes menu becoming flat.

EDIT: this is a bug caused by Extended Kernel and your UserPreferencesMask setting in HKEY_CUEERENT_USER\Control Panel\Desktop. Try changing 3rd byte to 00 in UserPreferencesMask and reboot.

By fixing UserPreferencesMask problem solved, although blackwingcat's extended kernel is not used.