Opened 4 years ago
Last modified 3 months ago
#16449 new bug
Menus do not hold font settings
Reported by: | bitigchi | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | User Interface | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Steps:
- Change menu font to Noto Sans Display (Medium)
- Restart the system
- Open a menu in Tracker, and see the new font
- Close the menu
- Reopen the menu
Expectations:
- The new font setting should be retained
Results:
- Menu font reverts to Noto Sans Display Regular
Attachments (2)
Change History (11)
by , 4 years ago
Attachment: | screenshot1.png added |
---|
comment:1 by , 4 years ago
Rebuilding the font cache does not help. Fonts do not retain in Deskbar, HaikuDepot and drop-down menus as well.
comment:2 by , 4 years ago
I cannot reproduce this with Beta2, 32bit.
As I cannot see the difference between Noto Sans Display Regular and Medium, I chose Semi-Bold. The setting is kept over Tracker restarts and reboots.
comment:4 by , 4 years ago
This one doesn't need a restart to revert back to Regular weight. Just hover over the menus back and forth, it just disappears.
comment:5 by , 4 years ago
Just hover over the menus back and forth, it just disappears.
Not for me... apart from Web+'s "Bookmarks" menu items which are always "Regular" for some reason.
comment:6 by , 4 years ago
Indeed, in fact the menu font uses a completely different codepath than the other fonts and is saved in a different file. Apparently a legacy from BeOS where it was in the menu preferences. However I see no reason the setting would be reset (it's in BMenu::sMenuInfo if anyone else wants to look, and initialized using get_menu_info to get it from app_server).
comment:7 by , 4 years ago
Web+ bookmark items are custom subclass of BMenuItem and I may not have thought of using the correct font there.
comment:8 by , 4 years ago
Deskbar font changes when it's a font other than Noto Sans Display, but if I change the weight, it doesn't apply, it's always Noto Sans Display Regular.
comment:9 by , 3 months ago
This sounds a lot like #17229, and I've been able to reproduce it with the patch for that issue reverted. Can you confirm it has also been working for you?
Expected font