Closed
Bug 334244
Opened 18 years ago
Closed 17 years ago
Click-drag-release on bookmarks toolbar folder drags the folder
Categories
(Firefox :: Bookmarks & History, defect, P2)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3 alpha7
People
(Reporter: jruderman, Assigned: stevewon)
References
Details
(Keywords: regression, uiwanted)
Attachments
(1 file, 5 obsolete files)
2.14 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Firefox 2006-04-16 trunk on Mac. Steps to reproduce: 1. Mouse down on a folder on the bookmarks toolbar. 2. Move the cursor down, as if you were intending to mouse up on an item in the menu. Result: The folder is dragged. See also bug 235244, where some people suggest that these steps should result in a drag while holding Cmd (Mac) or Alt/Shift (Windows/Linux) but not otherwise. IIRC, before Places landed, Firefox on Windows let you drag with either Alt or Shift (Alt because it was standard on Windows, Shift because Alt+click has special meanings to some Linux window managers). Worked correctly in 2006-04-10 trunk (6 days ago). So this is a recent regression, maybe from bug 332873.
Reporter | ||
Updated•18 years ago
|
Flags: blocking-firefox2?
Updated•18 years ago
|
Assignee: nobody → bugs
Priority: -- → P2
Target Milestone: --- → Firefox 2 alpha2
Updated•18 years ago
|
Flags: blocking-firefox2?
Reporter | ||
Updated•18 years ago
|
Flags: blocking1.9a1?
OS: Mac OS X 10.2 → Mac OS X 10.4
Updated•17 years ago
|
Assignee: bugs → nobody
Updated•17 years ago
|
Flags: blocking1.9a1?
Reporter | ||
Updated•17 years ago
|
Flags: blocking-firefox3?
Comment 3•17 years ago
|
||
I just noticed this in a Minefield/3.0a5pre build (20070521), which is the first I tried after the Places got switched on again (older Minefield was 20070416). I remember this bug from before (when Places was enabled last year), but forgot about it when Places was disabled again. And now it seems to be back. I'm sure it wasn't present pre-Plavces, and neither in the latest Bon Echo build (2.0 branch). Since I always use the folders on the toolbar as pulldown menu (click-drag downwards), I always end up dragging the folder into its own pulldown menu (which is impossible ofcourse). Very annoying. It generates this error in the console, maybe it helps : Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavBookmarksService.moveFolder]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://browser/content/places/controller.js :: PMFT_doTransaction :: line 1745" data: no] I know that is a different bug, but if we won't allow click-drag to move a folder (horizontally or vertically), it won't happen anymore.
Updated•17 years ago
|
Target Milestone: Firefox 2 beta1 → Firefox 3 beta1
Comment 5•17 years ago
|
||
OS -> All, this also applies to Windows.
OS: Mac OS X → All
Hardware: Macintosh → All
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → swon
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•17 years ago
|
||
So I am checking if the event.target is a toolbarbutton and is a type of menu in the beginning of onDragStart... I am currently returning false there, but the patch also seems to work by returning true. Does the return value from onDragStart actually have much meaning here?
Attachment #271236 -
Flags: review?(dietrich)
Assignee | ||
Comment 7•17 years ago
|
||
Attachment #271236 -
Attachment is obsolete: true
Attachment #271237 -
Flags: review?(dietrich)
Attachment #271236 -
Flags: review?(dietrich)
Comment 8•17 years ago
|
||
(In reply to comment #6) > Created an attachment (id=271236) [details] > Patch > > So I am checking if the event.target is a toolbarbutton and is a type of menu > in the beginning of onDragStart... I am currently returning false there, but > the patch also seems to work by returning true. Does the return value from > onDragStart actually have much meaning here? > the other implementations in the tree that i looked at do not return a value.
Assignee | ||
Comment 9•17 years ago
|
||
Returns nothing now, instead of false.
Attachment #271237 -
Attachment is obsolete: true
Attachment #271243 -
Flags: review?(dietrich)
Attachment #271237 -
Flags: review?(dietrich)
Comment 10•17 years ago
|
||
Comment on attachment 271243 [details] [diff] [review] "return false;" fixed to "return" this will break the alt+drag scenario that's in the #ifdef, as we'd never get that far.
Attachment #271243 -
Flags: review?(dietrich) → review-
Assignee | ||
Comment 11•17 years ago
|
||
Need to be tested on XP first. Not ready for review yet.
Attachment #271243 -
Attachment is obsolete: true
Assignee | ||
Comment 12•17 years ago
|
||
Attachment #271264 -
Attachment is obsolete: true
Assignee | ||
Comment 13•17 years ago
|
||
Thanks Seth for testing this on XP.
Attachment #271274 -
Attachment is obsolete: true
Attachment #271280 -
Flags: review?(dietrich)
Comment 14•17 years ago
|
||
yes, tested checkpt2 on windows xp, and it looks good. the bug is fixed, and alt+click or ctrl+click still work. one issue I see (with and without swon's patch) is that I don't think we should be opening the folders on alt+click or ctrl+click. spun off to bug #387173
Comment 15•17 years ago
|
||
Comment on attachment 271280 [details] [diff] [review] Patch r=me, thanks!
Attachment #271280 -
Flags: review?(dietrich) → review+
Comment 16•17 years ago
|
||
since I tested it, it was in my local tree, so I've landed it for Steve. Checking in toolbar.xml; /cvsroot/mozilla/browser/components/places/content/toolbar.xml,v <-- toolbar.x ml new revision: 1.97; previous revision: 1.96 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 17•17 years ago
|
||
Verified with: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071805 Minefield/3.0a7pre
Status: RESOLVED → VERIFIED
Comment 18•17 years ago
|
||
Possible regression? See bug 389914
Comment 19•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•