Bug 40559

Summary: Ugly dithered symbol background in rdp/ica sessions
Product: LibreOffice Reporter: Heiko <lo_hsol>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: low    
Version: Inherited From OOo   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 118000    
Attachments: LO in Citrix- or RDP-Session
OO 3.1.1 in Citrix-/RDP-Session
LO locally installed
LibO 3.5 beta2
LibO 3.6.1.2 RDP WinSrv2008

Description Heiko 2011-09-01 09:30:26 UTC
When using libreoffice 3.4.2 in a windows 2003 terminal server environment, LO renders selected icons in an ugly dithered fashion. affected are submenus from the main menu, context menus and icons on the symbol bars (pls see screenshots).

Installing LO locally on XP, LO delievers the perfect look.

First I thougt about a Citrix (XenAPP/Receiver/ICAClient) problem, but LO in an  remote dekstop session (RDP) shows the same effect.

It seems, that this issue occours since OpenOffice.org > 3.1.1.
Comment 1 Heiko 2011-09-01 09:31:42 UTC
Created attachment 50821 [details]
LO in Citrix- or RDP-Session
Comment 2 Heiko 2011-09-01 09:32:23 UTC
Created attachment 50822 [details]
OO 3.1.1 in Citrix-/RDP-Session
Comment 3 Heiko 2011-09-01 09:32:46 UTC
Created attachment 50823 [details]
LO locally installed
Comment 4 Björn Michaelsen 2011-12-23 12:37:34 UTC Comment hidden (obsolete)
Comment 5 Heiko 2011-12-29 09:09:23 UTC
The Bug still pesists in LibO 3.5 beta. Adding a screenshot.
Comment 6 Heiko 2011-12-29 09:11:22 UTC
Created attachment 54945 [details]
LibO 3.5 beta2
Comment 7 Heiko 2012-01-02 00:30:09 UTC
Comment on attachment 54945 [details]
LibO 3.5 beta2

-
Comment 8 realyst 2012-09-04 08:10:10 UTC
Created attachment 66597 [details]
LibO 3.6.1.2 RDP WinSrv2008
Comment 9 realyst 2012-09-04 08:10:53 UTC
Bug still exists in LibO 3.6.1.2

This effects also Citrix-sessions (ICA protocol).
As we use Citrix to deliver LibO in our company and IMHO virtualisation for applications will grow in the future, it is or will become an issue affecting many people in their daily work.
I think for most normal users a clutterd UI is a bad experience and just don't fit into professional software.
Comment 10 Heiko 2013-03-06 22:47:06 UTC
No change in in 4.0.0.2. Still very ugly in icons. Into writer/impress/draw imported pictures are fine, they are not dithered that way icons are. 

Does anyone know, how LO checks the available color depth? I guess LO thinks of a reduced color depth an switches dithering on.
Comment 11 Heiko 2013-03-18 21:55:11 UTC
Found an interesting comment about a workaround with "bad dithering" over here:
http://code.metager.de/source/history/freedesktop/libreoffice/basegfx/

"2008-12-12 14:51:26 +0100 aw r265420 : #i95645# workaround for DrawTransparent of button hilighting when remote displayed; somehow GDI+ does bad dithering in that case"

Hmmm...
Comment 12 Heiko 2013-03-18 22:17:40 UTC
and here...

http://docs.libreoffice.org/vcl/html/outdev6_8cxx_source.html

00259     // try hard to draw it directly, because the emulation layers are slower
00260     if( !pDisableNative
00261         && mpGraphics->supportsOperation( OutDevSupport_B2DDraw )
00262 #if defined UNX && ! defined MACOSX
00263             && GetBitCount() > 8
00264 #endif
00265 #ifdef WIN32
00266         // workaround bad dithering on remote displaying when using GDI+ with toolbar buttoin hilighting
00267         && !rPolyPoly.IsRect()
00268 #endif
00269         )


too bad, I'm no coder :-/

I wonder, what GetBitCount() /line 263/ delivers in a RDP/ICA remote server...
Comment 13 Mateo 2014-10-31 13:13:13 UTC
Same results for LibreOffice 4.3.2. Dithering effects still on RDS 2008R2(x64). Fine on local XP or Windows 7.
Comment 14 tommy27 2016-04-16 07:24:36 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2017-05-22 13:25:43 UTC Comment hidden (obsolete)
Comment 16 QA Administrators 2020-10-21 04:22:36 UTC Comment hidden (obsolete)
Comment 17 QA Administrators 2022-10-22 04:03:42 UTC Comment hidden (obsolete)
Comment 18 Heiko 2023-03-02 22:40:57 UTC
Not sure since which Version, but the problem does not exist any more. Currently running LibreOffice 7.4.5 on Windows Server 2019/Citrix.