[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #6438: BPopUpMenu labels do not truncate
From:       "Haiku" <trac () haiku-os ! org>
Date:       2018-11-23 11:10:01
Message-ID: 057.ee2707651912f4bb0eee3409f27e9f0c () haiku-os ! org
[Download RAW message or body]

--==============H42381284986864057=MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#6438: BPopUpMenu labels do not truncate
----------------------------------+----------------------------
   Reporter:  dru_ed              |      Owner:  nobody
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:  BPopUpMenu
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Description changed by diver:

Old description:

> 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.
>
> [[Image(PopUpTruncHR5.png​)]]

New description:

 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.

 [[Image(PopUpTruncHR5.png​)]]

--

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/6438#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

--==============H42381284986864057==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic