Bug 116039 - Resizing Report navigator dialog repaints new area in black
Summary: Resizing Report navigator dialog repaints new area in black
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK2
  Show dependency treegraph
 
Reported: 2018-02-26 16:19 UTC by Howard Johnson
Modified: 2018-06-18 17:27 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (13.01 KB, image/png)
2018-02-26 16:19 UTC, Howard Johnson
Details
database to demo this bug (8.70 KB, application/vnd.oasis.opendocument.database)
2018-02-26 16:21 UTC, Howard Johnson
Details
screen shot from 6.2 (9.89 KB, image/png)
2018-06-18 17:27 UTC, Drew Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Howard Johnson 2018-02-26 16:19:22 UTC
Created attachment 140156 [details]
screenshot

How to reproduce:

1) Open the attached database
2) Edit the report
3) Open the Report navigator (Icon with red/blue round compass over-top edge of page of text)
4) Using mouse drag the bottom of the Report navigator dialog box down to make it larger.

Incorrect result:  The new area exposed has a black background, inconsistent with the normal background.  See attached screen shot.
Comment 1 Howard Johnson 2018-02-26 16:21:06 UTC
Created attachment 140158 [details]
database to demo this bug
Comment 2 Howard Johnson 2018-02-26 16:24:11 UTC
I'm on 
GNU/Linux Debian 9.3 x86-64, 
kernel 4.9.0-5-amd64,  
w/ cinnamon 3.2.7
graphics card: AMD/ATI RV710/M92 Mobility Radeon HD 4530/4570/545v
Comment 3 Xisco Faulí 2018-02-26 17:06:16 UTC
I can't reproduce it in

Version: 6.1.0.0.alpha0+
Build ID: ddbb78caa78085673b07dbea6f53288ec6237764
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

nor in

Version: 6.1.0.0.alpha0+
Build ID: ddbb78caa78085673b07dbea6f53288ec6237764
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Could you please paste the info from Help - about LibreOffice ?

OTOH, which theme do you use?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 4 Howard Johnson 2018-02-26 17:58:41 UTC
help> about:

Version: 6.0.1.1
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 5 Howard Johnson 2018-02-26 18:02:56 UTC
Cinnamon settings:

Themes:
  Themes:
    Window borders  Menta
    Icons           gnome
    Controls        BlueMenta
    Mouse Pointer   Adwaita
    Desktop         cinnamon

  Settings:
    Show icons in menus  on
    Show icons on buttons  on
    Use a dark theme variant when available in certain applictions  on
Comment 6 Howard Johnson 2018-02-26 18:10:08 UTC
Note: Also when editing reports I can resize `Add field` and `Sorting and Grouping` dialogs without this issue.
Comment 7 robert 2018-02-26 19:12:36 UTC
No problem here with
Version: 6.0.2.1
Build-ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU-Threads: 4; BS: Linux 4.4; UI-Render: Standard; VCL: kde4; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

I have seen such a thing not with LO-Base, but sometimes with php-forms, while opening listboxes in Firefox. Same system as mine, but with a newer kernel and a slower CPU.
Comment 8 Howard Johnson 2018-02-26 19:25:52 UTC
Workaround:

Double click on "Report" to close it, then double click on "Report" again to re-open it.  This restores the dialog to display correctly.

