Bug 160318 - Display fails for certain display scales
Summary: Display fails for certain display scales
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 16:45 UTC by macho.p
Modified: 2024-04-19 12:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot illustrating problem (378.63 KB, image/png)
2024-03-22 16:46 UTC, macho.p
Details

Note You need to log in before you can comment on or make changes to this bug.
Description macho.p 2024-03-22 16:45:42 UTC
Description:
Window displays imprpoperly

Steps to Reproduce:
1. Open LibreOffice

Actual Results:
LibreOffice Write is exhibiting weird behaviour where, when maximized, only a reduced top-left subsection of the window displays properly, and even that part doesn't correspond to where the cursor is (i.e. when I type the text appears somewhere other than where the cursor is located). This problem doesn't occur if before opening LibreOffice I go into my "Displays" settings (in Ubuntu Unity) and change "Scale for menu and title bars" to something less than 1. Even if I increases it after opening Writer it seems to stay fine. This problem doesn't happen with any other software on my system. I will try to attach a screenshot that illustrates the problem better than I can explain if I can figure out how.

Expected Results:
Have it work properly.


Reproducible: Always


User Profile Reset: No

Additional Info:
.
Comment 1 macho.p 2024-03-22 16:46:52 UTC
Created attachment 193246 [details]
Screenshot illustrating problem
Comment 2 V Stuart Foote 2024-03-22 18:11:22 UTC
Please provide os/DE and distribution in use. Also please post details from the Help -> About LibreOffice panel.
Comment 3 macho.p 2024-03-22 18:19:07 UTC
I'm not sure I know what "DE" refers to, but here is some info that I hope will be helpful: don't hesitate to let me know if you need more:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.10
Release:	23.10
Codename:	mantic

$ uname -a
Linux mainframe 6.5.0-26-generic #26-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar  5 21:19:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l libreoffice-writer
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version                  Architecture Description
+++-==================-========================-============-===========================================
ii  libreoffice-writer 4:7.6.5-0ubuntu0.23.10.1 amd64        office productivity suite -- word processor

$ dpkg -l unity
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                         Architecture Description
+++-==============-===============================-============-===========================================================
ii  unity          7.7.0+23.04.20230222.2-0ubuntu2 amd64        Interface designed for efficiency of space and interaction.
Comment 4 wjsim 2024-03-25 15:13:27 UTC
Thank you for reporting the bug. I am not able to replicate the bug on:

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6a064b1967e06e40be40817deff99d00c1a8554f
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: ko-KR (en_US); UI: en-US
Calc: CL threaded
Comment 5 macho.p 2024-03-25 15:17:38 UTC
Thanks for that. Anything I can do to avoid this being closed as "could not replicate"?
Comment 6 V Stuart Foote 2024-03-25 15:37:11 UTC
We still need the build and config details from the Help -> About LibreOffice popup. Please use the convenient copy button and paste the text.
Comment 7 macho.p 2024-03-25 17:35:00 UTC
Here you are! In case it helps I hadn't been having this problem on my previous Lenovo Thinkpad but it started either at the same time or shortly after migrating to a Framework (http://frame.work) laptop.

Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.5-0ubuntu0.23.10.1
Calc: threaded
Comment 8 V Stuart Foote 2024-03-25 18:13:29 UTC
(In reply to macho.p from comment #7)

> Version: 7.6.5.2 (X86_64) / LibreOffice Community
> Build ID: 60(Build:2)
> CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> Ubuntu package version: 4:7.6.5-0ubuntu0.23.10.1
> Calc: threaded

Could you run "sudo lshw -C display" and post that as well. Needed to find someone with similar graphics hw config (GPU and display) on your Ubuntu Desktop Environment.
Comment 9 macho.p 2024-03-25 18:15:06 UTC
> Could you run "sudo lshw -C display" and post that as well.

My pleasure:

$ sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Raptor Lake-P [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 mode=2256x1504 resolution=2256,1504 visual=truecolor xres=2256 yres=1504
       resources: iomemory:600-5ff iomemory:400-3ff irq:201 memory:605c000000-605cffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
Comment 10 Stéphane Guillou (stragu) 2024-04-07 03:52:29 UTC
Do you reproduce the same issue with another Desktop Environment, e.g. GNOME?
Wondering if it is specific to Unity.
Comment 11 macho.p 2024-04-18 14:21:14 UTC
I tried in gnome-desktop and I wasn't able to reproduce, although gnome doesn't seem to allow you do adjust the display to less than 1 / 100% so I wonder whether that may limit the usefulness of that info.

I don't know why, but for years whenever I even choose to login under gnome instead of unity I for some reason have a nightmarish time getting back into unity (even when I select Unity at login it kicks me to gnome, at least for that user), so I'm loath to try it again.
Comment 12 Robert Großkopf 2024-04-19 06:52:33 UTC
Try to start LO by
SAL_USE_VCLPLUGIN=gen ./soffice

Might be it is the same reason like bug 160415
Comment 13 macho.p 2024-04-19 11:56:50 UTC
Before trying the SAL_USE_VCLPLUGIN request, I tried to reproduce in the normal way and weirdly I could no longer (at least readily) reproduce the initial bug.

Do you mind if we leave this open, say, a couple of months in case it comes back, and then if not we can close?
Comment 14 Stéphane Guillou (stragu) 2024-04-19 12:22:57 UTC
(In reply to macho.p from comment #13)
> Do you mind if we leave this open, say, a couple of months in case it comes
> back, and then if not we can close?
Let's set to "need info" then.