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...
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.
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?
Does the normal textfield stuff and the planned support for <label> include the middle-mouse DnD ?
Created attachment 212056 [details] test case. text selection works on firefox 1.0.7 dosen't work in 1.5
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
alessandro, you picked the completely wrong bug. This is about Unix specifics, and probably even a dup for that.
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?
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.