Bug 117102 - Allow images to be scaled with fractions of percentages
Summary: Allow images to be scaled with fractions of percentages
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.7.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-Dialog
  Show dependency treegraph
 
Reported: 2018-04-19 11:04 UTC by Dr. Matthias Weisser
Modified: 2023-03-06 20:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test file for showing zoom problem (140.37 KB, application/vnd.oasis.opendocument.text)
2018-04-19 11:04 UTC, Dr. Matthias Weisser
Details
also shows zoom scaling problem (139.48 KB, application/vnd.oasis.opendocument.text)
2018-04-19 19:16 UTC, Dr. Matthias Weisser
Details
file to show problem with picture of scale factor included (144.05 KB, application/vnd.oasis.opendocument.text)
2018-04-20 13:19 UTC, Dr. Matthias Weisser
Details
Screenshot that shows scaling factor (130.27 KB, image/jpeg)
2018-04-20 15:36 UTC, Dieter
Details
document with image that is in align with page borders (144.94 KB, application/vnd.oasis.opendocument.text)
2018-04-20 15:39 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Matthias Weisser 2018-04-19 11:04:31 UTC
Created attachment 141487 [details]
test file for showing zoom problem

When zooming an embedded picture the problem sometimes is that for example with 53% the picture is a too small and with 55% too big. Also 54% may not fit. Therefore it would be good if giving a value between 55 and 54 could be choosen. Unfortunately this is not possible. Why not? Could this be improved?
Comment 1 Dr. Matthias Weisser 2018-04-19 11:09:26 UTC
the test file shows that 53% zoom is too small, 55% is too big. Also 54% does not fit exactly. The problem of the size change in full percent can be seen. It would really help me with my pictures in my books if I could change size in fractions of 1%. I hope this can be made possible.
Comment 2 Dieter 2018-04-19 11:58:27 UTC
I think it depends on the monitor, if a zoom factor is too small or to big. So perhaps it is possible to add a screenshot of zoom factor 54% and 55%, so the problem is more clear.
Comment 3 Dr. Matthias Weisser 2018-04-19 19:16:35 UTC
Created attachment 141494 [details]
also shows zoom scaling problem

