Bug 1033375 - Copy and Paste does not work when typing Italian in msgstr
Summary: Copy and Paste does not work when typing Italian in msgstr
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.4
Assignee: Patrick Huang
QA Contact: Damian Jansen
Depends On:
TreeView+ depends on / blocked
Reported: 2013-11-22 00:45 UTC by Isaac Rooskov
Modified: 2015-08-06 05:55 UTC (History)
7 users (show)

Fixed In Version: 3.2.3 (20140120-0038)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-07-17 06:39:47 UTC
djansen: needinfo-

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 968619 0 high CLOSED Editor: Difficulty in placing cursor at desired point and selecting exact part of text 2021-02-22 00:41:40 UTC

Internal Links: 968619

Description Isaac Rooskov 2013-11-22 00:45:49 UTC
Description of problem:

From Francesco Valente:

Cannot copy and paste at all. When typing Italian in msgstr the
pointer goes crazy jumping from place to place making the task of
translating big entities impossible: eg.

"%s [options]\n"
" -h, --help Show this help\n"
" --version Show version\n"
" --dump-conf Dump default configuration\n"
" --dump-modules Dump list of available modules\n"
" --dump-resample-methods Dump available resample methods\n"
" --cleanup-shm Cleanup stale shared memory "
" --start Start the daemon if it is not "
" -k --kill Kill a running daemon\n"
" --check Check for a running daemon (only "
"returns exit code)\n"
" --system[=BOOL] Run as system-wide instance\n"
" -D, --daemonize[=BOOL] Daemonize after startup\n"
" --fail[=BOOL] Quit when startup fails\n"
" --high-priority[=BOOL] Try to set high nice level\n"
" (only available as root, when SUID "
" with elevated RLIMIT_NICE)\n"
" --realtime[=BOOL] Try to enable realtime scheduling\n"
" (only available as root, when SUID "
" with elevated RLIMIT_RTPRIO)\n"
" --disallow-module-loading[=BOOL] Disallow module user requested "
" loading/unloading after startup\n"
" --disallow-exit[=BOOL] Disallow user requested exit\n"
" --exit-idle-time=SECS Terminate the daemon when idle and "
" time passed\n"
" --scache-idle-time=SECS Unload autoloaded samples when idle "
" this time passed\n"
" --log-level[=LEVEL] Increase or set verbosity level\n"
" -v Increase the verbosity level\n"
" --log-target={auto,syslog,stderr,file:PATH}\n"
" Specify the log target\n"
" --log-meta[=BOOL] Include code location in log "
" --log-time[=BOOL] Include timestamps in log messages\n"
" --log-backtrace=FRAMES Include a backtrace in log messages\n"
" -p, --dl-search-path=PATH Set the search path for dynamic "
" objects (plugins)\n"
" --resample-method=METHOD Use the specified resampling method\n"
" (See --dump-resample-methods for\n"
" possible values)\n"
" --use-pid-file[=BOOL] Create a PID file\n"
" --no-cpu-limit[=BOOL] Do not install CPU load limiter on\n"
" platforms that support it.\n"
" --disable-shm[=BOOL] Disable shared memory support.\n"
" -L, --load=\"MODULE ARGUMENTS\" Load the specified plugin module "
" the specified argument\n"
" -F, --file=FILENAME Run the specified script\n"
" -C Open a command line on the running "
" after startup\n"
" -n Don't load default script file\n"


Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. Go to: 
2. Try and copy and paste
3. Pointer goes crazy

Actual results:
Pointer goes crazy and thus copy and paste cannot be done

Expected results:
Copy and paste should work as expected, without the pointer going nuts

Additional info:
The only way to translate that big entry in
pulseaudio is to type every single word into "msgstr" taking up an
enormous amount of time.

Comment 1 Carlos Munoz 2013-11-22 01:10:28 UTC
Seems to be related to that string in particular. I don't get the same problem on other (shorter) strings. The problem is not related copy-paste only as clicking on a word and typing something will make the characters appear on a completely different position of the string.

Also, as soon as I cancelled the edit, and then clicked on the string to start editing again, the problem seemed to go away and I was able to copy and paste with no issues.

Comment 2 Patrick Huang 2013-11-25 23:36:34 UTC
For the time being, please switch to plain text editor (in editor options panel on the right hand side, uncheck 'use syntax highlighting editor' option. Then you should be able to do copy paste and cursor will act normal. 
I will investigate it but seems related to the syntax highlighting editor we are using.

Comment 3 Patrick Huang 2013-11-26 03:01:22 UTC
chrome doesn't have the problem. Only firefox.

Comment 4 Patrick Huang 2013-11-26 03:13:24 UTC
raised a bug in codemirror:

Comment 5 Patrick Huang 2014-03-05 00:31:28 UTC
This should've been fixed in bug 968619. 
pull request:

Comment 6 Damian Jansen 2014-03-05 05:43:40 UTC
Ctrl-C -> Ctrl-V seems to work as expected.
In Firefox the right click menu seems to have retired from active duty.

Comment 7 Francesco Valente 2014-03-06 05:17:19 UTC
Ok, that is very strange because if I try to copy and paste using my mouse, it doesn't work. It works only if I deselect the Use syntax highlighting Editor option in the Editor options panel of Zanata.


Comment 8 Patrick Huang 2014-03-06 05:29:04 UTC
(In reply to Francesco Valente from comment #7)
> Ok, that is very strange because if I try to copy and paste using my mouse,
> it doesn't work. It works only if I deselect the Use syntax highlighting
> Editor option in the Editor options panel of Zanata.
> Francesco

Do you mean copy & paste option not present in right click or middle click paste? This is known as firefox restriction(bug has been raised). If ctrl-c and ctrl-v works then this bug is consider fixed. This bug is mainly to do with the cursor pointer going nuts.

Comment 9 Sean Flanigan 2014-03-20 05:53:08 UTC
Damian, the Fixed in Version seems to be older than the pull request.  Why is that?

Note You need to log in before you can comment on or make changes to this bug.