Closed Bug 89000 Opened 23 years ago Closed 23 years ago

Bookmarks are Copied by Reference in Bookmark Manager, Expected Behavior is Copying by Value

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 51683

People

(Reporter: izel, Assigned: bugs)

References

Details

(Whiteboard: dupeme)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010628 BuildID: 2001062815 I had a bookmark pointing to a specific path on one domain. I wanted to have a second bookmark, with a slightly different name, pointing to a slightly different path further down. So instead of finding and bookmarking this second path through the browser, I decided to do it in bookmark manager since I was already in there doing some cleaning. I copied and pasted the initial bookmark to a second, different directory. My plan was to modify this second copy to form the second, different bookmark, and then to cut and paste it where it belongs. But when I was done modifying the second copy, I realized that the original bookmark had undergone the exact same changes. Namely, that the Copy/Paste operation, which I assumed was copying by value, was in fact copying by reference. This was not the expected behavior and it **** me off. This is not what happens in Internet Explorer, and I cannot think of a single program where the default Copy/Paste is assumed to be copying by reference rather than by value. What irks me further is that there is no way to copy bookmarks by value in the bookmark manager. There definitely should be such an option. Reproducible: Always Steps to Reproduce: 1. Open bookmark manager, make two directories called Test1 and Test2. Close bookmark manager. 2. Go to any random site. File a bookmark for it in Test1. 3. Open bookmark manager again. Go to the bookmark you just recently filed. Copy and paste it into Test2. 4. Make some changes into the copy in Test2. Change the name, change the path or the domain, add a keyword, etc. Do not touch the original bookmark in Test1. Actual Results: The original bookmark undergoes the very same changes. Expected Results: The original bookmark should not have changed. It is counterintuitive for it to change. The right-click menu in bookmark manager should have two options for Paste, referring to Pasting by Value and Pasting by Reference. These could be called Paste (referring to pasting by value) and Paste Twin (referring to pasting by reference). If making two Paste options is not feasible, then the default behavior should be changed to pasting by value, not by reference.
Note that currently if you 1. copy a bookmark 2. paste it into a folder 3. change the new one - see the old one also changes 4. now paste again into another folder - the first and second bookmarks are identical, the third one is similar to the originally copied one. This doesn't make much sense. Apparently (see bug 89615 too) whenever a bookmark is added, the existing bookmarks are searched for an identical entry, and linked if found?
*** Bug 89615 has been marked as a duplicate of this bug. ***
Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
dupe of 'duplicate bookmark problems' bug.
Whiteboard: dupeme
*** This bug has been marked as a duplicate of 51683 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
mass-verifying Duplicate bugs which haven't changed since 2001.12.31. set your search string in mail to "CitizenGKar" to filter out these messages.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.