Closed
Bug 444892
Opened 16 years ago
Closed 15 years ago
when find bar is focused, ctrl+pageup/dn will scroll page content
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: ori, Assigned: ori)
Details
(Keywords: polish, verified1.9.1, Whiteboard: [polish-easy] [polish-interactive][polish-p3])
Attachments
(1 file, 1 obsolete file)
1.21 KB,
patch
|
enndeakin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
Tested on Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061017 Firefox/3.0 When the find bar is focused, ctrl+pageup/down will send the pageup/down action to the current page before switching tabs. It should *not* scroll the page when ctrl is pressed. Steps to reproduce: 1) Open two tabs with lots of vertical scroll. Move the scroll to the middle of the page. 2) Open a find bar in the first tab (will automatically focus) and use ctrl+pagedown to switch to the second tab. 3) Return to the first tab with ctrl+pageup Results: 1) The page on the first tab has scrolled down. (since the find-bar was focused) 2) The page on the second tab did not scroll up (since the find-bar was not focused
Comment 1•16 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/findbar.xml needs to check for keyboard modifiers before scrolling.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•16 years ago
|
||
Jesse, is CTRL the only "dangerous" modifier? Can you think of others that should be checked for?
Comment 3•16 years ago
|
||
I think it should bail if any of cmd/meta, option/alt, or ctrl are held. Maybe even shift.
Updated•16 years ago
|
Product: Firefox → Toolkit
Assignee | ||
Comment 4•15 years ago
|
||
Attached is a patch that prevents pageup/down from scrolling the page when pressed in conjunction with ctrl/alt/shift. I'm not sure if event.preventDefault() should be inside or outside the conditional. Does shift need to be checked as well?
Attachment #364815 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #364815 -
Flags: review? → review?(mano)
Assignee | ||
Updated•15 years ago
|
Attachment #364815 -
Flags: review?(mano) → review?(enndeakin)
Comment 5•15 years ago
|
||
Comment on attachment 364815 [details] [diff] [review] Suggested patch I think shift should be ignored as well.
Attachment #364815 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Ok. The new patch also ignores shift.
Attachment #364815 -
Attachment is obsolete: true
Attachment #368030 -
Flags: review?(enndeakin)
Updated•15 years ago
|
Attachment #368030 -
Flags: review?(enndeakin) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 7•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/306d51ee8b10
Assignee: nobody → ori
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed → polish
Resolution: --- → FIXED
Whiteboard: [polish-easy] [polish-interactive]
Target Milestone: --- → mozilla1.9.2a1
Assignee | ||
Updated•15 years ago
|
Attachment #368030 -
Flags: approval1.9.1?
Comment 8•15 years ago
|
||
Comment on attachment 368030 [details] [diff] [review] Added shift to the list of keys to ignore a191=beltzner
Attachment #368030 -
Flags: approval1.9.1? → approval1.9.1+
Updated•15 years ago
|
Keywords: checkin-needed
Comment 9•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/c700c9b5c74e
Keywords: checkin-needed → fixed1.9.1
Comment 10•15 years ago
|
||
verified FIXED on builds: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090505 Minefield/3.6a1pre ID:20090505031205 and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b5pre) Gecko/20090505 Shiretoko/3.5b5pre ID:20090505031155
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Comment 11•15 years ago
|
||
This bug's priority relative to the set of other polish bugs is: P3 - Polish issue that is in a secondary interface, occasionally encountered, or is not easily identifiable.
Whiteboard: [polish-easy] [polish-interactive] → [polish-easy] [polish-interactive][polish-p3]
You need to log in
before you can comment on or make changes to this bug.
Description
•