Bug 119688 - Full-screen fails to calculate screen size if launched from unmaximized window (gtk3)
Summary: Full-screen fails to calculate screen size if launched from unmaximized windo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Full-Screen-Mode GTK3
  Show dependency treegraph
 
Reported: 2018-09-04 10:52 UTC by Xisco Faulí
Modified: 2025-11-01 03:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screencast (7.51 MB, video/mp4)
2018-09-04 10:58 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2018-09-04 10:52:17 UTC
1. Launch Writer
2. Unmaximize the window
3. Relaunch LibreOffice -> it's launched unmaximized
4. Go to Full screen ( Ctrl + Shift + J )

-> Writer is displayed in half of the screen, instead of fullscreen

Reproduced in

Version: 6.2.0.0.alpha0+
Build ID: 4b5fcd417587cfb9e6d8b61ecb037ab165eeb5b9
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
Comment 1 Xisco Faulí 2018-09-04 10:55:24 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=1aeff41c4a6b16a2ec69faf4a0bee301bd609101

author	Caolán McNamara <caolanm@redhat.com>	2016-11-15 13:04:16 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2016-11-15 13:23:44 +0000
commit 1aeff41c4a6b16a2ec69faf4a0bee301bd609101 (patch)
tree 6181aec00aa4f6b69c297a03257586de4933c885
parent 0d051730156f633150fa9e3107fe97cf7be6d8f9 (diff)
Resolves: tdf#102957 revert SetMinOutputSizePixel workaround

Bisected with: bibisect-linux-64-5.3

Adding Cc: to Caolán McNamara
Comment 2 Xisco Faulí 2018-09-04 10:58:56 UTC
Created attachment 144665 [details]
screencast
Comment 3 Caolán McNamara 2018-12-20 10:31:52 UTC
it seems, on the face of it, that gtk_widget_show has to be called before this works right under X, though it works fine under wayland
Comment 4 Commit Notification 2018-12-20 12:10:19 UTC Comment hidden (obsolete)
Comment 5 Caolán McNamara 2018-12-20 12:11:12 UTC
backport to 6-2 in gerrit, a little reluctant to backport to 6-1 until there's been some burn in time to see if anything goes wrong
Comment 6 BogdanB 2019-01-02 14:40:10 UTC
Verified on 6.3, but I will not mark as verified as McNamara want to backport this to 6.2 or maybe 6.1. So not yet solved on this last versions.


Version: 6.3.0.0.alpha0+
Build ID: be8897d9c63a77b223a9c0aed1d2eb689e0e0082
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-02_04:49:04
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded

Fixed.
Comment 7 Caolán McNamara 2019-01-17 09:57:49 UTC
for bug #122334 I'll revert this
Comment 8 Xisco Faulí 2019-04-30 10:07:58 UTC Comment hidden (obsolete)
Comment 9 Justin L 2021-03-18 13:36:25 UTC
repro 7.2+

I had good results with these steps.
-Ctrl-Shift-J to go full-screen - whatever your current size.
-cancel full-screen and then drag the window to be a smaller size.
-Ctrl-Shift-J to try to go full-screen again.  This time it won't.
Comment 10 Justin L 2021-03-19 05:37:06 UTC Comment hidden (obsolete)
Comment 11 Stéphane Guillou (stragu) 2021-07-27 13:44:35 UTC
I reproduce something similar in a recent master build: using the shortcut goes to fullscreen mode without maximising the window or using the whole screen space. It only snaps the window to the top left without changing its size.

Using ubuntu 18.04 with Budgie.

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: cd2b5168e8ef1cb6e721bc5220421464ed723096
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-21_14:56:23
Calc: threaded
Comment 12 QA Administrators 2025-11-01 03:12:19 UTC
Dear Xisco Faulí,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug