[haiku-bugs] Re: [Haiku] #8829: font size change causes menu text truncating when it isn't needed (was: font size change causes menu text corruption)

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Sat, 04 Aug 2012 01:37:17 -0000

#8829: font size change causes menu text truncating when it isn't needed
----------------------------------+----------------------------
   Reporter:  luroh               |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by leavengood):

 And in this case you aren't even changing the menu font, just the normal
 font, eh?

 So it is almost like the menu text rendering is truncating the text (hence
 the ellipsis) because it thinks there is not enough room. But it is weird
 that it then looks right when hovered. Checking the code for MenuItem I
 see that it does truncate in the middle if it thinks there is not enough
 room. I suspect something is wonky in BMenuItem::GetContentSize(). But
 this isn't corruption of the menu text, just truncating, so I'm changing
 the Summary.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8829#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #8829: font size change causes menu text truncating when it isn't needed (was: font size change causes menu text corruption) - leavengood