Allow selection, copy and dragging of selected text in XUL text

NEW
Unassigned

Status

()

Core
XUL
--
enhancement
16 years ago
10 years ago

People

(Reporter: Roland Mainz, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

1017 bytes, application/vnd.mozilla.xul+xml
Details
(Reporter)

Description

16 years ago
RFE: Allow selection of text in XUL documents/widgets + copy'ing this text to
the clipboard or dragging of the text into an other application...

All Motif2 applications supports this (dragging works via Middle-mouse) for
example...
(Reporter)

Comment 1

16 years ago
AFAIK these features are part of Motif2's accessbility support, adding "access"
keyword.

----

Example steps on Solaris to demonstrate what I mean (dragging of widget text via
middle-mouse):
1. Open a dtpad window and another Motif2 application:
% dtpad & sdtwsinfo &
2. Move the mouse into the "sdtwsinfo"-window, click on any text (for example
"Physical Memory (RAM)") with the middle mouse button, drag it into the dtpad
window and drop it there.

It would be very usefull to have the same functionality in XUL-based
applications.
Keywords: access

Comment 2

16 years ago
If this bug covers that <label/> elements should be able to be selectable, it is
a duplicate.  Normal textfields already support dragging, dropping, and selection.

Can you please clarify if this isn't a duplicate?
(Reporter)

Comment 3

16 years ago
Does the normal textfield stuff and the planned support for <label> include the
middle-mouse DnD ?

Updated

13 years ago
Assignee: hyatt → nobody
QA Contact: shrir → xptoolkit.xul

Comment 4

12 years ago
Created attachment 212056 [details]
test case.

text selection works on firefox 1.0.7 dosen't work in 1.5

Comment 5

12 years ago
the method window.getSelection() doesn't return the selected string and window.getSelection().getEtitableRange() returns null!!

text is entered in html elements in xul files

Updated

12 years ago
Keywords: access

Comment 6

11 years ago
alessandro, you picked the completely wrong bug. This is about Unix specifics, and probably even a dup for that.

Comment 7

11 years ago
Ok.. I see, but if it`s not about text selection method in XUL, do you know if I have to consider it a bug or not? I started facing this problem from firefox 1.5 on. Maybe I just have to use other methods or workarounds. Some ideas?

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.