Opened 14 years ago

Last modified 18 months ago

#6438 assigned bug

BPopUpMenu labels do not truncate

Reported by: dru_ed Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit/BMenu Version: R1/Development
Keywords: BPopUpMenu Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

On Haiku (be it Alpha or nightly 37948), BPopUpMenus do not truncate text to fit their given rectangle when set. The image below shows the same code running on BeOS R5 & Haiku rev 37948.

1-3 / A-C happen as expected. The problem is at 4 / D. Details below.

  • 1: shows the popupmenu with a name on R5, A: shows the same on Haiku - both as expected.
  • 2: shows the contents of the popupmenu on R5, B: shows the same on Haiku - both as expected.
  • 3: shows the popupmenu after an item is chosen. C: shows the same on Haiku - both as expected.
  • 4: shows the popupmenu after a very long named item is chosen. on R5, the name is truncated.
  • D: shows the popupmenu after a very long named item is chosen. on Haiku, the name is not truncated and extends well beyond the size specified as the limit of the popupmenu rectangle's width.

PopUpMenu R5 vs Haiku

Attachments (2)

PopUpTruncHR5.png (11.2 KB ) - added by dru_ed 14 years ago.
PopUpMenu R5 vs Haiku
media.png (18.0 KB ) - added by diver 12 years ago.

Download all attachments as: .zip

Change History (6)

by dru_ed, 14 years ago

Attachment: PopUpTruncHR5.png added

PopUpMenu R5 vs Haiku

by diver, 12 years ago

Attachment: media.png added

comment:3 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:4 by diver, 6 years ago

Description: modified (diff)

Still an issue?

comment:5 by diver, 6 years ago

Description: modified (diff)

comment:6 by pulkomandy, 18 months ago

Component: Kits/Interface KitKits/Interface Kit/BMenu
Note: See TracTickets for help on using tickets.