Closed
Bug 44813
Opened 24 years ago
Closed 23 years ago
new bookmarks should be selected after you create them
Categories
(SeaMonkey :: Bookmarks & History, defect, P3)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: cmaximus, Assigned: zhayupeng)
References
Details
(Keywords: helpwanted, Whiteboard: bt4614463,ns621_sun)
Attachments
(1 file, 7 obsolete files)
(deleted),
patch
|
zhayupeng
:
review+
bugzilla
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
***Overview Description:
This is an offshoot of bug 27040. When you create a new bookmark it needs to be selected. Otherwise it is often difficult to
find your newly created bookmark.
***Steps to Reproduce:
1) Open Manage Bookmarks window.
2) Select File|New.
3) Give your new bookmark a url and title.
***Actual Results:
Your new bookmark is created at your previous selection point or at the top of your tree. But with no visual indication.
***Expected Results:
The new bookmark is created and hilighted so i know where to findit and can immediately begin to manipulate it if I so choose.
***Build Date & Platform Bug Found:
All platforms with the 2000070708 builds
Comment 2•24 years ago
|
||
Reassigning 79 Bookmarks bugs to Ben. I was told this was going to be done
shortly about two months ago, but it clearly hasn't been. I think that's long
enough for all these bugs to remain assigned to nobody.
Feel free to filter all this spam into the trashcan by looking for this string
in the message body: ducksgoquack
Assignee: slamm → ben
Comment 3•24 years ago
|
||
Netscape Nav triage team: this is not a Netscape beta stopper, but would be nice
to have. adding helpwanted keyword.
Keywords: helpwanted,
nsbeta1-
Comment 4•24 years ago
|
||
This still happens in the new bookmarks manager window. Please note that new
folders are created inline but the window does not scroll to their location. I
reported that in another bug, as part of my hunt for bugs in the new bookmarks
manager.
Marking nsbeta1- bugs as future to get off the radar.
Target Milestone: --- → Future
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 6•23 years ago
|
||
Paul Chen is now taking Bookmarks bugs. For your convenience, you can filter
email notifications caused by this by searching for 'ilikegoats'.
Assignee: ben → pchen
Status: ASSIGNED → NEW
Hi, paul:
Since this bug is helpwanted, what's more, I want to contribute my work to
Mozilla community, would you please assign this bug to me? I would like to have
a try, I think I would have a good starting with the help from you and
joe.chou@eng.sun.com, who is the module owner of OJI.
As a freshman of Mozilla community, I do not know whether it is suitable to
ask you to assign a bug to a freshman directly, if not, please feel free to tell
me the reasonable way, it would be very helpful for me.
Thanks a lot.
Jay yan
Jay Yan is taking this bug now -> jay.yan@sun.com
Assignee: pchen → jay.yan
Comment 10•23 years ago
|
||
Two pathces can fix this bug:
1 Add a function 'selectFolderLastItem' in file bookmarksTree.js, this function
hilights the last bookmark item in current folder.
2 Call above function after execCommand("newfolder") in file bookmarksOverlay.js
Basic test has been done without exception, after detailed test is finished, I
will apply for source CheckIn.
Status: NEW → ASSIGNED
Comment 11•23 years ago
|
||
Add browser-china@sun.com to CC list.
Comment 12•23 years ago
|
||
It is one diff file, there is another one diff file for this solution.
This diff file shows how to add a function which can hilight the last item of
current folder
Comment 13•23 years ago
|
||
This diff file shows how to call the function 'selectFloderLastItem' to hilight
a new bookmark after a new bookmark is created.
Comment 14•23 years ago
|
||
This patch needs improvement.
1 We do not have to loop to get last item of one folder, we can use
attribute 'lastchild' directly.
2 It is unsuitable to always hilight the last item, if the sorting order is
changed, this logic is wrong.
We are modifying it.
Assignee | ||
Comment 15•23 years ago
|
||
See the attachment...
I use function 'selectFolderItem' of gBookmarksShell object to do the item
select behavior.
I tested it on Windows build (Milestone096).
Will do more test on Solaris and Linux...
Comment 16•23 years ago
|
||
Jay/Pete:
Please test it with the trunk. In order to get it reviewed and checked in,
we'll need to have it tested with the trunk. If it works in the trunk as well,
then please attach the diff file for the trunk.
Margaret
Assignee | ||
Comment 17•23 years ago
|
||
Add Diff file for mozilla trunk.
Comment 18•23 years ago
|
||
Pete got a better way to fix this bug, reassign this bug to Pete.
Assignee: jay.yan → pete.zha
Status: ASSIGNED → NEW
Assignee | ||
Comment 19•23 years ago
|
||
If we don't have a protocol scheme, add "http://" as a default scheme...
Comment 20•23 years ago
|
||
pchen@netscape.com: Can you review Pete's last patch please? Thanks.
Assignee | ||
Comment 21•23 years ago
|
||
Add condition to test whether the 5th argument is null.
More safe if other codes invoke this function without 5th argument.
Comment 22•23 years ago
|
||
Hi, pchen@netscape.com
We have tested this patch on Tier-one platforms and Solaris, can you review it
now? Thanks.
Jay/Pate
Updated•23 years ago
|
Comment 23•23 years ago
|
||
Can someone review the patch please?
Comment on attachment 61199 [details]
Diff between trunk on 11/12/2001
r/sr=bz/shaver. bz to commit with change to avoid strict warning if no 6th
argument is passed.
Attachment #61199 -
Flags: superreview+
Attachment #61199 -
Flags: review+
This comment here in protest of fascist bugzilla settings.
Assignee: pete.zha → bzbarsky
Status: ASSIGNED → NEW
Comment 26•23 years ago
|
||
Comment on attachment 61199 [details]
Diff between trunk on 11/12/2001
Actually, I'm rescinding review. I just tested
this and it does not work... Most likely the
bookmarks outliner changes broke it. The
code that gets called to add the bookmark using
the steps to reproduce listed here now lives in
bookmarks.xml, and gBookmarksShell is never set to anything but null that I can
tell....
Jay, would you be willing to update the patch?
Attachment #61199 -
Flags: superreview+
Attachment #61199 -
Flags: review+
Attachment #61199 -
Flags: needs-work+
Comment 27•23 years ago
|
||
Back to Pete. Our apologies for review being so slow.... ccing self so it
doesn't happen again. :)
Assignee: bzbarsky → pete.zha
Assignee | ||
Comment 28•23 years ago
|
||
Yes, I will update the patch later.
Comment 29•23 years ago
|
||
See also bug 125107, creating a folder in File Bookmark dialog (in the brwoser)
should select the new folder.
Assignee | ||
Comment 30•23 years ago
|
||
Attachment #60150 -
Attachment is obsolete: true
Attachment #60151 -
Attachment is obsolete: true
Attachment #60482 -
Attachment is obsolete: true
Attachment #60615 -
Attachment is obsolete: true
Attachment #60629 -
Attachment is obsolete: true
Attachment #61199 -
Attachment is obsolete: true
Assignee | ||
Comment 31•23 years ago
|
||
Could be more simple than last one.
Attachment #77020 -
Attachment is obsolete: true
Comment 32•23 years ago
|
||
both patches look fine to me... r=bzbarsky on either one (assuming you tested
and this works, of course)
Assignee | ||
Comment 33•23 years ago
|
||
Yes, I have tested on trunkbuild20020401 Windows2000
Comment 34•23 years ago
|
||
Then get blaker@netscape.com or ben@netscape.com to sr. :)
Assignee | ||
Comment 35•23 years ago
|
||
cc to blaker.
Comment 36•23 years ago
|
||
Comment on attachment 77022 [details] [diff] [review]
Use "rv" to return new created bookmark.
sr=blake
Attachment #77022 -
Flags: superreview+
Assignee | ||
Comment 37•23 years ago
|
||
Comment on attachment 77022 [details] [diff] [review]
Use "rv" to return new created bookmark.
bzbarsky, add your r= here, is this ok?
r=bzbarsky
Attachment #77022 -
Flags: review+
Comment 38•23 years ago
|
||
Yep, that's fine. :)
Comment 39•23 years ago
|
||
Comment on attachment 77022 [details] [diff] [review]
Use "rv" to return new created bookmark.
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #77022 -
Flags: approval+
Comment 40•23 years ago
|
||
fix checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: Future → mozilla1.0
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•