Bug 69342 - UI: Rendering issues using gtk under KDE with Nvidia driver
Summary: UI: Rendering issues using gtk under KDE with Nvidia driver
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 01:57 UTC by Alfeno Rodrigues
Modified: 2014-08-04 16:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Screenshot of this issue (178.60 KB, image/png)
2013-09-14 01:57 UTC, Alfeno Rodrigues
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfeno Rodrigues 2013-09-14 01:57:13 UTC
Created attachment 85803 [details]
Screenshot of this issue

Problem description:

  The problem is that LibreOffice suite has a bad font rendering in KDE 4.

  In my research I discovered that this problem appear when kde's anti-aliasing is enabled.
 
Steps to reproduce:
1. Execute libreOffice
2. Make some work with the suite
3. The badly font renders will appear

Current behavior:

Having a better font rendering in KDE.

Expected behavior:

  Having a better font rendering in KDE.
Operating System: Ubuntu
Version: 4.1.1.2 release
Comment 1 ign_christian 2013-09-14 10:05:34 UTC
Not reproducible with:
- LO 4.0.4.2 (installed from PPA along with libreoffice-kde package)
- Kubuntu 12.04 32bit (KDE 4.8.5 & 4.11.1) & PCLinuxOS 32bit KDE 4.8.5

@Alfeno, do you installed KDE in standard Ubuntu or you had native Kubuntu? Could you make sure libreoffice-kde package installed? Have you tried resetting user profile?
Comment 2 Maxim Monastirsky 2013-09-14 19:19:56 UTC
From the screenshot it's clear that it's gtk rendering using oxygen-gtk theme, as it exposes some other bugs (like Bug 68443).

The screenshot reminds me what I have seen in some dialogs, when reproduced Bug 60856. So maybe related?
Comment 3 Alfeno Rodrigues 2013-09-16 12:08:49 UTC
Helo ign_christian;

This is my environment

Distributor ID:    Netrunner
Description:       Netrunner 5 Enigma (13.06)
Release:           13.06
Codename:       enigma-1306


And yes, I had libobasis4.1-kde-integration installed in my  computer. My
libreOffice package was from LibreOffice Web site.

How can I help libreOffice team to investigate this issue ? Maybe to access
my environment ?

Thanks
Alfeno Júnior



On Sat, Sep 14, 2013 at 4:19 PM, <bugzilla-daemon@freedesktop.org> wrote:

