[MGNLUI-3976] Copied path from bottom of the Pages app includes labels from actionbar Created: 09/Aug/16  Updated: 05/Dec/16  Resolved: 13/Sep/16

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Michal Novak Assignee: Hieu Nguyen Duc
Resolution: Won't Fix Votes: 0
Labels: quickwin, usability
Remaining Estimate: 0d
Time Spent: 1d 1.5h
Original Estimate: 2d

Attachments: PNG File copiedInfo.png     PNG File path.png    
Issue Links:
Relates
dependency
is depended upon by MGNLUI-3464 Provide a way to navigate to a node i... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Saigon 61
Story Points: 5

 Description   

After triple-click on path there is path copied with labels from actionbar (Chrome)

Tested on Magnolia 5.3.13 and 5.4.7

On Safari, Firefox works as intended
When you mouse-select that path ( e.g. mouse drag ) works as intended

UPD
As it was pointed by cedric in the comments - this issue is caused by the Chromium bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=511962



 Comments   
Comment by Cedric Reichenbach [ 30/Aug/16 ]

Might be a Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=511962

Comment by Hieu Nguyen Duc [ 06/Sep/16 ]

This is browser bug.

Magnolia disables selecting text on document body by "-webkit-user-select: none" then enable it for the path label.

The problem is Chrome has two bugs:
+ https://bugs.chromium.org/p/chromium/issues/detail?id=511962
+ https://bugs.webkit.org/show_bug.cgi?id=80159

The first one is selection range is incorrect. It causes triple-clicking to select the next rectangle which is action bar.
The second one is "-webkit-user-select: none" is not respected when copying text. It causes copying text to bring "non-selected" text along.

Generated at Mon Feb 12 09:12:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.