Bug 45835 - VIEWING: Disappearing toolbars
Summary: VIEWING: Disappearing toolbars
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
3.4.5 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 05:35 UTC by Alex
Modified: 2012-06-06 03:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of LibO showing missing toolbar icons. (116.19 KB, image/png)
2012-02-09 05:35 UTC, Alex
Details
LibO after minimising and restoring window. (113.99 KB, image/png)
2012-02-09 05:52 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2012-02-09 05:35:31 UTC
Created attachment 56818 [details]
Screenshot of LibO showing missing toolbar icons.

Problem description: When any of LibO modules are opened, at the first movement of the mouse over any of the toolbars (including the menu bar) everything disappears. The icons vanish, and the menu entries also vanish, with the sole exception of the icon or menu entry beneath the cursor. On occasion, the toolbars are blank at start-up

Steps to reproduce:
1. .... Start LibO
2. .... Move cursor to any icon or menu header

Current behaviour: All icons and menu entries other than the one beneath the cursor vanish. See attached screenshot.

Expected behavior: All icons and menu entries should remain visible

Platform (if different from the browser): Mandriva 2010.2, X86_64, KDE 4, all current updates installed. Sun Java 6u30
              
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
Comment 1 Alex 2012-02-09 05:52:30 UTC
Created attachment 56819 [details]
LibO after minimising and restoring window.

When LibO window is minimised and restored, or if I switch to a different desktop and back, the icons and menus re-appear, but vanish again as soon as the cursor is moved over any icon or menu header.
Comment 2 sasha.libreoffice 2012-05-16 03:18:11 UTC
Thanks for bugreport
Please, verify if in last version of LibreOffice still reproducible
Comment 3 Alex 2012-05-20 05:29:14 UTC
The problem has been identified. LibO still behaves the same way, however the cause of the behaviour has now been isolated to the use of the gtk-qt engine.

As is probably the case with most KDE users, I prefer the look and feel of the QT widgets, so to try and ensure that I could have a consistent look and feel in most of my installed applications, I installed the gtk-qt-engine version 1.1-5.r5.1mdv2010.1 from the Mandriva repository. When I removed the package, everything worked as expected. Problem isolated!

As I understand it, this engine is supposed to translate calls to GTK into calls to the equivalent QT call. Obviously, this has not been happening.

It would seem then, that the code relating to the painting of toolbars specifically might need some attention to improve compatibility. On a personal note, I would far prefer the use of QT to GTK. Normally, GTK looks ugly, although it has improved somewhat.

To reproduce it, it would be necessary to ad one additional step: Install the gtk-qt-engine package. It might also be necessary to have KDE in use rather than Gnome or other alternative desktops. However, if you were to have that engine installed, and were working in KDE, I would expect the bug to be easily reproducible.

From the above, the bug could probably be included in the KDE integration part.
Comment 4 sasha.libreoffice 2012-05-21 02:18:30 UTC
Thanks for additional testing and information. Alas, on Fedora I can not find gtk-qt engine and can not reproduce this bug.
Comment 5 Alex 2012-05-21 05:33:48 UTC
I suspect it may have been deprecated, as the version in Mandriva's repo is several releases old (from the 2010.1 release, which would have been Spring 2010, almost 2 years ago). It is also from the Contrib groups, meaning that it is not an official part of the distro, probably originally backported by an individual.

With all that info, unless you can find it, I would seriously consider closing this bug. It seems that, with a standard KDE installation, there is no problem.
Comment 6 Thomas Arnhold 2012-06-06 03:07:20 UTC
Mark as closed, as Alex said.