Bug 1013922

Summary: Clicking on the translate target box allows user to resize or hide the text area
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED WORKSFORME QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: pahuang, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-29 00:24:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Bug screenshot none

Description Damian Jansen 2013-10-01 04:20:11 UTC
Created attachment 805710 [details]
Bug screenshot

Description of problem:
In Firefox, clicking on the translation target shows resize handles around the textarea and displays two small navigation handles at the top of the screen.
Using these allows the user to resize and even hide the target textarea without being able to get it back until the document is reloaded.

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

How reproducible:
Easy always

Steps to Reproduce:
1. Open a document (in firefox)
2. Click the target (see location of pointer in screenshot)
3. Move the handles or click the icons at the top of the screen (see circled in screenshot)

Actual results:
Resized / broken target textarea

Expected results:
These shouldn't appear

Additional info:
Apparently it's possible to disable these with
document.designMode = "on"; document.execCommand('enableObjectResizing', false, 'false');
or
_moz_resizing='false'

Comment 1 Patrick Huang 2014-02-07 00:53:31 UTC
Tried it. Doesn't seem to work. Mess up the editor.

Comment 2 Patrick Huang 2014-02-07 00:53:49 UTC
Firefox is hopeless

Comment 3 Patrick Huang 2014-02-07 01:15:41 UTC
adding a position: absolute wrapper around it may be a workaround.
http://stackoverflow.com/a/1929936/345718

Comment 4 Damian Jansen 2014-07-29 00:24:46 UTC
Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde) - no longer an issue