same problem with same picture but different page layout. Here to see with 41% scaling too small, with 42% too big.
Comment 4 Dr. Matthias Weisser 2018-04-19 19:21:47 UTC
(In reply to Dieter Praas from comment #2)
> I think it depends on the monitor, if a zoom factor is too small or to big.

I may have misused the word zoom. What I meant is "Skalierung" in "Zuschneiden" menue.

> So perhaps it is possible to add a screenshot of zoom factor 54% and 55%, so
> the problem is more clear.

I added another test file where the same problem can be seen when switching from "Skalierung" 41% for "Breite" and "Höhe" to 42%. The first one is not going to the bottom of the page and the second is going beyond the page end. So this "Skalierung" factor has to get a value in between which unfortunately is not possible to set. I hope its clearer now.
Comment 5 Dieter 2018-04-19 19:40:57 UTC
O. K., now it is clear to me.

When I open you attachment 141494 [details] the scale factor is 62% (Width) and 61% (Heigth). I think the scale factor is only important, if you crop a picture. You rezise the picture in the tab "type".

So I'm still not sure, waht your problem is. I can't see it and so I can't reproduce it. Perhaps somebody else can help. Sorry.
Comment 6 Dr. Matthias Weisser 2018-04-20 13:19:56 UTC
Created attachment 141501 [details]
file to show problem with picture of scale factor included

with this file there can be seen the "Skalierung" value 41% on the first page and 42% on the second page. 

Should I also add pictures of the whole page for more clarity? 
I think it should be clearly seen now.
Comment 7 Dr. Matthias Weisser 2018-04-20 13:24:44 UTC
what is the sense of the field "Skalierung" when not being used to scale the size of the picture? 

I wrote 13 books in the last 15 years and thousands of times used this field "Skalierung" for making pictures smaller or bigger without changing the picture file itself which I want to stay unchanged.
Comment 8 Dieter 2018-04-20 15:36:11 UTC
Created attachment 141503 [details]
Screenshot that shows scaling factor

I still have Scaling of 62% and 61%, and I don't know why. I changed the size of the image as you can see in the following attachments. Is this the result you like to have?
Comment 9 Dieter 2018-04-20 15:39:11 UTC
Created attachment 141504 [details]
document with image that is in align with page borders
Comment 10 Dr. Matthias Weisser 2018-04-20 16:01:05 UTC
Hello Dieter,
you write: 
"I still have Scaling of 62% and 61%, and I don't know why."

I also do not why this is so with your system. 
I am using Win7 64bit, LO5.3.7.2 and my system does show now "Sklarierung" 42% with your test3.odt.

I see you changed the height in the field "Bildgröße" which is below "Skalierung". This works. If I put 19cm in "Höhe" at ""Bildgröße", so this will change "Höhe" in "Skalierung" to 40%. Putting to 42% results in 19,96 cm which is too big. You set the value to 19,74cm which fits better.

So its not directly possible using "Skalierung" in fine enough steps. To do fine enough its necessary using "Höhe" at ""Bildgröße". Why is is not possible changing the percent value in finer steps? You see that this seems to be necessary here.

Best, Matthias
Comment 11 Dieter 2018-04-22 16:51:46 UTC
O.K., I can confirm, that it i not possible to set a scaling between 61% and 62%, but I don't want to decide, if this should be treated as an enhancement or not. Let's ask design-team.
Comment 12 Heiko Tietze 2018-04-23 05:30:05 UTC
You can adjust the actual size very precisely and go with 25.7cm (page a4 -2x 2cm spacing). 

That works for me perfectly.
Comment 13 Dr. Matthias Weisser 2018-05-15 18:56:35 UTC
I am sorry Heiko, but I do not agree. 

Reason:
its not possible using the percent values as has been shown clearly.

its possible using the cm values.

So I still feel why should it not be possible using percent values with a comma. I do not feel happy with this.

Its also not possible doing very precise sizing sometimes using the mouse. Sometimes I am not far enough and sometimes too far. Therefore I need the menue.
Comment 14 Tomaz Vajngerl 2018-05-15 23:53:27 UTC
I would say that yes - images scale factor shouldn't be rounded to the percent but offer sub percent precision (2 decimal points).
Comment 15 Dr. Matthias Weisser 2018-05-16 09:04:51 UTC
I agree to Tomaz !

May be at least one decimal to have would be fine. Technically this should be no problem. Other fields also have decimal values.
Comment 16 Heiko Tietze 2018-05-16 16:04:08 UTC
(In reply to Dr. Matthias Weisser from comment #13)
> its not possible using the percent values as has been shown clearly.
> its possible using the cm values.

I don't see a reason to enter a _precise_ value in percent. You can do that with the exact units and have the same value as for the page size. But what reason do anyone have to think about 52.31 percent?

(In reply to Tomaz Vajngerl from comment #14)
> I would say that yes - images scale factor shouldn't be rounded to the
> percent but offer sub percent precision (2 decimal points).

That's bug 44267, isn't it? 

Anyway, I will not close again as WFM but still think it would be the right decision.
Comment 17 Dr. Matthias Weisser 2018-05-16 20:27:13 UTC
(In reply to Dr. Matthias Weisser from comment #13)
> its not possible using the percent values as has been shown clearly.
> its possible using the cm values.

"I don't see a reason to enter a _precise_ value in percent."

whats the reason for giving this field then?

clearly one can change size using this percent field.
using your logic here this field would have not be changeable.

but it is. So why then not enable users to change it to a really useful value?

"You can do that with the exact units."

thats true. But normally I do not like using those value. The percent value I like much more.

"But what reason do anyone have to think about 52.31 percent?"

I still think that 52.3% could be good enough.

"That's bug 44267, isn't it?" 

Bug 44267 means:
"Two decimal digits are insufficient for specifying object position and size"

this is not what I think is so useful instead of percentage. It seems to be a personal preference.
Comment 18 Heiko Tietze 2018-05-17 06:31:18 UTC
(In reply to Dr. Matthias Weisser from comment #17)
> whats the reason for giving this field then?

It's an "arbitrary" value between 0 and 100. Actually this type of value is called interval scale (vs. ratio) https://en.wikipedia.org/wiki/Level_of_measurement 

> thats true. But normally I do not like using those value. The percent value
> I like much more.

So you are an alien :-)
Comment 19 Dr. Matthias Weisser 2018-05-17 15:27:38 UTC
(In reply to Heiko Tietze from comment #18)
> It's an "arbitrary" value between 0 and 100. Actually this type of value is
> called interval scale (vs. ratio)

thank you Heiko ! 

> So you are an alien :-)

sometimes its nice being so :-)
Comment 20 Buovjaga 2018-06-08 18:01:03 UTC
Setting to NEW after pinging Tomaž on IRC.