>  Maxim <momonasmon@gmail.com> changed bug 69342<https://bugs.freedesktop.org/show_bug.cgi?id=69342>
>  What Removed Added  CC   momonasmon@gmail.com
>
>  *Comment # 2 <https://bugs.freedesktop.org/show_bug.cgi?id=69342#c2> on bug
> 69342 <https://bugs.freedesktop.org/show_bug.cgi?id=69342> from Maxim<momonasmon@gmail.com>
> *
>
> From the screenshot it's clear that it's gtk rendering using oxygen-gtk theme,
> as it exposes some other bugs (like Bug 68443 <https://bugs.freedesktop.org/show_bug.cgi?id=68443>).
>
> The screenshot reminds me what I have seen in some dialogs, when reproduced Bug
> 60856 <https://bugs.freedesktop.org/show_bug.cgi?id=60856>. So maybe related?
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>
Comment 4 Maxim Monastirsky 2013-09-16 20:35:29 UTC
@Alfeno Rodrigues: Hi,

libobasis4.1-kde-integration package is for KDE3. Official builds from libreoffice.org don't contain KDE4 integration, see Bug 48611. So basically you confirm what I wrote in comment 2, that you're getting gtk rendering with oxygen-gtk theme.

If you want KDE integration, you should try your distribution packages, or from PPA.

Also in the future please don't respond to the mail, use the web interface instead. It's located at https://bugs.freedesktop.org/show_bug.cgi?id=69342. thanks.
Comment 5 Alfeno Rodrigues 2013-09-17 00:37:44 UTC
is exactly the problem I'm having.




On Mon, Sep 16, 2013 at 5:35 PM, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 4 <https://bugs.freedesktop.org/show_bug.cgi?id=69342#c4> on bug
> 69342 <https://bugs.freedesktop.org/show_bug.cgi?id=69342> from Maxim<momonasmon@gmail.com>
> *
>
> @Alfeno Rodrigues: Hi,
>
> libobasis4.1-kde-integration package is for KDE3. Official builds fromlibreoffice.org don't contain KDE4 integration, see Bug 48611 <https://bugs.freedesktop.org/show_bug.cgi?id=48611>. So basically you
> confirm what I wrote in comment 2 <https://bugs.freedesktop.org/show_bug.cgi?id=69342#c2>, that you're getting gtk rendering with
> oxygen-gtk theme.
>
> If you want KDE integration, you should try your distribution packages, or from
> PPA.
>
> Also in the future please don't respond to the mail, use the web interface
> instead. It's located at https://bugs.freedesktop.org/show_bug.cgi?id=69342.
> thanks.
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>
Comment 6 Alfeno Rodrigues 2013-09-17 01:39:52 UTC
Now, I installed libreoffice suite from launchpad.net instead from Official
builds from libreoffice.org but this issue keeps happening.

Now my environment do not have kde integration package, only GTK+ 3.0
integration (libreoffice-gtk3) pakage.

I changed GTK theme to default, in the other words, remove oxgen-gtk
configuration

I do not know is import, but my graphics driver is from nvidia corporation.
I'm not using nouveau display driver



On Mon, Sep 16, 2013 at 9:37 PM, Alfeno Rodrigues <alfeno@gmail.com> wrote:

> is exactly the problem I'm having.
>
>
>
>
> On Mon, Sep 16, 2013 at 5:35 PM, <bugzilla-daemon@freedesktop.org> wrote:
>
>>   *Comment # 4 <https://bugs.freedesktop.org/show_bug.cgi?id=69342#c4>on bug
>> 69342 <https://bugs.freedesktop.org/show_bug.cgi?id=69342> from Maxim<momonasmon@gmail.com>
>> *
>>
>> @Alfeno Rodrigues: Hi,
>>
>> libobasis4.1-kde-integration package is for KDE3. Official builds fromlibreoffice.org don't contain KDE4 integration, see Bug 48611 <https://bugs.freedesktop.org/show_bug.cgi?id=48611>. So basically you
>> confirm what I wrote in comment 2 <https://bugs.freedesktop.org/show_bug.cgi?id=69342#c2>, that you're getting gtk rendering with
>> oxygen-gtk theme.
>>
>> If you want KDE integration, you should try your distribution packages, or from
>> PPA.
>>
>> Also in the future please don't respond to the mail, use the web interface
>> instead. It's located at https://bugs.freedesktop.org/show_bug.cgi?id=69342.
>> thanks.
>>
>>  ------------------------------
>> You are receiving this mail because:
>>
>>    - You reported the bug.
>>
>>
>
>
> --
> Obrigado
> Alfeno Júnior
>
Comment 7 ign_christian 2013-09-17 02:27:26 UTC
Hi Alfeno, please don't directly reply from email. Use what Maxim has told instead:
> Also in the future please don't respond to the mail, use the web interface
> instead. It's located at https://bugs.freedesktop.org/show_bug.cgi?id=69342.
> thanks.

Have you also tried playing with KDE system settings, ie. using Xrender instead of OpenGL, disable desktop effects, disable/configure anti aliasing for fonts, change to another font, etc ?
Comment 8 ign_christian 2013-09-17 02:42:30 UTC
If I'm not wrong, you are using 'Galaxy' style within LO (shown on your screenshot). How about 'Human' style which is default in your distro? 
Ref: http://wiki.netrunner-os.com/index.php/Enigma_5.0
Comment 9 Maxim Monastirsky 2013-09-20 07:39:58 UTC
(In reply to comment #6)
> Now my environment do not have kde integration package, only GTK+ 3.0
> integration (libreoffice-gtk3) pakage.
> 
> I changed GTK theme to default, in the other words, remove oxgen-gtk
> configuration
I'll change the summary respectively.
Comment 10 Alfeno Rodrigues 2013-09-23 14:18:37 UTC
(In reply to comment #8)
> If I'm not wrong, you are using 'Galaxy' style within LO (shown on your
> screenshot). How about 'Human' style which is default in your distro? 
> Ref: http://wiki.netrunner-os.com/index.php/Enigma_5.0

I switched to Human interface with the same problem. There is a way to run libreoffice in debug mode ?
Comment 11 Alfeno Rodrigues 2013-09-23 14:31:52 UTC
(In reply to comment #7)
> Hi Alfeno, please don't directly reply from email. Use what Maxim has told
> instead:
> > Also in the future please don't respond to the mail, use the web interface
> > instead. It's located at https://bugs.freedesktop.org/show_bug.cgi?id=69342.
> > thanks.
> 
> Have you also tried playing with KDE system settings, ie. using Xrender
> instead of OpenGL, disable desktop effects, disable/configure anti aliasing
> for fonts, change to another font, etc ?

Yes. I have disabled all kde effects, .... but the bug not appear when I have disabled the KDE anti aliasing fonts.
Comment 12 ign_christian 2013-09-24 01:49:51 UTC
> Yes. I have disabled all kde effects, .... but the bug not appear when I
> have disabled the KDE anti aliasing fonts.
Perhaps that is the main problem. I saw many problems with KDE integration, not only with LO, but I don't know if related.

If you have time, perhaps you could also playing with another KDE version: KDE 4.10.5 (considered as most stable currently), or brand new 4.11.1. Then you could investigate whether same behavior reoccur?

I found resources to get debug but I don't know the official way:
https://wiki.documentfoundation.org/BugReport#How_to_get_a_backtrace_on_Linux
https://wiki.documentfoundation.org/Development/How_to_debug
Comment 13 Alfeno Rodrigues 2013-09-26 00:49:17 UTC
(In reply to comment #12)
> > Yes. I have disabled all kde effects, .... but the bug not appear when I
> > have disabled the KDE anti aliasing fonts.
> Perhaps that is the main problem. I saw many problems with KDE integration,
> not only with LO, but I don't know if related.
> 
> If you have time, perhaps you could also playing with another KDE version:
> KDE 4.10.5 (considered as most stable currently), or brand new 4.11.1. Then
> you could investigate whether same behavior reoccur?
> 
> I found resources to get debug but I don't know the official way:
> https://wiki.documentfoundation.org/BugReport#How_to_get_a_backtrace_on_Linux
> https://wiki.documentfoundation.org/Development/How_to_debug

This task is easy, no problem.

I have some news to this issue:

1) effect enable + anti-aliasing = bug
2) efect enable - anti_aliasing = whitout bug
3) Xrender + anti_aliasing = whitout bug
4) Xrender - anti_aliasing = whitout bug
Comment 14 ign_christian 2013-09-26 01:34:23 UTC
So it looks like compatibility problem with OpenGL or video driver using that. I always use Xrender so almost never see something strange within KDE :)
Comment 15 ign_christian 2013-09-26 02:40:20 UTC
I can confirm no problem with LO 4.0.4.2 (Kubuntu 12.04 32bit) using OpenGL & system fonts anti-aliasing (with any configuration), video Intel i915
Comment 16 Maxim Monastirsky 2013-09-26 19:55:48 UTC
I'm also can't reproduce with LO 4.1.1.2 from PPA under Ubuntu 13.04 (64-bit) with KDE 4.11.1 (from Kubuntu-backports PPA), using oxygen-gtk theme. OpenGL + Anti-aliasing both activated, fonts hinting style set to 'Slight'.
Comment 17 Alfeno Rodrigues 2013-09-27 12:58:02 UTC
(In reply to comment #16)
> I'm also can't reproduce with LO 4.1.1.2 from PPA under Ubuntu 13.04
> (64-bit) with KDE 4.11.1 (from Kubuntu-backports PPA), using oxygen-gtk
> theme. OpenGL + Anti-aliasing both activated, fonts hinting style set to
> 'Slight'.

I bring some news.

I discovered that this bug occur when the uses this environment.

Nvidia's Driver + anti_aliasing Font enable.

My Notebook has two GPU (intel and Nvidia). When switched to intel the bug don´t appear.
Comment 18 ign_christian 2013-09-28 01:24:16 UTC
Hi Alfeno, looks like you had installed LO from LO website. Have you tried using PPA: https://launchpad.net/~libreoffice/+archive/ppa

If you find same behavior, you should report this bug to Ubuntu team in Launchpad & mention your video driver there so they can assist you to debug this problem. 
Should be this link:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+filebug

Then link that newly created bug to this Bugzilla & vice versa.
Comment 19 retired 2013-12-23 13:13:31 UTC
Setting to NEEDINFO as of comment 18. After checking what ign_christian requested please re-set the bug to UNCONFIRMED.
Comment 20 QA Administrators 2014-07-08 17:29:15 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


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


Warm Regards,
QA Team
Comment 21 QA Administrators 2014-08-04 16:15:19 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. 
Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top section of FDO