Closed
Bug 264568
Opened 20 years ago
Closed 19 years ago
Pasting multiple lines of text into single-line entries should cause each line to be sent.
Categories
(Other Applications :: ChatZilla, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jailbird, Assigned: rginda)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.3) Gecko/20041007 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.3) Gecko/20041007 Firefox/0.10
in ircII, if you paste multiple lines of text into the client, it parses each
line separatly, and sends them on.
In ChatZilla, if you paste multiple lines in, it just stops after the first line.
ChatZilla should look for the carriage-return and/or line-feed in the paste, and
treat that just like an <Enter> keypress.
This is useful for pasting log entries.
Reproducible: Always
Steps to Reproduce:
1. Select multiple lines of text (document, web page, etc)
2. Paste into ChatZilla
Actual Results:
Each line should get sent to the channel. If CR or LF is at end of input, text
should automatically be sent.
Expected Results:
Only one line is inserted into the input line. User then has to press <Enter>
manually.
Comment 1•20 years ago
|
||
I thought there was already a bug for this, but I can't find it right now.
However, it is irrelevant anyways, since you can just use the multi-line input
box for that purpose. Use ctrl-up or the handy button at the end of the input
box to switch to multi-line mode. Use ctrl-enter to send. Ctrl-down or the
button will return you to single-line mode.
Comment 2•20 years ago
|
||
I don't even know if we *can* override the pasting to make it work any better...
Comment 3•20 years ago
|
||
This problem is also OS dependent. It works on Linux, I can paste multiple
lines into the single line box. I don't know about Mac.
Updated•20 years ago
|
Product: Core → Other Applications
Comment 4•19 years ago
|
||
You should get most of this for free from bug 253481 (whenever it's finished)
Depends on: 253481
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•19 years ago
|
||
You should now be able (on trunk) to add the attribute newlines="pasteintact". Then in an oninput listener, see if there are newlines in the textbox.value. If so, handle all the lines. I tested this with a quick xul mockup, and it works fine.
Comment 6•19 years ago
|
||
That is an unsatisfactory solution to this bug IMHO. For example, nsIClipboardDragDropHooks is a better solution, although it only goes back to 2003-04-17.
Comment 7•19 years ago
|
||
At least on windows, the suggestion from bug 307774 sounds more sane to me.
Comment 8•19 years ago
|
||
Marking wontfix in favour of bug 307774.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•