text selection cannot cross xf:repeat, xf:label and xf:output boundaries

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
12 years ago
2 years ago

People

(Reporter: Brad Clements, Unassigned)

Tracking

Trunk
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

When viewing a form composed of xf:output elements and their respective xf:labels, or xf:input with xf:labels, it is not possible to select the text of the entire page for copy and paste into another application.

If text selection starts inside an xf:input's xf-value box, or within an xf:output element, the mouse cannot select text outside the xf:input or xf:output element. However the mouse can select all of the text within a single xf-value or xf:output element, and it can be copied and pasted into another application.

If text selection starts on an xf:label, the selection box can be dragged over xf:output elements and other xf:label elements, but the xf:output elements appear "unselected", and a subsequent copy/paste only pastes the xf:label elements.

Text selection also appears to not cross into an xf:repeat element. That is, given a page with an html:div at the top and bottom, and between them an xf:group and an xf:repeat (the divs, xf:group and xf:repeat are siblings), text selection using the mouse starting in the top div, appears to cross into the xf:group, but skips over the xf:repeat contents, while dragging out the selection box to the bottom div. The entire contents of the xf:repeat appears to be unselected, and the contents of xf:output in the xf:group also do not appear selected, but the group's xf:labels do appear to be selected

However a subsequent paste shows that all of the xf:labels within the xf:repeat did get copied, but xf:output contents did not get copied.

Same problem applies to xf:input


Reproducible: Always

Steps to Reproduce:
1. View a page consisting of html, xf:output and xf:label elements
2. try to select text by dragging mouse in various ways
3. copy and paste

Actual Results:  
xf:output contents are missing (so are the contents of xf:input)

Expected Results:  
All text appearing on the page should be selectable, and all of it should be able to be copied and pasted.
(Reporter)

Comment 1

12 years ago
I forgot to mention, maybe this is related to Bug #51967

Comment 2

12 years ago
(In reply to comment #1)
> I forgot to mention, maybe this is related to Bug #51967
> 

And we have already related bug 273380.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 3

12 years ago
if bug 273380 ever gets fixed, make sure the above scenario works
Depends on: 273380
RIP xforms
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.