Ticket #1997 (closed bug: fixed)

Opened 2 years ago

Last modified 21 months ago

Restart dialog occasionally comes up with infinite (or extremely large) height

Reported by: anevilyak Owned by: anevilyak
Priority: normal Milestone: R1
Component: User Interface Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Platform: All
Blocking:

Description

Probably once in 20 or so boots of Haiku, the restart dialog has a near-infinite height for some reason.

Attachments

broken_terminal_and_restart_dialog.png Download (6.2 KB) - added by mmlr 2 years ago.
Contains two screenshot parts of a broken Terminal and a broken restart dialog

Change History

follow-up: ↓ 4   Changed 2 years ago by bonefish

I've also seen the Terminal window opening with only a few pixels height and huge width. Smells like an initialization race condition.

  Changed 2 years ago by anevilyak

You mean the terminal that's brought up on startup, or any random Terminal? I haven't observed that as of yet. And init race was my thought exactly, as the restart dialog appears to be created on boot and then just Show/Hidden from there instead of being recreated.

  Changed 2 years ago by bipolar

I've noticed the Media preflet become exceptionally wide (something that felt like 10000 pixels). Don't know if this is related, but as Ingo mentioned the Terminal...

in reply to: ↑ 1   Changed 2 years ago by diver

Replying to bonefish:

I've also seen the Terminal window opening with only a few pixels height and huge width. Smells like an initialization race condition.

Yeah. I saw this too several times, last time it was 2 days ago. It was when i started several times Terminal from LaunchBox.

  Changed 2 years ago by mmlr

FWIW I'll attach a picture containing a broken Terminal and a broken restart dialog I've encountered at some random time. Maybe it's related to this and someone might get a clue based on a picture?

Changed 2 years ago by mmlr

Contains two screenshot parts of a broken Terminal and a broken restart dialog

  Changed 2 years ago by jackburton

I think this is the same problem reported in #502. Could be that the Portlink gets full and doesn't send/receive some data in some cases ? See also r23554. BTW could we call debugger() if portlink is full and start dropping some data ?

  Changed 2 years ago by axeld

From the looks of it, I would think the problems are based on the font sizes the application retrieves - at least it looks like all interface elements are there which would be very unlikely if there was something wrong with the PortLink.

  Changed 2 years ago by anevilyak

For what it's worth, the behavior seen in mmlr's screenshots seems to be a somewhat different case from what I ran into that caused me to initially open this bug...I was never able to drag that window far enough to even find the buttons.

  Changed 21 months ago by bonefish

  • status changed from new to closed
  • resolution set to fixed

Should be fixed in r26192.

Note: See TracTickets for help on using tickets.