Bug 152217 - Black box in Basic IDE where the status bar should be (kf5 only)
Summary: Black box in Basic IDE where the status bar should be (kf5 only)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Statusbar KDE UI BASIC-IDE
  Show dependency treegraph
 
Reported: 2022-11-25 14:30 UTC by Rafael Lima
Modified: 2023-02-23 08:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By: Jan-Marek Glogowski


Attachments
Screenshot of the problem (60.18 KB, image/png)
2022-11-25 14:30 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-11-25 14:30:16 UTC
Created attachment 183774 [details]
Screenshot of the problem

If you open LibreOffice in a non-maximized window and then open the Basic IDE (Tools - Macros - Edit Macros) and the window is not maximized upon opening, then a black bar will appear where the statusbar should be.

This bug only affects kf5. It seems to be working fine in gtk3 and gen.

See attached screenshot for more info.

Steps to reproduce:
1) In KDE Plasma, open LibreOffice Calc (or any other LO app) and then tile it to the left side of the screen (Super + Left)
2) Open the Basic IDE (Tools - Macros - Edit Macros) and also tile this window to the left; then close the Basic IDE
3) Now open the Basic IDE again; it will open non-maximized and tiled to the left; however now a black bar will appear where the statusbar should be
4) Maximizing the window repaints the statusbar and the problem disappears

If the Basic IDE opens maximized, then the problem is not noticeable. The problem only occurs when the window opens in a non-maximized state.

Present in LO 7.5 from daily build:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 24d7431876e87eba700a9f141dc8e030143a92ad
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

Not present in

Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.4.2~rc3-0ubuntu1
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2022-12-03 23:50:19 UTC
Can reproduce with:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a41c82407bbb73a4d87070326485ec4b4e954a65
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

But not with:

Version: 7.4.3.2 / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2023-01-18 22:09:18 UTC
Bibisected with linux-64-7.5 repo to first bad commit 5c4a00e051f4d9366ae8a2e98a1f2ab4b016e9a7 which points to core commit:

commit afc828b9833b7a612369e95606ba56d41ef2c369
author	Jan-Marek Glogowski <glogow@fbihome.de>	Sat May 28 23:47:21 2022 +0200
committer	Jan-Marek Glogowski <glogow@fbihome.de>	Tue Jun 21 17:26:06 2022 +0200
tree b60ec391ff6f93f85eb4f88d756c2f70b79b674c
parent dbaf5f6fad2ec10f69cf46f9cb697b8760c2a01f
VCL expect correct frame size for native menubars
Change-Id: I7faeace61b456c2b0f42c7a826f58018b70d46ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135082

Jan-Marek, can you please have a look?