Closed Bug 23482 Opened 25 years ago Closed 25 years ago

"Copy" in the Edit menu shouldn't be enabled when nothing is marked.

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: sfraser_bugs)

Details

The "Copy CTRL+C)" menu item seems to to enabled all the time even though
nothing is marked.
If I press CTRL+C in Mozilla and then CTRL+V in another applicaion nothing is
copied.
Assignee: shuang → saari
OS: Windows 98 → All
Hardware: PC → All
...it's probably necessary to click within the browser window, first, in order to
make the "Copy" menu item highlight.

Changing platform to 'All' (also occurs on Mac OS & Linux)
Status: NEW → ASSIGNED
Target Milestone: M14
Assignee: saari → sfraser
Status: ASSIGNED → NEW
Simon, you're handling this with the selection listener, correct?
Status: NEW → ASSIGNED
Yes. The reason that Copy is enabled all the time now is that due to other bugs,
commands are not yet updated when the selection changes (but are when the focus
changes). Since a click to set focus always causes the selection to collapse to a
point, you'd end up with an always-disabled Copy item.
Summary: "Copy" in the Edit menu shouldn't be enable when nuthing is marked. → "Copy" in the Edit menu shouldn't be enabled when nothing is marked.
Moving all UE/UI bugs to new component: User Interface: Design Feedback
UE/UI component will be deleted.
Component: UE/UI → User Interface: Design Feedback
This is now fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Component: User Interface: Design Feedback → XP Toolkit/Widgets: Menus
Verified fixed on 2.21.00 builds using Mac OS 8.6, NT 4.0 SP5 & RH Linux 6.0/
GNOME.

Specifically, unable to reproduce a scenario in which the Copy menu item is 
enabled with no text selected.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: elig → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.