Closed
Bug 278599
Opened 20 years ago
Closed 19 years ago
focus doesn't switch to content area after clicking on bookmark item in sidebar
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
People
(Reporter: u115577, Assigned: vladimir+bm)
Details
Attachments
(1 file)
|
942 bytes,
patch
|
mconnor
:
review+
mconnor
:
approval1.8b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050114 Firefox/1.0+ When I press Enter key on bookmark item, the focus switches. No problem with History Sidebar. Reproducible: Always Steps to Reproduce: 1. Open Bookmarks Sidebar 2. Click bookmark item Actual Results: Focus remains on bookmark item. Expected Results: Focus switches to content area.
This is regression since 2004-07-29. http://lxr.mozilla.org/mozilla/source/browser/components/bookmarks/content/bookmarksTree.xml#558 "this.focus()" has no meaning because "things like cut/copy/etc" are called by right click (aEvent.button == 2, see line 523).
Comment 2•20 years ago
|
||
dup of bug 189938 ?
(In reply to comment #2) > dup of bug 189938 ? Bug 189938 is about Mozillla Suite and seems to be fixed - the focus correctly switches to content area. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050116 This is bug in Firefox code. Suite: http://lxr.mozilla.org/mozilla/source/xpfe/components/bookmarks/resources/bookmarksTree.xml#392 Firefox: http://lxr.mozilla.org/mozilla/source/browser/components/bookmarks/content/bookmarksTree.xml#519
... and not Mac only.
OS: MacOS X → All
Hardware: Macintosh → All
Comment 5•20 years ago
|
||
Comment on attachment 171417 [details] [diff] [review] patch - fixes annoying focus How odd. Vlad seems to have put that in himself, as part of his mostly bug 252875 checkin last July, but the comment isn't... er, was that where that was supposed to go? Surely we don't get past the openBookmark() line doing anything like cut/copy? Personally, I'd refocus the sidebar on a metaKey+click, but that's just me. To get anywhere with a patch, you need to ask a peer for review: since it's Vlad's code and bug, he's the likely candidate.
Attachment #171417 -
Flags: review?(vladimir)
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #171417 -
Flags: review?(vladimir)
Attachment #171417 -
Flags: review?(vladimir+bm)
Attachment #171417 -
Flags: approval-aviary1.1a2?
Updated•20 years ago
|
Attachment #171417 -
Flags: approval-aviary1.1a2?
Updated•19 years ago
|
Flags: blocking-aviary1.1? → blocking1.8b4+
So, here's the problem. You click on a bookmark in the sidebar. That bookmark is selected *and opened*, since we open on single-click so we can be like IE. Focus goes to the content area. Now, at this point, you have a bookmark visually selected. What if you want to hit C-x/C-c to cut/copy it? It's (almost) impossible to use keyboard shortcuts to cut/copy/etc. in the sidebar without this patch, as the focus will never be where you want it to be. So that's the issue -- you can either have working copy/cut/etc shortcuts, or you can have the content area get focused. If we weren't trying so hard to be like IE here, we'd just open on double-click like any sane tree, and this problem goes away. Gonna bounce the review to mconnor, so he can pick his poison ;)
Attachment #171417 -
Flags: review?(vladimir+bm) → review?(mconnor)
Updated•19 years ago
|
Attachment #171417 -
Flags: review?(mconnor)
Attachment #171417 -
Flags: review+
Attachment #171417 -
Flags: approval1.8b4+
Comment 7•19 years ago
|
||
Is this bug related to bug 299514 (Random unresponsive keyboard shortcuts and context menus due bad focus in tabs)?
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Whiteboard: [checkin needed]
Comment 8•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•