Bug 150869 - LO Calc Autofilter menu doesn't display correctly in MacOS 2nd screen in single-space mode.
Summary: LO Calc Autofilter menu doesn't display correctly in MacOS 2nd screen in sing...
Status: RESOLVED DUPLICATE of bug 96199
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All macOS (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Multimonitor
  Show dependency treegraph
 
Reported: 2022-09-08 20:52 UTC by Thomas Maeder
Modified: 2023-04-02 03:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example Calc document to reproduce the bug (9.89 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-09-08 20:54 UTC, Thomas Maeder
Details
Autofilter menu in separate-space mode, monitor 1: OK (943.02 KB, image/png)
2022-09-08 20:55 UTC, Thomas Maeder
Details
Autofilter menu in separate-space mode, monitor 2: OK (754.40 KB, image/png)
2022-09-08 20:56 UTC, Thomas Maeder
Details
Autofilter menu in single-space mode, monitor 1: OK (888.49 KB, image/png)
2022-09-08 20:56 UTC, Thomas Maeder
Details
Autofilter menu in single-space mode, monitor 2: bug (644.08 KB, image/png)
2022-09-08 20:59 UTC, Thomas Maeder
Details
Autofilter menu in single-space mode, monitor 2, lowered: OK (1.93 MB, image/png)
2022-09-08 21:00 UTC, Thomas Maeder
Details
Checkbox for separate-space mode (202.60 KB, image/png)
2022-09-08 21:08 UTC, Thomas Maeder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Maeder 2022-09-08 20:52:07 UTC
Description:
When using two monitors in extended-screen mode (two monitors sharing the same space) and a Calc window opened in the 2nd screen, an Autofilter menu may display partly beyond the screen range, making it largely unusable. If the menu cell is sufficiently low, it will work, but Autofilters tend to be quite close to the top of the screen…
In the 1st main screen (the one with the menu bar), Autofilter menus display flawlessly.
Both screens work well if, in the System Preferences Mission Control panel, both screens are set to have their own space (menu bar on top of each one).

Steps to Reproduce:
1. Use a machine with two monitors.
2. In System Preferences, Monitors, set the screens to be independent, side by side.
3. In System Preferences, Mission Control, deselect the checkbox "Monitors have separate Spaces"
4. Open the Calc spreadsheet in the attached archive and set the window to full-screen modern the second screen (the one without the menu bar).
5. Try to use an Autofilter to filter the data => the filter menu will partly display beyond the top of the screen.

Actual Results:
In the 2nd screen in extended-screen mode (without separate spaces), Autofilter menus may display beyond the top of the screen.

Expected Results:
Autofilter menus should adjust their position so that they remain in the screen, independently of the position of the cell or the display mode.


Reproducible: Always


User Profile Reset: No



Additional Info:
See attached files :
- LO autofilter bug.ods : an example Calc document to reproduce the bug.
- Screenshots that illustrate the problem.
   Single-space mode, 1st screen, full => OK
   Single-space mode, 2nd screen, full => bug (filter menu too high)
   Single-space mode, 2nd screen, reduced to avoid issue => OK
   Separate-space mode, all => OK
Comment 1 Thomas Maeder 2022-09-08 20:54:13 UTC
Created attachment 182313 [details]
Example Calc document to reproduce the bug
Comment 2 Thomas Maeder 2022-09-08 20:55:54 UTC
Created attachment 182314 [details]
Autofilter menu in separate-space mode, monitor 1: OK
Comment 3 Thomas Maeder 2022-09-08 20:56:26 UTC
Created attachment 182315 [details]
Autofilter menu in separate-space mode, monitor 2: OK
Comment 4 Thomas Maeder 2022-09-08 20:56:59 UTC
Created attachment 182316 [details]
Autofilter menu in single-space mode, monitor 1: OK
Comment 5 Thomas Maeder 2022-09-08 20:59:03 UTC
Created attachment 182317 [details]
Autofilter menu in single-space mode, monitor 2: bug

Here the Autofilter menu is partially hidden, as its position is too high.
Comment 6 Thomas Maeder 2022-09-08 21:00:52 UTC
Created attachment 182318 [details]
Autofilter menu in single-space mode, monitor 2, lowered: OK

Lowering the top of the window in the buggy case restores visibility of the menu, but this is of little use in practice, as Autofilters tend to reside near the top of the screen.
Comment 7 Thomas Maeder 2022-09-08 21:08:22 UTC
Created attachment 182320 [details]
Checkbox for separate-space mode

This is the System Preferences control panel that controls the occurence of this bug.
The bug only occurs on the 2nd screen if the marked checkbox is deactivated: the 2nd screen has no menu bar in this case.
In separate-space mode (checkbox active), both screens have menu bars, and everything works fine (see attached screenshots).
Comment 8 eisa01 2023-04-01 19:12:50 UTC

*** This bug has been marked as a duplicate of bug 96199 ***