Closed
Bug 431332
Opened 17 years ago
Closed 17 years ago
drag & drop in places menupopups force a copy op instead of moving
Categories
(Firefox :: Bookmarks & History, defect, P1)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3
People
(Reporter: dietrich, Assigned: mak)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
|
1.28 KB,
patch
|
dietrich
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•17 years ago
|
||
updating summary and asking blocking
this happens in all menupopups IIRC
Flags: blocking-firefox3?
Summary: dnd in the bookmarks menu copies instead of moves → drag & drop in places menupopups force a copy op instead of moving
Comment 2•17 years ago
|
||
I make a small patch for this Bug. It seems to work well.
However, I have few knowledge about Places. Therefore, there may be another problem to this patch.
chrome\browser.jar\content\browser\places\controller.js
onDrop: function PCDH_onDrop(insertionPoint) {
else {
- if (unwrapped.id && !this.canMoveContainer(unwrapped.id, null))
- copy = true;
- else if (unwrapped.concreteId &&
- !this.canMoveContainer(unwrapped.concreteId, null))
- copy = true;
transactions.push(PlacesUIUtils.makeTransaction(unwrapped,
flavor.value, insertionPoint.itemId,
index, copy));
else {
+ if (unwrapped.id && !this.canMoveContainer(unwrapped.id, null)){
+ copy = true;
+ }else{
+ if (unwrapped.concreteId &&
+ !this.canMoveContainer(unwrapped.concreteId, null)){
+ copy = true;
+ }else{
+ copy= false;
+ }
+ }
transactions.push(PlacesUIUtils.makeTransaction(unwrapped,
flavor.value, insertionPoint.itemId,
index, copy));
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → mak77
| Assignee | ||
Comment 4•17 years ago
|
||
i feel like this check is wrong (canMove, so copy)
Attachment #318574 -
Flags: review?(dietrich)
| Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [has patch][needs review dietrich]
| Reporter | ||
Comment 5•17 years ago
|
||
Comment on attachment 318574 [details] [diff] [review]
patch
r=me
Attachment #318574 -
Flags: review?(dietrich) → review+
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Whiteboard: [has patch][needs review dietrich] → [needs landing]
Comment 6•17 years ago
|
||
Comment on attachment 318574 [details] [diff] [review]
patch
a1.9=beltzner
Attachment #318574 -
Flags: approval1.9+
| Reporter | ||
Comment 7•17 years ago
|
||
Checking in browser/components/places/content/menu.xml;
/cvsroot/mozilla/browser/components/places/content/menu.xml,v <-- menu.xml
new revision: 1.132; previous revision: 1.131
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Priority: -- → P1
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → Firefox 3
Comment 8•17 years ago
|
||
Verified fixed for me using Vista HP SP1
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008043010 Minefield/3.0pre Firefox/3.0 ID:2008043010
Comment 9•17 years ago
|
||
Verified with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008050206 Minefield/3.0pre ID:2008050206
Status: RESOLVED → VERIFIED
Flags: in-litmus?
Comment 10•16 years ago
|
||
Litmus test cases were updated for regression testing on 3.0 and 3.1 test runs.
For 3.0,
https://litmus.mozilla.org/show_test.cgi?id=7535
Fro 3.1,
https://litmus.mozilla.org/show_test.cgi?id=7457
Flags: in-litmus? → in-litmus+
Comment 11•16 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
•