Closed
Bug 801391
Opened 12 years ago
Closed 7 years ago
A clipboard will be overwritten if a focus is moved to the form for search of Library
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: hidenosuke, Assigned: standard8)
References
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
Steps to reproduce:
1. Open Library and input aaa to "Search Bookmarks"
2. Click anywhere a list in the right pane to move the focus out of "Serach Bookmarks"
3. Select a text from Firefox content area, for example bbb
4. Click "Search Bookmarks" of Library and paste from clip board by middle click
Actual result:
Paste aaa
Expected result:
Paste bbb
This originally reported to bugizlla-jp.
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=6833
![]() |
||
Comment 1•12 years ago
|
||
When I click "Search Box" in Library atStep4, the previously search term is selected, so the PRIMARY will be overwrited.
I think that the problem is clickSelectsAll="true" in
http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/places.xul#332
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Elbart from comment #2)
> Is this Linux-only? Can't reproduce in Windows.
Yes, I think so.
Because You can't copy the string by the way that I reported.(STR No.2)
Assignee | ||
Comment 4•7 years ago
|
||
It looks we should set clickSelectsAll based on the browser.urlbar.clickSelectsAll pref. This is set to false for Linux & true for other platforms (probably for this exact type of issue).
Assignee | ||
Comment 5•7 years ago
|
||
I have a patch for this, test linux build is here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2ff95b457fc0e5d98b20dc04d188e3cecdf12c18&selectedJob=158689883
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Whiteboard: [fxsearch]
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8945830 [details]
Bug 801391 - Set clickSelectsAll depending on the preference for the Bookmarks Library search box.
https://reviewboard.mozilla.org/r/215940/#review221746
worth a try.
Attachment #8945830 -
Flags: review?(mak77) → review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4bfdf6b1d4a9
Set clickSelectsAll depending on the preference for the Bookmarks Library search box. r=mak
Comment 9•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Reporter | ||
Comment 10•7 years ago
|
||
I confirmed this bug has been fixed.
Thanks!
Updated•7 years ago
|
QA Whiteboard: [good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•