Bug 101641 - Print and About Windows-dialogs appear on other monitor
Summary: Print and About Windows-dialogs appear on other monitor
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: preBibisect, regression
Depends on:
Blocks: Multimonitor
  Show dependency treegraph
 
Reported: 2016-08-21 18:46 UTC by ken
Modified: 2018-12-19 10:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ken 2016-08-21 18:46:41 UTC
I'm using Windows 8.1.

I have two monitors.  If I put Writer on the second monitor and then do anything that opens another window, it appears on the first monitor.

For instance, click the down arrow next to the highlighter, the menu appears in the upper-right corner of the first monitor.

When creating a table, the table dialog appears on the first monitor, in the middle towards the left.

Help, About also showed up on the first monitor when I opened it to put the version in this bug report, in the middle towards the right.

Note that it does appear to remember where the window was last displayed, as I moved the Help, About window, closed it, reinvoked it, and it was in the place I had last moved it to.  So that is likely related to the bug.

Perhaps it needs to have an array for "last position", the size being the number of monitors.  Then, it should only check the last position of the monitor that Writer is currently being used on.  If empty, do the default -- for the monitor that is in use.  Then, save the value as before, but in the array and only for that monitor.
Comment 1 Cor Nouws 2016-08-22 09:13:51 UTC
Hi Ken,

Thanks for reporting.
Working on Ubuntu with Unity, I see / have seen some unexpected behavior too, now and then.
Not sure if that is the OS or LibreOffice's fault.
Ciao - Cor
Comment 2 Aron Budea 2016-10-20 04:27:01 UTC
Confirmed with v5.2.2.2/Windows 7.

Not every dialog opened on the 1st monitor, for example Insert Table dialog didn't (but About did), but then when I later opened it with the main window on the 1st monitor, it opened on the 2nd.
Comment 3 QA Administrators 2017-11-26 17:12:11 UTC Comment hidden (obsolete)
Comment 4 Zineta 2018-11-05 10:59:19 UTC Comment hidden (obsolete)
Comment 5 Zineta 2018-11-06 08:14:57 UTC
Also in master
Version: 6.2.0.0.alpha0+ (x64)
Build ID: 48cfa0b00b22f11ade53aec79b2fdddad253e1bd
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-03_02:01:42
Locale: en-US (en_US); Calc: CL

I moved LO window to second monitor opened Table Insert: remain in the same monitor but when I opened help About - it was opened in the first monitor.
Comment 6 Timur 2018-12-18 17:04:44 UTC
I don't reproduce with highlighter and table dialogs, but I do with Print and About dialogs. 
Tested with OO, behavior seems better so not fully reproduced. Only Styles and Formatting dialog is separate if undocked, but Print and About dialogs open where OO is (if on second monitor). Similar with LO 3.6.
Repro starting from 4.0. Repro now with 6.3+.
I'll mark regression.