Open Bug 1645076 Opened 6 years ago Updated 5 years ago

Copying style rules from the inspector is very inconsistent

Categories

(DevTools :: Inspector, defect, P2)

77 Branch
x86_64
Windows 10
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: u664781, Unassigned)

Details

Attachments

(2 files)

What is the problem:
CSS rules are not always copied from dev tools.

When I copy a CSS rule using the mouse (right click) it always works. But when I select it and use cntr + c, it is a hit and miss. For example I have noticed that if I select a group of rules with the mouse from left to right it tends to always works. But if I select the same rules from right to left and hit ctrl+c it doesn't. And even that cannot be reproduced all the time consistently. This applies for both single CSS rules and a group of rules. This applies for both copying rules for use outside of Firefox and within devtools. Please check the provided screen recording (we-transfer link).

What did you do to reproduce:
I try to copy rules using Ctrl + C from the dev tools in all current versions of Firefox (Dev, Nightly, Standard).

Behaviour should be:
Any rule should always be copied regardless of the method to copy it (the mouse or ctrl+c) and regardles of the way you seelct it.

Component: Menus → Inspector
Product: Firefox → DevTools

Indeed, very very annoying... I should report it long time ago, it was bothering me for a while now.
I'm using clipboard history tool and I can see it will set empty text or something like that.

The severity field is not set for this bug.
:gl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gl)
Severity: -- → S2
Priority: -- → P2
Flags: needinfo?(gl)
Attached image how to copy good / bad

Hello again,
The problem can be very easily reproduced - all you need to is use mouse to select style ALL THE WAY till the checkbox. Then "Ctrl + C" will copy blank line.

If you stop BEFORE the checkbox, it will copy the style.

PLEASE fix this soon. It's been bugging almost every day and I'm sure I'm not alone.
Thank you!

Severity: S2 → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: