WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
122774
Windows popup menu does not reselect last selected index when clicking on a disabled option
https://bugs.webkit.org/show_bug.cgi?id=122774
Summary
Windows popup menu does not reselect last selected index when clicking on a d...
Roger Fong
Reported
2013-10-14 12:52:21 PDT
<
rdar://problem/6138855
> Right now we set the selected item to the last focused element (which is the last element the user focused on via either mouse or keyboard interaction). It should just go to the previously selected item if we click on a disabled option (this is to match behavior on mac)
Attachments
patch
(3.79 KB, patch)
2013-10-14 13:04 PDT
,
Roger Fong
bfulgham
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Roger Fong
Comment 1
2013-10-14 13:04:43 PDT
Created
attachment 214183
[details]
patch
Brent Fulgham
Comment 2
2013-10-14 13:24:58 PDT
Comment on
attachment 214183
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=214183&action=review
Looks good to me. I wonder if we will mess up WINCE at all with the movement of the "setFocusedIndex" logic to inside the #if !OS(WINCE) block.
> Source/WebCore/platform/win/PopupMenuWin.cpp:167 > + }
Do you think this block is needed by WINCE?
Roger Fong
Comment 3
2013-10-14 14:15:52 PDT
Oops. Didn't notice that I had put that there. I'll move it out though just to be safe.
Roger Fong
Comment 4
2013-10-14 15:52:44 PDT
Committed:
http://trac.webkit.org/changeset/157423
mitz
Comment 5
2013-11-02 11:05:14 PDT
***
Bug 18358
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug