fastsupply / growl

Automatically exported from code.google.com/p/growl
0 stars 0 forks source link

Some display windows are only 1 pt tall #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Unknown, but posting a lot of notifications at once is a good way to trigger 
it. It's usually the first 
one of a batch, for some reason.

What is the expected output?
The notification window is its normal size, so as to completely enclose its 
content.

What do you see instead?
The notification window is its normal width (I guess), but is only 1 pt tall.

Original issue reported on code.google.com by prhgr...@gmail.com on 8 Feb 2010 at 1:14

GoogleCodeExporter commented 9 years ago
This is specific to WebKit displays. For some reason, even though we get and 
use the document view's frame in 
-webView:didFinishLoadForFrame: (so that the web view should have completely 
lain out and rendered 
everything), the document view's frame is sometimes 1 pt tall at that time. The 
height of the document view is 
what we use for the height of the window, so the result is a 1-pt-tall window.

Original comment by prhgr...@gmail.com on 8 Feb 2010 at 1:18

GoogleCodeExporter commented 9 years ago
Fixed in [6ae6091ed8c6]. This may still appear every once in a great while; I'm 
not confident that I've totally 
eliminated the problem. But this is about as much as we can do; I see no way to 
force WebKit to have a height to 
give us (I tried`[docView layout]`, but it didn't work).

Original comment by prhgr...@gmail.com on 8 Feb 2010 at 4:15