[Libreoffice-bugs] [Bug 117828] New: Positioning window to the left of the screen using setPosSize() leaves 7 px space.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat May 26 20:25:58 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=117828
Bug ID: 117828
Summary: Positioning window to the left of the screen using
setPosSize() leaves 7 px space.
Product: LibreOffice
Version: 6.0.4.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: fodorbalint at gmail.com
Description:
I am using LibreOffice Version 6.0.4.2 Base on Windows 10.
Using the command
ThisComponent.CurrentController.Frame.ContainerWindow.setPosSize(0,0,500,500,15)
will leave 7 px space from the left side of the screen.
There is no problem with setting the y coordinate. X coordinates - if less than
8 - will be interpreted as 8.
I posted the issue on LibreOffice forum, and someone reported, they didn't
experience the issue on Mint 18.3. So it may be a Windows-specific issue.
Steps to Reproduce:
1. Run this macro on the form's When loading or the document's Open Document
event:
ThisComponent.CurrentController.Frame.ContainerWindow.setPosSize(0,0,500,500,15)
Actual Results:
Window is not positioned to the left of the screen, there is 7 px space.
Expected Results:
Position the window to the left top corner of the screen.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
--
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/20180526/8d754f5a/attachment.html>
More information about the Libreoffice-bugs
mailing list