Note that double clicking on "Groups" or "Detail" redraws only a part of the interior correctly.
Comment 9 Howard Johnson 2018-02-26 19:34:54 UTC
(In reply to robert from comment #7)
> I have seen such a thing not with LO-Base, but sometimes with php-forms,
> while opening listboxes in Firefox. Same system as mine, but with a newer
> kernel and a slower CPU.

Not seeing this in Firefox or elsewhere.  

Closed all other programs while testing this and it still fails.

-- Testing on "Intel Core2 Duo P8800 @2.66Ghz x 2" w/ fast SSD and 7.8 GiB RAM.  Dual displays (2nd one on hdmi.)  [Unhooked 2nd display, but still fails.]


Deduction:  If the other dialogs on the report editor screen work correctly (and for that matter all others in LO that I've used), and only this one single dialog fails, then I'm guessing it has something wrong with it, and not the entire system.
Comment 10 Howard Johnson 2018-02-27 04:31:44 UTC
5.2.7.2			works
5.3.7.2			works (last release in 5.3 series)

5.4.0.0.alpha1	        fails (first release in 5.4 series)
5.4.0.1			fails
5.4.1.1			fails
5.4.4.2			fails
Comment 11 Alex Thurgood 2018-02-27 08:26:23 UTC
FWIW, no repro with :

Version: 5.4.5.1
Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8
Threads CPU : 8; OS : Mac OS X 10.13.3; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group

or

Version: 6.0.1.1
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
Threads CPU : 8; OS : Mac OS X 10.13.3; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
Comment 12 Alex Thurgood 2018-02-27 08:28:16 UTC
Sounds like a GTK window repaint issue here with regard to that particular window.
Comment 13 Buovjaga 2018-03-08 14:36:01 UTC
(In reply to Alex Thurgood from comment #12)
> Sounds like a GTK window repaint issue here with regard to that particular
> window.

Howard: can you reproduce it after launching from command line with
SAL_USE_VCLPLUGIN=gen libreoffice
Comment 14 Alex Thurgood 2018-03-09 08:49:37 UTC
Setting NEEDINFO pending requested information per comment 13
Comment 15 Howard Johnson 2018-03-09 20:55:08 UTC
(In reply to Buovjaga from comment #13)
> (In reply to Alex Thurgood from comment #12)
> > Sounds like a GTK window repaint issue here with regard to that particular
> > window.
> 
> Howard: can you reproduce it after launching from command line with
> SAL_USE_VCLPLUGIN=gen libreoffice

SAL_USE_VCLPLUGIN=gen /usr/bin/libreoffice5.4 works properly.  (Looks a little different. Missing standard V ^ and X (maximize, minimize and close buttons.)

SAL_USE_VCLPLUGIN=gen /usr/bin/libreoffice6.0 works properly.  (Looks a little different. Missing standard V ^ and X (maximize, minimize and close buttons.)
Comment 16 Buovjaga 2018-03-10 08:22:35 UTC
I could not reproduce it with gtk2 backend. But we have different Linux distros and my DE is KDE.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: b8fe96f1da2c42c04a8094ca8c57d49763b7bded
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 8th 2018
Comment 17 Alex Thurgood 2018-03-21 13:09:02 UTC
No repro with

Version: 6.1.0.0.alpha0+
Build ID: 234d0368c823eb1a74e973e051ac522e6b86e833
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group

MATE Desktop Environment 1.12.1
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
Comment 18 Xisco Faulí 2018-05-08 10:06:07 UTC
Dear Howard,
Is it reproducible if you use another theme?
Comment 19 Xisco Faulí 2018-06-08 10:26:40 UTC
(In reply to Xisco Faulí from comment #18)
> Dear Howard,
> Is it reproducible if you use another theme?

Dear Howard Johnson,
Could you please answer the question above in order to help us triage this issue?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the question has been answered
Comment 20 Howard Johnson 2018-06-08 21:41:31 UTC
Tested with these other theme related settings:

Themes:
	Controls:
          BlueMenta
  	  Adwaita
	  HighContrast
	  Green-Submarine

	Window borders:
          Menta
	  Default
  	  Greybird


But it's still buggy (has black repaint issue) with each of these settings.
Comment 21 Drew Jensen 2018-06-18 17:23:02 UTC
Confirmed using 6.2 Alhpa0 under Ubuntu 18.04 (Gnome default desktop).

No need to resize the dialog here, it starts out with most of the content area blacked out, unless you click inside the area then it puts a white background behind the text, but the content area otherwise remains black, and if you move to a different item, the one that was visible is now blacked out.

Starting the application with:
SAL_USE_VCLPLUGIN=gen ./soffice

the navigation dialog has no blacked out area and displays exactly as expected.
Comment 22 Drew Jensen 2018-06-18 17:27:47 UTC
Created attachment 142875 [details]
screen shot from 6.2

The navigator as it appears under LibO 6.2 Alpha, default installation.
Build info:
Version: 6.2.0.0.alpha0+
Build ID: cbd0d1da85a7ae6b35023274c7267872b3d920e7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-06-18_00:24:33
Locale: en-US (en_US.UTF-8); Calc: group threaded