Closed Bug 1125203 Opened 11 years ago Closed 8 years ago

Copy option grayed out in location bar context menu

Categories

(Firefox :: Address Bar, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox38 --- affected
firefox60 --- ?

People

(Reporter: lizzard, Unassigned)

Details

Attachments

(1 file)

This is happening in Ubuntu 14.04 and MacOSX 10.10 on Nightly, buildid 20150123030203. It appeared recently, within the last couple of days, but I don't have an exact regression range. Clicking and selecting a url in the location bar should give me an option to copy the url. That option is grayed out in the current Nightly. (See bug 468221)
Flags: firefox-backlog?
I am seeing a regression of this issue in FF Nightly 38.0a1 in Ubuntu 14.10. Cannot confirm when this issue actually regressed. Details below: Steps to reproduce: 1. Set browser.urlbar.clickSelectsAll to True. 2. Right click on address bar of a loaded tab. Result: 1. URL is automatically selected. 2. Cut and Copy options in the context menu are disabled. Paste and Select All are activated. 3. If I right click in the address bar again (immediately, with the URL selected), the Cut and Copy options also become enabled. Expected result: 1. The Cut and Copy options should be enabled after first right click. What I feel is that the address bar right click event is triggering the Select All action due to the browser.urlbar.clickSelectsAll being set to true. However, the event does not trigger the action to activate the Cut and Copy options (as required) in the context menu. The second time when I right click the address bar (with the address selected in the prior step), the click event triggers the context menu that realises that the address is selected and hence activates the Cut and Copy options as well. What probably needs to be done is that after the Select All action triggers, it should move the control to the code piece managing the options that need to be activated in the context menu. It is instead simply running the context menu's show function so the menu behaves as though the URL is not selected
Ran the mozreg tool. Here's the pushlog for the point of regression: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3d846527576f&tochange=63006936ab99
Is this still reproducible?
Flags: needinfo?(lhenry)
I'm not seeing it on macOS 10.13.13 and nightly 60. We can ask QE to double check if you like, but I expect we'd have seen duplicates or more comments if it was still an obvious problem.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(lhenry)
Resolution: --- → WORKSFORME
Flags: firefox-backlog?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: