[Libreoffice-bugs] [Bug 106890] Page orientation of User page size is not determined correctly
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 2 11:06:08 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=106890
--- Comment #7 from csongor at halmai.hu ---
I wanted to read again the explanation Johnny_M has linked but that page is not
reachable any more (404 not found). I wanted to read it again, maybe I missed
something the last time but I could not. Thus, I can read what I wrote in
Comment #2.
I still think that the current behaviour is very annoying, counter-intuitive
and not understandable for most of the users therefore it should be changed.
So, would it be possible to reopen this bug as an improvement request, please?
I think my proposed idea would be totally clean, not confusing and easy to
implement. The following steps should be done.
- the Width and Height fields should be kept as they are now
- the Orientation radio button should be replaced by a text that displays
portrait/square/landscape if w<h, w=h, w>h, respectively
- there should be a "Swap Width and Height" button beside the two input fields.
If somebody picks an item from the Format dropdown then the dimensions of the
selected page should overwrite the existing W and H values according to this
rule:
- The smaller dimension of the new page should overwrite the smaller value from
W and H and the larger dimension of the new should overwrite the other one.
More precisely:
if (oldW > oldH) { // was landscape
W = max(newW, newH);
H = min(newW, newH);
} else { // was portrait or square
W = min(newW, newH);
H = max(newW, newH);
}
This logic would preserve the orientation of the page.
...now I checked how this works in other programs I have installed. Well, GIMP
uses a solution that is very similar to my proposal. Please, consider reopening
it as an improvement proposal. Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171102/1507af53/attachment.html>
More information about the Libreoffice-bugs
mailing list