Issue 127178 - Inconsistence behavior of active pop-up windows on 2 screens (extended display view).
Summary: Inconsistence behavior of active pop-up windows on 2 screens (extended displa...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: 4.1.3
Hardware: PC Windows 10
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-22 11:04 UTC by Jake
Modified: 2016-10-27 15:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
File for screen1 (20.11 KB, application/vnd.oasis.opendocument.text)
2016-10-22 11:04 UTC, Jake
no flags Details
File for screen2 (19.98 KB, application/vnd.oasis.opendocument.text)
2016-10-22 11:05 UTC, Jake
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Jake 2016-10-22 11:04:39 UTC
Created attachment 85748 [details]
File for screen1

Environment:
OS Name: Microsoft Windows 10 Pro
Version: 10.0.14393 Build 14393
Processor: AMD FX(tm)-8120 Eight-Core Processor, 3100 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM): 8.00 GB

Issue is related to Issue 91398 which is fixed (unconfirmed).
Issue found on double screen view (extended display view), when main screen1 on the left and second screen2 on the right). When investigating this issue I realised that popup windows behaviour is not consistent for many Writer tabs/settings. It seems that Writer remembers for many windows where actually the window was closed and it will open next time where it was closed (even divided on a two screens). I attached two “odt” files which I used for the testing on two screens. 

Steps to reproduce issue
1.	Open two attached files (Screen 1, Screen 2). E.g. “Screen 1”on your main    screen and “Screen 2” on your second screen (you can open them on fullscreen for better visibility but is not mandatory). 

2.	When Screen 1 is active click “F7” on your keyboard to open spellchecker.

3.	Spellchecker opens in the middle of the FIRST screen 

4.	Close the spellchecker and make your second screen active and click “F7” again.

5.	Spellchecker opens in the middle of the SECOND screen.

6.	Now repeat the steps 1-4 for “F1” button (to open help).

7.	The second time when you open the Help window it opens in the same place where it was when you were opening it for the first time not in the middle of the second screen. You can even move the window to a different place.

I have done the test for a few windows to check how they handle this issue.
Tested “Writer” windows which open incorrectly (where it was last time open) are:

Help 
Tools -> Options
Format -> Columns
Also I have checked this issue for other OpenOffice products.
For example:

Calc
•	“Open” (ctrl+O)where it was last time closed (even divided on two screens if you open on screen one and close it on screen 2)
•	Tools->Options as well
Draw
•	Help where it was closed
•	Tools->Options as well   

I have also noticed a little bit different result for affected areas if you change settings for extended display view (like screen2 is your main screen)
Issue can be quite annoying when you work with few documents on two screens as it is hard to remember where pop up window was opened last time. I think that the best solution would be to always open the windows in the active screen (on the screen on which you look at the time of opening it), so you will not have to look for it each time.
Comment 1 Jake 2016-10-22 11:05:37 UTC
Created attachment 85749 [details]
File for screen2
Comment 2 Tomas 2016-10-27 11:47:48 UTC
Hello, 

I did some additional tests to see if incosistency is present even on more screens. I found out, that it is even more significant in this case. 

Steps I did: 

1. I had notebook monitor(1366x768), BENQ monitor(1920x1080) and SAMSUNG monitor(1680x1050) in extended display mode. I opened three sample text files(from attachment) and placed every one of them to every monitor on fullscreen. 

2. I did several scenarios to see the behaviour: 

 - F7 (spellchecker) is opened every time on currently active window, no matter which one it is
 - F1 (help) and other affected pop-up windows have again inconsistent and strange behaviour. Sometimes it opens on the spot where it was last closed, sometimes it opens on the main display, sometimes on active. I wasn´t able to identify the pattern, because it seems to be affected by several things: resolution, if the window is whole on one diplay or if it is half on one and half on the other. Another influence seems to be if the pop-up window is maximized on given screen or if it is windowed. 


Additional tests I performed on two screens(without the notebook monitor): 

 - I tried to have opened 4 documents, two on left screen and two on right in a split view(you achieve this by dragging the Writer window to the left/right border of screen and it will expand itself automatically), but inconsistent behaviour is not affected(it is same as if two documents are opened)
- I also randomly spotted other pop-up windows which are affected. I can say that all of them are affected(except F7), but some of them are solved nicely (for example pressing F5 will bring up "Navigator" and at the bottom is dropdown consisting of all opened documents and user can select which one he is reffering to)
- I also tried MS Excel and Word how there are popups handled and I can say, for example F1(help) always opens on the main display, doesnt matter which screen is active or where the window was closed. 
 - I was curious if there is difference in popup behaviour between having some text in document or not. There is no difference
Comment 3 Keith N. McKenna 2016-10-27 15:34:41 UTC
I can confirm using the steps and documents from the original reporter with the following System Configuration:
System Configuration:
Processor: Intel Core i5 CPU M560 @2.67GHz
Installed Memory: 2.00 GB (1.6 usable)
Operating System: Windows 7 Home Premium 64 bit

Apache Open Office:
AOO413m1(Build:9783)  -  Rev. 1761381
2016-09-29 02:39:19AOO413m3(Build:9782)  -  Rev. 1709696
Language: en_US
Additional Language Packs: None
and
AOO420m1(Build:9800)  -  Rev. 1692551
Rev.1692551