Closed Bug 215590 Opened 21 years ago Closed 21 years ago

"Copy Link Location", "Delete", "Select All" in history sidebar do not work/are inactive/greyed out

Categories

(Core Graveyard :: History: Global, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: steffen.wilberg, Assigned: durbacher)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030807
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030807

In history sidebar, the context menu items "Copy Link Location", "Delete" and
"Select All" in history sidebar do not work. They do work in Go - History.

Reproducible: Always

Steps to Reproduce:
1. Open the history sidebar.
2. Right-click on any item.

Actual Results:  
If you right-click on a hostname, the context menu items "Delete" and "Select
All" are inactive (greyed out).
If you right-click on a page, the context menu items "Copy Link Location",
"Delete" and "Select All" are inactive.

Expected Results:  
These items should work.

Workaround: There's no problem in Go - History (Ctrl-H).
Error: gHistoryStatus has no properties
Source File: chrome://communicator/content/history/history.js
Line: 164

in JavaScript console when this happens.
This might point to bug 227053.
Delete button is bug 140616.
Yes, I commented out the line with the error and now the script runs on and this
bug disappears - at least most parts of it:
Starting with the second right-click everything works. But at the first time
"Delete" and "Copy Link Location" are still greyed out.
So this bug depends on bug 227053, but is not fully identical.
Depends on: 227053
My last comment now represents the state of the trunk.

The default selection somehow does not select the first item completely or too
late...
Attached patch patchSplinter Review
Update commands when focus goes to tree.
Attachment #139200 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #139200 - Flags: review?(neil.parkwaycc.co.uk) → review+
Comment on attachment 139200 [details] [diff] [review]
patch

Requesting sr= from alecf.
Attachment #139200 - Flags: superreview?(alecf)
Comment on attachment 139200 [details] [diff] [review]
patch

does this also update the "delete domain" option too?
Attachment #139200 - Flags: superreview?(alecf) → superreview+
alecf: ummm... in the history sidebar there is no such option and this fix is
for the sidebar only (history-panel.xul). 
I guess you mean the entries in the edit menu of the history window? Bug 148959
is about them and I tried the same thing there, but it does not work. Yesterday
I tried hard to debug that other bug (after having tried and commented the day
before), but I have no idea what's going on there...
Thanks for sr!
Assignee: blake → durbacher
Checking in xpfe/components/history/resources/history-panel.xul;
/cvsroot/mozilla/xpfe/components/history/resources/history-panel.xul,v  <-- 
history-panel.xul
new revision: 1.19; previous revision: 1.18
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: