[haiku-bugs] Re: [Haiku] #15155: [debug_server] lady bug icon is clipped in crash dialog

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 12 Jul 2019 11:44:40 -0000

#15155: [debug_server] lady bug icon is clipped in crash dialog
------------------------------------+----------------------------
   Reporter:  diver                 |      Owner:  pulkomandy
       Type:  bug                   |     Status:  assigned
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Servers/debug_server  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Old description:

As can be seen the lady bug icon is clipped at large font size. \\
Also the window look a bit narrow - application path doesn't fit in in
one line.

[[Image(crash.png,50%)]]

New description:

 As can be seen the lady bug icon is clipped at large fonts.
 Also the window look a bit narrow - app;ication path doesn't fit it.

 [[Image(crash.png,50%)]]

--

Comment (by pulkomandy):

 Minimum size of the text view is hardcoded here: https://git.haiku-
 os.org/haiku/tree/src/servers/debug/DebugWindow.cpp#n58

 Easily changed to (for example) StringWidth of the crashed app path.

 For the icon I think we need to synchronize the Draw() code from
 StripeView (https://git.haiku-
 os.org/haiku/tree/src/kits/shared/StripeView.cpp#n58) with the one from
 TAlertView (https://git.haiku-
 os.org/haiku/tree/src/kits/interface/Alert.cpp#n798)

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

Other related posts: