Bug 96199 - Toolbar "popups" like color pickers and Calc autofilter open in wrong direction when using multiple monitors
Summary: Toolbar "popups" like color pickers and Calc autofilter open in wrong directi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 146927 150869 (view as bug list)
Depends on:
Blocks: macOS-UI-polish Multimonitor
  Show dependency treegraph
 
Reported: 2015-12-02 08:11 UTC by RC
Modified: 2023-04-04 07:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of the bug (93.50 KB, image/png)
2015-12-02 08:11 UTC, RC
Details
monitors configuration (10.93 KB, image/png)
2015-12-02 08:12 UTC, RC
Details
my about dialog (70.11 KB, image/png)
2015-12-10 08:13 UTC, RC
Details
screenshot of the bug (5.0.3.2) (188.85 KB, image/png)
2015-12-10 08:44 UTC, RC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RC 2015-12-02 08:11:52 UTC
Created attachment 120947 [details]
screenshot of the bug

I use two monitor, see screenshot of configuration (named configuration.png). When libreoffice is on the upper one, menu popups open down and everything is fine. But when libreoffice is on the lower monitor, the menu popups open up and make the popup unusable (see attached screenshot named bug.png), the popup is cropped there is nothing on the upper monitor.

 - OS X El Capitan 10.11.1 (15B42)
 - MacBook Pro (Retina, mi-2012)

Related: bug 74926 (closed because NEEDINFO and no response)
Comment 1 RC 2015-12-02 08:12:13 UTC
Created attachment 120948 [details]
monitors configuration
Comment 2 Alex Thurgood 2015-12-09 14:02:35 UTC
No repro on LO 5032 and MBPro Retina with Thunderbolt attached display in the configuration illustrated by the original submitter.
Comment 3 Alex Thurgood 2015-12-09 14:02:57 UTC
OSX 10.11.1
Comment 4 Alex Thurgood 2015-12-10 08:04:08 UTC
@RC : please indicate whether you are using a TDF build or Collabora build (AppStore)

Also please test against the latest Fresh release 4032 and report back, as I can't confirm your findings in the monitor configuration you have indicated.
Comment 5 RC 2015-12-10 08:12:20 UTC
Hello Alex, 

I use a downloaded "dmg" from here: https://www.libreoffice.org/download/libreoffice-still/ (I will add a screenshot of my about dialog).

Can you provide me a link to the 4032 build you are talking about, I'm not sure what you mean by "4032 build". Do you want me to try the 5.0 version?

Thanks.
Comment 6 RC 2015-12-10 08:13:17 UTC
Created attachment 121184 [details]
my about dialog
Comment 7 Alex Thurgood 2015-12-10 08:35:49 UTC
(In reply to RC from comment #6)
> Created attachment 121184 [details]
> my about dialog

Sorry, yes, I meant 5032 (latest Fresh release)
Comment 8 RC 2015-12-10 08:44:47 UTC
Created attachment 121186 [details]
screenshot of the bug (5.0.3.2)

I did a test with 5.0.3.2 and the issue is still there (screenshot attached).
Comment 9 RC 2015-12-10 08:49:30 UTC
Some additional infos:

 - upper monitor: Prolite B2712HDS, native resolution (1920x1080), connected via HDMI
 - lower monitor: Macbook retina screen, native resolution

Libre office calc opens on the upper monitor and I move the window to the lower one.
Comment 10 Peter Chastain 2016-04-18 14:22:46 UTC
I can confirm that this bug is present in both master and current.

Steps to reproduce on laptop:
1) Attach 2nd monitor.
2) Open LibreOffice Calc window and move to external monitor.
3) Click "Background Color" menubar widget.

Observations:
OS X allows one display to be a "master", determined via "System Preferences -> Displays -> Arrangement" by dragging the menu bar to the display you want. By default this the built-in on laptops and presumably the iMac line as well (I don't have a desktop system to test this on.) Displays can also be assigned their own "Space" ("Desktop" on Linux systems) via the "System Preferences -> Mission Control -> Displays have separate Spaces" checkbox, and will have their own not-necessarily-master menu bar.
* If the "master" menu bar is assigned to the external monitor, the widget behaves properly. If not, the widget always behaves as if it's near the bottom of the monitor and instead tries to open from the top of the widget.
* If the external display has it's own Space the widget menu will still try to open from the top of the widget but respects the bottom of the non-master menu bar and will instead cover the widget and app menu bar(s) if necessary.
* If displays do not have their own Space, the menu will open from the top of the widget and off the top of the screen if the Calc window is placed high enough. If the displays are stacked, the widget menu may continue from the bottom of the other display.
* The built-in display always behaves correctly, regardless of whether or not it has the "master" menu bar.

Master:
Version: 5.2.0.0.alpha0+
Build ID: ac488ccba124fc2539f765d354a0b97c9b843f51
CPU Threads: 4; OS Version: Mac OS X 10.11.4; UI Render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-03-22_04:19:45
Locale: en-US (en.UTF-8)

Current:
Version: 5.1.2.2
Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f
CPU Threads: 4; OS Version: Mac OS X 10.11.4; UI Render: default; 
Locale: en-US (en.UTF-8)
Comment 11 QA Administrators 2017-11-26 17:11:40 UTC Comment hidden (obsolete)
Comment 12 eisa01 2018-04-02 12:30:25 UTC
Still present as per comment #10, same behavior in 3.3, so inherited

Version: 6.1.0.0.alpha0+
Build ID: a488c7ad2763b944713997911c1ddb0315d8c93f
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-03-26_00:38:29
Locale: en-US (en_US.UTF-8); Calc: group
Comment 13 QA Administrators 2019-04-03 02:57:20 UTC Comment hidden (obsolete)
Comment 14 eisa01 2019-08-11 09:38:01 UTC
This is still present

Note for testing:
1. Have external monitor above laptop screen.
2. External monitor is main screen
3. Open LibreOffice Calc on main screen
4. Test background color dropdown, should work
5. Drag window to laptop screen, near the top of the screen
6. Press background color dropdown and observe wonky behavior

Version: 6.4.0.0.alpha0+
Build ID: 54028dc503fc08eb12e287919d5e2850cff05b73
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2019-07-31_01:48:19
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 15 QA Administrators 2021-08-11 03:58:53 UTC Comment hidden (obsolete)
Comment 16 eisa01 2023-04-01 19:12:24 UTC
This is still present

Updating title to reflect that this is applies to Calc autofilter as well, that has had a few bug reports that seems to be the same issue

This also happens in Writer and Presentation with e.g., the background color toolbar item

Version: 7.5.2.2 (AARCH64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 10; OS: Mac OS X 13.3; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 17 eisa01 2023-04-01 19:12:50 UTC
*** Bug 150869 has been marked as a duplicate of this bug. ***
Comment 18 eisa01 2023-04-01 19:13:57 UTC
*** Bug 146927 has been marked as a duplicate of this bug. ***