[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-09-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

--- Comment #4 from Gerrit Notification Bot  ---
Change 114959 abandoned by Bartosz Dziewoński:
jquery.byteLimit: Restore caret position after limiting

Reason:
I don't remember how this code works anymore. Meh.

https://gerrit.wikimedia.org/r/114959

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-09-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

Bartosz Dziewoński  changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-09-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

Bartosz Dziewoński  changed:

   What|Removed |Added

   Assignee|matma@gmail.com |wikibugs-l@lists.wikimedia.
   ||org

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-02-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-02-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

--- Comment #3 from Gerrit Notification Bot  ---
Change 114959 had a related patch set uploaded by Bartosz Dziewoński:
jquery.byteLimit: Restore caret position after limiting

https://gerrit.wikimedia.org/r/114959

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-02-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

Bartosz Dziewoński  changed:

   What|Removed |Added

   Assignee|wikibugs-l@lists.wikimedia. |matma@gmail.com
   |org |

--- Comment #2 from Bartosz Dziewoński  ---
(In reply to Brion Vibber from comment #1)
> One could possibly jump through some hoops to get the cursor position and
> reset it, but I wonder if the whole thing's worth it...

There aren't that many hoops to jump through, at leats if you're willing to
ignore IE<=8. I say that we are willing and will submit a patch in a second. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

--- Comment #1 from Brion Vibber  ---
I took a quick look at jquery.byteLimit.js which implements the byte-length
input limiting... it seems the cursor being moved is a side effect of modifying
the contents of the input field (the trimming).

Note the same thing happens if you *type* past the limit too and aren't at the
end already -- by default if you happen to be typing all-ASCII-able text you
may not notice because you're hitting the browser's character limit.


One could possibly jump through some hoops to get the cursor position and reset
it, but I wonder if the whole thing's worth it...

It might be better to give a warning that you're out of characters and just
show a red border or a warning text, and let it just crop on the backend.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 61450] Cursor jumps to the end of the summary field after pasting more text than is allowed

2014-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=61450

Andre Klapper  changed:

   What|Removed |Added

   Priority|Unprioritized   |Low
Version|unspecified |1.23-git
   Severity|normal  |minor

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l