Description: In all libre office apps, "keep ratio" selection for images does not actually lock ratio. Steps to Reproduce: 1.insert an image in a document (writer, draw, etc) 2.check lock checkbox for "keep ratio" in the side bar 3.use mouse (on the image) to change image size vertically or horizontally. Actual Results: Image ratio is changed Expected Results: Image ratio should not change, since it is supposed to be locked Reproducible: Always User Profile Reset: Yes Additional Info: [Information automatically included from LibreOffice] Version: 24.8.3.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: el-GR (en_US.UTF-8); UI: en-US Ubuntu package version: 4:24.8.3~rc2-0ubuntu0.24.04.1~lo1 Calc: threaded
Created attachment 197658 [details] demostration of the problem
Created attachment 197659 [details] demostration of the problem (mp4)
This was an intentional change in bug 84953. Either hold down Shift key or use corners instead.
I beg your pardon sir. If this was intentional, then the intention was wrong. I know about the "shift" key, but when the user locks the ratio, then the image should keep the ratio no matter from what handle the user tries to resize the image. I believe other image manipulation apps work that way and this is what the user expects. My 2 cents
(In reply to george from comment #4) > I beg your pardon sir. > > If this was intentional, then the intention was wrong. I know about the > "shift" key, but when the user locks the ratio, then the image should keep > the ratio no matter from what handle the user tries to resize the image. And they do keep the ratio *when you manipulate the width and height in the Sidebar controls that are in the context of the option*. It is wiser to keep the mouse manipulation decoupled from what is in the Sidebar and the Properties dialog, because then the option is transparently showing what is going on. In your proposal, the mouse user could get frustrated because they could not immediately make the connection with the behaviour, but would have to go hunting for this option.
And just to clarify, the intentional change was regarding the mouse manipulation, the Keep Ratio option has never been coupled to the mouse behaviour.
Open source and very popular apps, like GIMP, adopt the behavior I describe: Once the user locks the image ratio, then the image ratio does not change, no matter the handle the user clicks (i.e. gimp's scale tool) I really can't see why libre office devs chose to ignore user selection. If I click on "keep ratio" checkbox, this means I do not want my image ratio to change by miss clicks.
(In reply to george from comment #7) > Open source and very popular apps, like GIMP, adopt the behavior I describe: > Once the user locks the image ratio, then the image ratio does not change, > no matter the handle the user clicks (i.e. gimp's scale tool) > > I really can't see why libre office devs chose to ignore user selection. If > I click on "keep ratio" checkbox, this means I do not want my image ratio to > change by miss clicks. Can you tell me where I can change this global setting in GIMP which would also override the one in Scale tool? The Scale tool has its own setting for this, just like Sidebar and Properties dialog have theirs in LibreOffice.
The scale tool in GIMP works exactly as in libre office, with the exception that when user locks the ratio, then all the scaling changes to image are ratio locked, no matter you do it with keyboard (inputting size values) or by mouse (holding and dragging). I don't know what you are talking about "global setting". All image manipulation apps, do not allow you to change ratio, once you lock it. This is what the user excepts and not what you are saying. User locks ratio --> ratio should be locked. User unlocks ratio ---> do whatever you want.
Created attachment 197662 [details] ratio lock behavior in gimp
(In reply to george from comment #9) > The scale tool in GIMP works exactly as in libre office, with the exception > that when user locks the ratio, then all the scaling changes to image are > ratio locked, no matter you do it with keyboard (inputting size values) or > by mouse (holding and dragging). I don't know what you are talking about > "global setting". All image manipulation apps, do not allow you to change > ratio, once you lock it. This is what the user excepts and not what you are > saying. User locks ratio --> ratio should be locked. User unlocks ratio ---> > do whatever you want. *You* are talking about making the currently *context-specific* setting be global in LibreOffice. The setting in GIMP's Scale tool is specific to *that tool only*. Try it: use the Scale tool with the ratio unlocked. Then, open Image - Scale Image. Observe that the ratio *is not* unlocked. There is no connection between these two methods of scaling in GIMP, just like there is no connection between the Sidebar & Properties method and mouse manipulation in LibreOffice.
Who cares about global setting? I am talking about what the user decides about how he wants to handle the images. I repeat and should be pretty easy for everyone to understand. I lock images's ratio ???? Ratio should be locked. I unlock image's ratio ???? I can stretch the image at whatever direction I wish. If this seems illogical to you, then there is no point to discuss it any more. Why this bothers me? Because in large and complex documents sometimes by missclicking user can stretch an image without noticing. This could be prevented by having a "lock ratio" checkbox that actually works.
(In reply to george from comment #12) > Who cares about global setting? I am talking about what the user decides > about how he wants to handle the images. I repeat and should be pretty easy > for everyone to understand. You are arguing to repurpose a context-specific setting to a global setting. Something that neither GIMP nor LibreOffice currently offer. As I mentioned already in comment 5, the danger with your proposal is that the user forgets where they changed the setting and gets angry when the mouse scaling does not do what they expect. If your proposal would be implemented, the Sidebar & Properties lock setting should somehow communicate that the effect will be global and not only specific to the Width and Height fields. As of now, indicator lines go from the lock checkbox to the fields as a hint of what the setting will affect. We can ask the UX team what they think of the pros and cons.
The "lock ratio" property should be applied to each image individually and not as a global setting.
I found an earlier report for this, so closing as dupe. (In reply to george from comment #14) > The "lock ratio" property should be applied to each image individually and > not as a global setting. This is bug 84565. *** This bug has been marked as a duplicate of bug 84385 ***