Bug 143954 - Menu rendering is broken (slow and jagged)
Summary: Menu rendering is broken (slow and jagged)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-19 13:46 UTC by Artem S. Tashkinov
Modified: 2021-10-18 03:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen recording (904.97 KB, video/x-matroska)
2021-08-19 13:46 UTC, Artem S. Tashkinov
Details
Graphics settings (56.63 KB, image/png)
2021-08-19 13:47 UTC, Artem S. Tashkinov
Details
LO expert configuration (Icons in Menu) (19.62 KB, image/png)
2021-08-19 17:09 UTC, Artem S. Tashkinov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem S. Tashkinov 2021-08-19 13:46:14 UTC
Created attachment 174413 [details]
Screen recording

Check the video.

System: Fedora 33
NVIDIA 470.57.02
XFCE4 with no compositing
Comment 1 Artem S. Tashkinov 2021-08-19 13:47:08 UTC
Created attachment 174414 [details]
Graphics settings
Comment 2 Roman Kuznetsov 2021-08-19 14:49:23 UTC
Artem, please install libreoffice-gtk package and try retest your problem
Comment 3 Artem S. Tashkinov 2021-08-19 15:03:10 UTC
(In reply to Roman Kuznetsov from comment #2)
> Artem, please install libreoffice-gtk package and try retest your problem

There's no such package in LibreOffice_7.2.0_Linux_x86-64_rpm.tar.gz
Comment 4 Artem S. Tashkinov 2021-08-19 15:04:23 UTC
I don't use Fedora packages, I use the official LibreOffice RPMs.
Comment 5 Roman Kuznetsov 2021-08-19 15:46:40 UTC
Write here info from your LibreOffice's Help->About dialog
Comment 6 Artem S. Tashkinov 2021-08-19 15:47:31 UTC
(In reply to Roman Kuznetsov from comment #5)
> Write here info from your LibreOffice's Help->About dialog

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 7 Artem S. Tashkinov 2021-08-19 15:49:54 UTC
I have one of the fastest desktop CPUs, Ryzen 7 5800X and GeForce 1660 Ti. The system is otherwise completely idle. No other applications exhibit this issue, everything is snappy.
Comment 8 Roman Kuznetsov 2021-08-19 15:57:52 UTC
(In reply to Artem S. Tashkinov from comment #4)
> I don't use Fedora packages, I use the official LibreOffice RPMs.

Sorry, it should be lodevbasis7.2-gnome-integration-7.2.0.4.x86_64 or something like this
Comment 9 Roman Kuznetsov 2021-08-19 16:17:24 UTC
You shouldn't change status yourself
Comment 10 Artem S. Tashkinov 2021-08-19 16:19:52 UTC
With this package installed (libobasis7.2-gnome-integration-7.2.0.4-4.x86_64.rpm) I no longer see menu icons and everything looks bland.

If that's the "solution", so be it.

The native LO office is miles better.
Comment 11 Roman Kuznetsov 2021-08-19 16:33:18 UTC
(In reply to Artem S. Tashkinov from comment #10)
> With this package installed
> (libobasis7.2-gnome-integration-7.2.0.4-4.x86_64.rpm) I no longer see menu
> icons and everything looks bland.
> 
> If that's the "solution", so be it.

Yes, it is
About menu icons - you should enable it in OS settings and inside LibreOffice

> The native LO office is miles better.

Native?
Comment 12 Artem S. Tashkinov 2021-08-19 17:00:43 UTC
(In reply to Roman Kuznetsov from comment #11)
> (In reply to Artem S. Tashkinov from comment #10)
> > With this package installed
> > (libobasis7.2-gnome-integration-7.2.0.4-4.x86_64.rpm) I no longer see menu
> > icons and everything looks bland.
> > 
> > If that's the "solution", so be it.
> 
> Yes, it is
> About menu icons - you should enable it in OS settings and inside LibreOffice
> 
> > The native LO office is miles better.
> 
> Native?

Native LO menu.

I don't have Gnome installed, I'm running XFCE. I've no idea how to enable menu icons. In XFCE -> Settings -> Appearance -> Settings -> Show Images in Menus is **enabled**.

Mousepad which uses GTK shows menu icons. I don't have any other GTK applications installed.

$ ldd `which mousepad` | grep gtk
	libgtksourceview-3.0.so.1 => /lib64/libgtksourceview-3.0.so.1 (0x00007f6a0224b000)
	libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007f6a01aad000)
Comment 13 Artem S. Tashkinov 2021-08-19 17:04:52 UTC
Following https://wiki.archlinux.org/title/GTK#Button_and_menu_icons I've added 

/home/birdie/.config/gtk-3.0/settings.ini

[Settings]
gtk-button-images=1
gtk-menu-images=1

This has had zero effect.
Comment 14 Artem S. Tashkinov 2021-08-19 17:06:05 UTC
This is _not_ resolved.

_You_ (WORKSFORME) are not all LO users.

I don't get a menu with libobasis7.2-gnome-integration-7.2.0.4-4.x86_64.rpm comparable to the native menu.
Comment 15 Roman Kuznetsov 2021-08-19 17:08:02 UTC
In LibreOffice open Options dialog using Tools->Options menu
Select LibreOffice->Advanced on the left side of the dialog
Click "Open Expert Configuration" button It opens a new dialog
Enter ShowIconsInMenues into search field there and press Enter key
Make sure that Value is TRUE for that entry
Comment 16 Artem S. Tashkinov 2021-08-19 17:09:38 UTC
Created attachment 174424 [details]
LO expert configuration (Icons in Menu)

ShowIconsInMenues=true
IsSystemIconsInMenus=true
Comment 17 Roman Kuznetsov 2021-08-19 17:10:51 UTC
(In reply to Artem S. Tashkinov from comment #14)
> This is _not_ resolved.
> 
> _You_ (WORKSFORME) are not all LO users.
> 
> I don't get a menu with libobasis7.2-gnome-integration-7.2.0.4-4.x86_64.rpm
> comparable to the native menu.

Your problem was about "Menu rendering is broken (slow and jagged)" and we resolved that "problem" therefore I changed the status.

If you still can't see menu icons then please file a new bug report
Comment 18 Artem S. Tashkinov 2021-08-19 17:14:31 UTC
(In reply to Roman Kuznetsov from comment #17)
> (In reply to Artem S. Tashkinov from comment #14)
> > This is _not_ resolved.
> > 
> > _You_ (WORKSFORME) are not all LO users.
> > 
> > I don't get a menu with libobasis7.2-gnome-integration-7.2.0.4-4.x86_64.rpm
> > comparable to the native menu.
> 
> Your problem was about "Menu rendering is broken (slow and jagged)" and we
> resolved that "problem" therefore I changed the status.
> 
> If you still can't see menu icons then please file a new bug report

The original bug report is still relevant. Not everyone needs and wants Gnome integration. Looks like you just don't want this bug in this bugzilla - OK.

Let's make it "WONTFIX" because it's a more appropriate status.
Comment 19 Roman Kuznetsov 2021-09-08 15:22:55 UTC
Artem, you still must not change status for your own report yourself. You still can file a new bug report about icons in main menu.
Comment 20 Artem S. Tashkinov 2021-09-08 15:25:07 UTC
Is the gnome-integration package a prerequisite for running LO under Linux? Nothing on the website indicates so.

Please update documentation if that's the case.
Comment 21 Artem S. Tashkinov 2021-09-08 15:27:06 UTC
I've deleted the package locally because I like the original look and feel of LO's menu.

With gnome-integration its rendering is bland and unappealing.
Comment 22 Buovjaga 2021-09-09 07:49:48 UTC
The "native" (x11 aka gen) UI is more of a fallback, when gtk3/gtk4 or kf5 are not available.

Was the rendering fine for the x11 UI in 7.1.x? An easy way to test is to run appimages https://libreoffice.soluzioniopen.com/

From the command line with

SAL_USE_VCLPLUGIN=gen ./LibreOffice-7.1.5-x86_64.AppImage

If you confirm there is a change between the version, you will be able to bisect the problem:
https://wiki.documentfoundation.org/QA/Bibisect
https://wiki.documentfoundation.org/QA/Bibisect/Linux

I know you have experience with bisecting as we have chatted before in Skype about Linux problems :)
Comment 23 Stéphane Guillou (stragu) 2021-09-09 12:19:46 UTC
Artem, for the menu icons, you might have to change the second one to "false":

ShowIconsInMenues=true
IsSystemIconsInMenus=false

That solved my issue, and I got the tip from here: https://ask.libreoffice.org/t/why-did-the-icons-disappear-in-the-menus-of-version-6-4/50875/4
Comment 24 Artem S. Tashkinov 2021-10-17 13:59:34 UTC
(In reply to stragu from comment #23)
> Artem, for the menu icons, you might have to change the second one to
> "false":
> 
> ShowIconsInMenues=true
> IsSystemIconsInMenus=false
> 
> That solved my issue, and I got the tip from here:
> https://ask.libreoffice.org/t/why-did-the-icons-disappear-in-the-menus-of-
> version-6-4/50875/4

Changing IsSystemIconsInMenus to false in `Options -> LibreOffice -> Advanced -> Open Expert Configuration` has indeed made icons in menus appear but I'd still be glad to have a decent experience without having to install libobasis7.2-gnome-integration-7.2.2.2-2.x86_64.rpm

I will test LO 7.1 later.
Comment 25 QA Administrators 2021-10-18 03:49:58 UTC Comment hidden (obsolete)