<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - EDITING: Image width/height ratio can be lost in properties dialogue"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122348">122348</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: Image width/height ratio can be lost in properties dialogue
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.0.0.alpha0+
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lajo@rn.dk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Versions: Detected in 6.2.0.0.alpha1 and later. Not seen in 6.1.4.2. 

Steps to reproduce: 
1. Start from a fresh login or restart (no instances of LibreOffice run
before).
2. Open a document in Writer containing an image (new or existing document). 
3. Open image properties dialogue (right-click -> Properties).
4. Check "Keep ratio" box.
5. Click in "Width" (or "Height") field and change the number using the
keyboard. Do NOT leave the field (e.g. by Tab or by clicking another field).
6. Exit dialogue by pressing "Enter" or by clicking "OK".

Seen behaviour:
Width/height ratio of image is not kept. Only the manually changed width (or
height) is changed.

Expected behaviour:
When "Keep ratio" is checked, then width/heigh ratio should be kept, i.e. if
width is changed, then height should automatically change in proportion.

Seen in versions 6.2.x.x and higher:

Version: 6.2.0.0.alpha1 (x64)
Build ID: ff46ad24d1d3cbcea45895520483ed1fd4ff488b
CPU tråde: 8; Styresystem: Windows 10.0; Gengiver af brugergrænseflade: GL;
VCL: win; 
Lokalisering: da-DK (da_DK); Calc: threaded

Version: 6.2.0.1 (x64)
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU tråde: 8; Styresystem: Windows 10.0; Gengiver af brugergrænseflade:
Standard; VCL: win; 
Lokalisering: da-DK (da_DK); Sprog for brugergrænseflade: da-DK
Calc: threaded

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 49fcd3bbb30f93763fc5cb80fa6ac5cec5d00834
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-12-24_22:40:25
Locale: da-DK (da_DK); UI-Language: en-US
Calc: threaded

NOT seen in present Fresh LibreOffice 6.1.4.2, where editing of width at once
also changes the number for height (when "Keep ratio" is checked).


Frequency:
Starting with step 1 (fresh start): Every time.
Starting with step 2 (no fresh start): The bug may or may not show up. It seems
that if an editing of the image properties has been successful - e.g. by first
performing image editing with a different LO version - then the bug does not
show up. (This makes me think of an uninitialized global value of some kind,
but that is only speculation.)

Tested on Windows 10 (more than a single computer).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>