Opened 4 years ago

Last modified 6 weeks 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)

screenshot1.png (42.0 KB ) - added by bitigchi 4 years ago.
Expected font
screenshot2.png (42.2 KB ) - added by bitigchi 4 years ago.
Font after reopening the menu

Download all attachments as: .zip

Change History (11)

by bitigchi, 4 years ago

Attachment: screenshot1.png added

Expected font

by bitigchi, 4 years ago

Attachment: screenshot2.png added

Font after reopening the menu

comment:1 by bitigchi, 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 humdinger, 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:3 by pulkomandy, 4 years ago

Possibly related to #14424 ?

comment:4 by bitigchi, 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 humdinger, 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 pulkomandy, 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 pulkomandy, 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 bitigchi, 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 madmax, 6 weeks 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?

Note: See TracTickets for help on using tickets.