Bug 147304 - UI: Find and replace dialog is opened on wrong monitor in a multiple monitor setup
Summary: UI: Find and replace dialog is opened on wrong monitor in a multiple monitor ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.3.0.2 rc
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Multimonitor Find&Replace-Dialog
  Show dependency treegraph
 
Reported: 2022-02-09 08:52 UTC by HTK300
Modified: 2024-06-24 04:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenhot of Find and Replace dialog (37.76 KB, image/jpeg)
2022-02-09 08:54 UTC, HTK300
Details
Options being displayed on 2nd screen for Writer - Tabbed Interface (183.09 KB, image/jpeg)
2022-02-09 09:33 UTC, John Mills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HTK300 2022-02-09 08:52:27 UTC
Description:
When working on a Laptop with an attached second screen that extends the desktop I found that some dialogs from the Menus appear on the original (Master screen) even WRITER is in full screen on the secondary screen. Then I start to wonder where ist my search dialog, which appeared on the other screen.

Steps to Reproduce:
1. connect a secondary monitor via VGA, DVI or HDMI cable
2. setup your Windows (or macOS) to extend your desktop
3. Open LO WRITER and move the App screen over to the extended workspace (second monitor
4. maximize the app and type something 
5. go to menue Edit > Find and Replace
6. The dialog opens up but on the master screen (laptop or main desktop)

Actual Results:
The dialog opens up but not on the secondary monitor, where the app has been maximized, yet it can be found on the master screen (laptop or main desktop), which is a bit confusing.

Expected Results:
the dialog box for Find and Replace is supposed to be displayed on that monitor screen and desktop, where the app is currently displayed


Reproducible: Always


User Profile Reset: No



Additional Info:
In CALC this works fine in dual monitor mode
Comment 1 HTK300 2022-02-09 08:54:22 UTC
Created attachment 178160 [details]
screenhot of Find and Replace dialog

screenhot of Find and Replace dialog, which appears on the other Desktop window where the Application is not present
Comment 2 John Mills 2022-02-09 09:33:41 UTC
Created attachment 178162 [details]
Options being displayed on 2nd screen for Writer - Tabbed Interface

I have a similar issue when using LibreOffice in the tabbed interface also on a laptop and 2nd monitor. The options are displayed on the 2nd screen instead of being displayed on the same window. This is the case when LibreOffice is full screen on the left hand side (monitor). However when LibreOffice is full screen on the right hand monitor the menu options are displayed within the application window. Please see attached screenshot. I would expect the menu option to be displayed within the application when using both screens as this is inconsistent and cause confusion.

kind regards,

John

Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: threaded
Comment 3 Dieter 2022-02-22 18:56:03 UTC
(In reply to HTK300 from comment #0)
> Description:
> When working on a Laptop with an attached second screen that extends the
> desktop I found that some dialogs from the Menus appear on the original
> (Master screen) even WRITER is in full screen on the secondary screen. Then
> I start to wonder where ist my search dialog, which appeared on the other
> screen.

I suppose, that there is an underlying problem: The dialog position to parent is off (dialog doesn't open centered to main screen); same with Table of Content dialog (see bug 146562)
=> Status NEW

Tested with

Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Hope you agree, that we change bug summary. Please feel to change it back with a short reasoning, if you disagree.
Comment 4 HTK300 2022-02-23 10:34:40 UTC
sure, no problem
Comment 5 Dieter 2022-03-25 16:23:03 UTC
(In reply to Dieter from comment #3)
> I suppose, that there is an underlying problem: The dialog position to
> parent is off (dialog doesn't open centered to main screen); same with Table
> of Content dialog (see bug 146562)

Looks good now in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: e8c95b796626cb9db163f5d563fa67f38a5e92b0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

HTK300, could you please retest?
Comment 6 HTK300 2022-04-02 14:03:25 UTC Comment hidden (obsolete)
Comment 7 HTK300 2022-04-02 18:07:44 UTC Comment hidden (obsolete)
Comment 8 HTK300 2022-04-02 18:45:24 UTC
Hi Dieter, David,
just installed LO 7.4.0.0 alpha.

The difference now, when I open the Find & Replace dialog from within the Edit menue it now appears in the center of the other desktop screen. Earlier in 7.3.x it appeared somewhat at the lower right corner of the other desktop screen.

Remember, I maximized WRITER on the extended desktop, there I started to Find and Replace something, but the dialog to enter my search/replace string happens to show up on the primary desktop screen means on the other Display well at least it is kind of centered horizontally and vertically.

If that is what you wanted, well okay.
I assumed it should be shown on the same screen where the WRITER app is attached/maximized to.

best,
Harry
Comment 9 HTK300 2022-04-02 18:51:56 UTC
Hi, 
another idea what I figured out.

When I moved the WRITER app over to the primary screen and try to search and replace again for something, the corresponding dialog apears again where it was earlier moved to by myself (so the app can remember its position where it had been located by the user. this is probably a good solution
Comment 10 Dieter 2022-04-03 11:24:47 UTC
HTK300, thank you for retesting. You're right, that the bug is still present, but fix of bug 146562 makes it now more obvious

Actual result:
Find & Replace dialog always opens on monitor 1 (also, if LO Writer is open on monitor 2)

Expected result:
Find & Replace dialog should alsways open on the same monitor LO Writer is opened


Tested with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 040b3198fde3385e19e7380fdcabae84a0abac9d
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL


and with

Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL 

Similar bugs with other dialogs: bug 101641, bug 120903
Comment 11 QA Administrators 2024-04-03 03:13:47 UTC Comment hidden (obsolete)
Comment 12 HTK300 2024-06-24 04:30:50 UTC
this bug/behaviour still persists in LO V24.8 dev