Open Bug 609659 Opened 14 years ago Updated 2 years ago

Windows appearing too narrow (or too short, or both) on Mac

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect

Tracking

()

Tracking Status
blocking2.0 --- -

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

I recently saw a very tall window which was only a few pixels wide.  It contained one blank tab and three firebug first run tabs, so I suspect that it was opened by Firebug.

I've also seen windows which are too narrow and short on Mac when I restore my session some of the times as well.  This shouldn't really happen.  sgreenlay told me on IRC that he thinks this is a regression from his recent work on Mac window clamping code.
Keywords: regression
Version: 1.9.2 Branch → Trunk
blocking2.0: --- → ?
Assignee: nobody → sgreenlay
blocking2.0: ? → final+
Depends on: 413277
Does someone have a testcase where this will reproduce? I have not been able to find one.
I haven't seen this either. If anyone sees this again please take a screenshot. Not blocking on this until we can reproduce it or at least we know that this is happening frequently.
blocking2.0: final+ → -
(In reply to comment #2)
> I haven't seen this either. If anyone sees this again please take a screenshot.

Am I missing something?  How will the screenshot help fix this problem?
(In reply to comment #3)
> Am I missing something?  How will the screenshot help fix this problem?

Something about the exact size or the window's positioning could give us a hint as to what the problem is.
(In reply to comment #4)
> (In reply to comment #3)
> > Am I missing something?  How will the screenshot help fix this problem?
> 
> Something about the exact size or the window's positioning could give us a hint
> as to what the problem is.

Well, I've seen this with very narrow/extremely tall windows, and also windows which are both very narrow and short (where not much more than the window buttons was displayed.)

But I'll make sure to take a screenshot next time that I see it.
Ehsan: Do you see what I have seen in Bug 586727? I have seen this with dialogs, but not windows.
(In reply to comment #6)
> Ehsan: Do you see what I have seen in Bug 586727? I have seen this with
> dialogs, but not windows.

IIRC every time that I've seen this, it's been on the main browser window.
Attached image screenshot from expose
I was pointed here, so here's a screenshot. It was taken while in expose app view, but the window is actually just a couple pixels wide.

I'm not sure exactly when this happened. I disconnect my external monitor fairly frequently. I applied today's nightly update and noticed this at some point after that. The window did exist before I restarted though. Sessionstore had the window's width saved as 0 (from sessionstore.bak). I doubt it would be a sessionstore issue though (but let me know if you find otherwise).
An instance of this problem just happened to me, kind of reproducibly!  I right clicked on a tab, and selected Move to a new Window, and this is what happened:

http://grab.by/7tzk

In that new window (after I resized it up) I did the same thing, and this is what happened:

http://grab.by/7tzo

After these two times, trying this again always opened windows maximized.
This happened again to me when restoring a crashed session: http://grab.by/7Ee5

It happened twice after I restored my session from a crash two times in a row.  The page opened in window was about:sessionrestore.
Assignee: sgreenlay → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: