Bug 151194 - VIEWING: Cannot maximize LO main window with low resolution screen in Arch XFCE with certain themes + language packs
Summary: VIEWING: Cannot maximize LO main window with low resolution screen in Arch XF...
Status: RESOLVED DUPLICATE of bug 149989
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-26 21:42 UTC by flklb-bugs
Modified: 2023-07-27 11:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Bottom part of main window ("help" and "extensions" buttons) hidden behind task bar (13.62 KB, image/png)
2022-09-26 21:43 UTC, flklb-bugs
Details
Screenshot of Start Center on 1366 x 768 (with panel) (316.56 KB, image/png)
2022-09-26 22:29 UTC, Rafael Lima
Details
01 - German: can NOT maximize (57.33 KB, image/png)
2022-09-28 13:52 UTC, flklb-bugs
Details
02 - English: CAN maximize (42.18 KB, image/png)
2022-09-28 13:53 UTC, flklb-bugs
Details
03 - German with hacked maximized state: UI looks fine (46.83 KB, image/png)
2022-09-28 13:54 UTC, flklb-bugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description flklb-bugs 2022-09-26 21:42:17 UTC
Description:
When starting LO 7.3 start center / main window (the window that shows the recently used documents) I cannot maximize this very window as apparently its minimum height is larger than the available size on my 1366x768 laptop screen. The lowest part of the window gets hidden behind my DEs task bar (see attached screenshot). The window is about ~38px too tall although there is plenty of free vertical space within the window.

While this itself is a minor problem, the non-maximized state is taken over by every opened document such that, e.g., in a Calc document the status bar and sheets tabs will then as well be hidden behind the task bar. I always have to manually maximize the window after opening a document from start center.

First observed this behavior after updating from version 7.2.7.5 to 7.3.6.2.
Looks like the start center has been slightly rearranged in 7.3.

See also this old thread, same problem with different version and even smaller resolution:
https://ask.libreoffice.org/t/screen-too-small-for-libreoffice/18381

Operating system:
- ArchLinux

Desktop environment:
- XFCE

Steps to Reproduce:
1. Use screen with low resolution such as 1366x768
2. Start LibreOffice main window / start center

Actual Results:
Window does not start maximized and cannot be maximized

Expected Results:
Minimum window height should be smaller / window should be maximizable


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.3.6.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
7.3.6-2
Calc: threaded
Comment 1 flklb-bugs 2022-09-26 21:43:22 UTC
Created attachment 182689 [details]
Bottom part of main window ("help" and "extensions" buttons) hidden behind task bar
Comment 2 Rafael Lima 2022-09-26 22:29:50 UTC
Created attachment 182690 [details]
Screenshot of Start Center on 1366 x 768 (with panel)

I could NOT reproduce this with

Version: 7.3.6.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.6-0ubuntu0.22.04.1
Calc: threaded

I tested with a 1366 x 768 display on Kubuntu. The Start Center window maximized as expected.
Comment 3 Timur 2022-09-27 10:30:12 UTC Comment hidden (obsolete)
Comment 4 flklb-bugs 2022-09-27 11:29:58 UTC Comment hidden (obsolete)
Comment 5 flklb-bugs 2022-09-27 17:49:52 UTC
(In reply to tr_mail_bin from comment #4)
> (In reply to Timur from comment #3)
> > Also no repro in Ubuntu 1366x768 with LO 7.3 or 7.5+.
> > That may be related to XFCE.
> > Do you have libreoffice-gtk3 package? How do you install LO? 
> 
> I use this package, which is built with '--enable-gtk3' switch:
> https://archlinux.org/packages/extra/x86_64/libreoffice-still/
> 
> > Can you test with LO master, like from
> > https://wiki.documentfoundation.org/Installing_in_parallel/Linux?
> 
> I can try this later.

I can NOT reproduce this with any of the following pre-compiled .deb-Packages from https://de.libreoffice.org/download/download/:

LibreOffice_7.2.7.2_Linux_x86-64_deb
LibreOffice_7.3.6.2_Linux_x86-64_deb
LibreOffice_7.4.1.2_Linux_x86-64_deb

Can also NOT reproduce it with Manjaro+XFCE (ArchLinux derivative) Live system in VBOX, neither from distro repository nor with LO .deb packages.

Must be a local configuration / ArchLinux packaging issue then?
Comment 6 Timur 2022-09-27 18:19:03 UTC
If you did renamed/deleted LO user profile  folder, so fixing a potential glitch that didn't help, it can  be Arch issue. 
Anyway, I close as this is not LO Bug.
Comment 7 flklb-bugs 2022-09-28 13:52:37 UTC
Created attachment 182705 [details]
01 - German: can NOT maximize
Comment 8 flklb-bugs 2022-09-28 13:53:15 UTC
Created attachment 182706 [details]
02 - English: CAN maximize
Comment 9 flklb-bugs 2022-09-28 13:54:37 UTC
Created attachment 182707 [details]
03 - German with hacked maximized state: UI looks fine
Comment 10 flklb-bugs 2022-09-28 13:56:42 UTC
I re-open this as, after experimenting a bit, to mee it looks like it IS an LO bug, which only appears when using certain themes + LO language packs.

In my case this is "Breeze" theme + German language pack but same issue with "Adapta" theme for instance.

As can be seen from the attached screenshots '01' and '02', the side bar on the left hand side can have considerably different width depending on used language pack, which in turn scales the "LibreOffice" image (bottom left). The image might then take up the remaining vertical space and hence the window cannot be maximized.

However,

a) screenshot '01' still shows some remaining space (red hatching), which I assume is a fixed minimum spacing set in LO (?) and

b) if I switch to a different "smaller" theme, then maximize and immediately switch back to Breeze theme (a hack) I obtain maximized window with Breeze theme. Obviously not a proper workaround but as can be seen in screenshot '03' everything looks OK and there is still some space between LibreOffice image and "Base" button.


--> Therefore I would suggest to allow for a tighter / no extra spacing between LibreOffice image and "Base" button.


Feel free to close again if there is no way for LO to change this (although I cannot imagine what else could be responsible for the spacing).
Comment 11 Timur 2022-09-28 14:18:40 UTC
It would still be useful if you could test with daily master LO 7.5+ with those settings.
Comment 12 flklb-bugs 2022-09-28 17:56:24 UTC
(In reply to Timur from comment #11)
> It would still be useful if you could test with daily master LO 7.5+ with
> those settings.

Can confirm this with daily master from today, also with a freshly installed system and fresh .config/ directory.
Comment 13 flklb-bugs 2023-04-13 00:03:44 UTC
Update: The bug is still present for me in version 7.4.6.2.
Comment 14 Stéphane Guillou (stragu) 2023-07-27 11:30:03 UTC
Marking as duplicate of bug 149989 as it's fundamentally the same issue: overflowing window makes parts of the UI unavailable to the user, and the DE disables the window's maximise command.

*** This bug has been marked as a duplicate of bug 149989 ***
Comment 15 Stéphane Guillou (stragu) 2023-07-27 11:31:05 UTC
(the UI langue link is simply that the longer string makes the panel wider, which scales the logo up, which gives less space for the buttons and therefore makes the window overflow the display)