Opened 11 years ago

Closed 11 years ago

#1997 closed bug (fixed)

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: Blocking:
Has a Patch: no Platform: All

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 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.

comment:2 Changed 11 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.

comment:3 Changed 11 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...

comment:4 in reply to:  1 Changed 11 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.

comment:5 Changed 11 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 11 years ago by mmlr

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

comment:6 Changed 11 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 hrev23554. BTW could we call debugger() if portlink is full and start dropping some data ?

comment:7 Changed 11 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.

comment:8 Changed 11 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.

comment:9 Changed 11 years ago by bonefish

Resolution: fixed
Status: newclosed

Should be fixed in hrev26192.

Note: See TracTickets for help on using tickets.