[RFE] text widget should be easier to clear.

NEW
Unassigned

Status

()

Core
XUL
--
enhancement
16 years ago
7 years ago

People

(Reporter: Miloslaw Smyk, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
When pasting into text widget I often want to clear its current contents first.
With X-Window way of handling the clipboard this is very cumbersome: I can't use
double click to select everything and then hit delete to remove it, as this
would overwrite clipboard contents. In result I find myself:

- deleting the contents char-by-char with backspace,
- selecting things again after I lose the clipboard on first attempt,

This is obviously very inconvinient.

The text widget has a context-menu, but its "Delete" option is only available if
you have selected some text in this particular widget - which means it is of no
help in this case.

What I'd propose is to extend it with "Clear" option, which would be available
at all times.
Severity: normal → enhancement
Summary: text widget should be easier to clear. → [RFE] text widget should be easier to clear.

Comment 1

16 years ago
click on a text widget to focus it, then press ctrl+u.

Comment 2

16 years ago
Why is destroying the copy buffer when you select text correct behavior for
Linux? None of my other linux apps seem to behave that way.

Openoffice does not do that.
gnotepad doesnt do that.
the text-edit field for the filename in the generic gtk file-open dialog doesn't
do that.

Comment 3

16 years ago
ah, nevermind. The behavior of destroying the copy buffer whenever you put
something in the X-primary buffer has been fixed in the latest builds.

Miloslaw, do you still have the same problem of the clipboard contents getting
overwritten in build 2002082808 or newer?
(Reporter)

Comment 4

15 years ago
Mozilla 2002092708

The problem is still there.

1. Select URL1 in a terminal.
2. Select URL2 in location bar and press delete to remove it.
3. Try to paste into location bar.
4. Observe URL2 being pasted.

CTRL-U workaround works fine for me, thanks, but context-menu item wouldn't
hurt, either.

Updated

9 years ago
Assignee: jag → nobody

Updated

7 years ago
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.