Bug 24276

Summary: Dropdown / select boxes do not consider the windows task bar in Chrome
Product: WebKit Reporter: Kim Christensen <kimworking>
Component: PlatformAssignee: Kim Christensen <kimworking>
Status: RESOLVED FIXED    
Severity: Minor    
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
URL: http://www.joeterranova.net/code/breakchrome.php
Attachments:
Description Flags
Patch
none
Patch which fixed the dropdown rendering problem fishd: review+

Description Kim Christensen 2009-03-01 13:55:49 PST
What steps will reproduce the problem?
1. Open Chrome
2. Go to http://www.joeterranova.net/code/breakchrome.php
3. Scroll to the bottom
4. Click the select box.

What is the expected result?
There's enough room to open the select box downward, but it is taken up by
the Windows taskbar. The dropdown should either be shown over the taskbar,
or opened upward instead.

Also tracked in the Chromium bug tracker at http://code.google.com/p/chromium/issues/detail?id=127

What happens instead?
The dropdown opens downward, under the taskbar. Therefore, not all choices
are visible.

Screenshot attached so you can see the orientation of things. Might not
happen the same way if your taskbar is for example larger or smaller.
Comment 1 Kim Christensen 2009-03-01 14:02:52 PST
Created attachment 28150 [details]
Patch

Patch where workarea of the screen are used instead of screen size
Comment 2 Kim Christensen 2009-03-01 14:08:56 PST
Created attachment 28151 [details]
Patch which fixed the dropdown rendering problem

Patch where the available screen size are used instead of the actual screen size
Comment 3 Darin Fisher (:fishd, Google) 2009-03-09 17:20:14 PDT
Comment on attachment 28151 [details]
Patch which fixed the dropdown rendering problem

LGTM, nice fix!

In the future, please add your full name and email address to the ChangeLog.  Also, it is a good idea to add a descriptive summary to the ChangeLog and include a link to this bug in there.  Thanks for the fix!
Comment 4 Darin Fisher (:fishd, Google) 2009-03-09 17:23:04 PDT
Landed as http://trac.webkit.org/changeset/41542