monero-gui icon indicating copy to clipboard operation
monero-gui copied to clipboard

Drop-down menus not opening on Manjaro (KDE)

Open SandaruKasa opened this issue 2 years ago • 21 comments

I'm running Manjaro Linux x86_64 with Plasma 5.24.5 and kwin-bismuth tiling extension 3.1.1 (though, I don't think Bismuth is relevant here, because the issue persists even when I turn the tiling off).

I've installed monero-gui 0.17.3.2-1 via pacman and the dropdown menus in it don't seem to be working. When I click on one, nothing happens. Such menus include, for example, the network selection (mainnet/stagenet/testnet) during wallet setup or transaction priority in the "Send" tab of the app.

SandaruKasa avatar Jun 04 '22 11:06 SandaruKasa

Tried building from source instead, same issue.

SandaruKasa avatar Jun 04 '22 11:06 SandaruKasa

Can you try the getmonero.org binary for testing purposes?

selsta avatar Jun 04 '22 13:06 selsta

Okay, tried it, it works properly

SandaruKasa avatar Jun 04 '22 14:06 SandaruKasa

Similar report: https://github.com/monero-project/monero-gui/issues/3152

selsta avatar Jun 04 '22 14:06 selsta

I get this issue when compiling from source, but when compiling statically with docker it works fine.

devhyper avatar Jun 08 '22 01:06 devhyper

I always assumed it's related to how arch package manager compiles Qt.

selsta avatar Jun 08 '22 07:06 selsta

I'm on Fedora, so it might be related to their packaging too.

devhyper avatar Jun 08 '22 21:06 devhyper

@devhyper do you use KDE on fedora?

selsta avatar Jun 10 '22 18:06 selsta

@devhyper do you use KDE on fedora?

Yes.

devhyper avatar Jun 10 '22 21:06 devhyper

Another data point -

Kubuntu 22.04 LTS x86_64 
DE: Plasma 5.24.4 
WM: KWin 
Theme: Breeze Light [Plasma], Breeze [GTK2/3]
Install Method: Flatpak

Dropdowns don't work and a lot of text fields are just white - including my address and my mnemonic when I created the wallet.

image


The Flatpak install works perfectly fine on the below system:

Xubuntu 21.10 x86_64 
DE: Xfce 
WM: Xfwm4 
Chicago95 [GTK2], Greybird [GTK3]
Install Method: Flatpak

I can also provide a Monero contributor remote access to this machine via AnyDesk - PM me on Reddit (/u/OsrsNeedsF2P) or via Email ([email protected]) with confirmation here

dginovker avatar Jun 13 '22 06:06 dginovker

I can confirm. The problem occurs in the flatpak version and from the repository in archlinux. (but the official binary works fine)

BigmenPixel0 avatar Jun 13 '22 14:06 BigmenPixel0

Can confirm this is still an issue.

RootInit avatar Sep 10 '22 06:09 RootInit

tested now on Manjaro with KDE and it still doesn't work Edit: it works when i run monero-gui with sudo

damianchoc avatar Sep 10 '22 14:09 damianchoc

I get the same issue with Arch with KDE.

Jaspix avatar Sep 27 '22 00:09 Jaspix

Can confirm this issue with EndeavourOS KDE. Only works with sudo

SamuelAleks avatar Oct 01 '22 15:10 SamuelAleks

Can someone compile monero-gui with Qt installed using https://github.com/engnr/qt-downloader instead of from package manager?

selsta avatar Oct 01 '22 16:10 selsta

Can someone compile monero-gui with Qt installed using https://github.com/engnr/qt-downloader instead of from package manager?

I'd love to try, but as an effort to help Ukrainian civilians (I guess), qt.io doesn't allow downloading anything from a Russian IP address.

I've tried using VPN, but that qt-downloader thing gave me an error anyways. Although this time it looks like a qt-downloader bug and not a byproduct of war:

$ ./qt-downloader/qt-downloader linux desktop 5.15.6
OS type: linux
Target: desktop
Qt version: 5.15.6
Discovering available toolchains...b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL was not found on this server.</p>\n</body></html>\n'
 Done
  Choose from: 

SandaruKasa avatar Oct 04 '22 10:10 SandaruKasa

@SandaruKasa try 5.15.2, Qt does not offer prebuilt binaries for newer 5.15 versions.

selsta avatar Oct 04 '22 10:10 selsta

@SandaruKasa try 5.15.2, Qt does not offer prebuilt binaries for newer 5.15 versions.

It works. I have to LD_LIBRARY_PATH=~/qt/5.15.2/gcc_64/lib/ ./monero-wallet-gui, but drop-down menus work just fine.

SandaruKasa avatar Oct 04 '22 11:10 SandaruKasa

As I suspected here: https://github.com/monero-project/monero-gui/issues/3938#issuecomment-1149561913

Don't really know how to continue here, since it seems to be an issue with how Qt gets compiled when installing from package manger. Not sure if they add custom patches on top.

selsta avatar Oct 04 '22 17:10 selsta

Well, since the static binary seems to work without any problems, I've added it to AUR: https://aur.archlinux.org/packages/monero-gui-static-bin

Hope it'll help Arch/Manjaro/etc. users out there.

SandaruKasa avatar Oct 08 '22 10:10 SandaruKasa

Bumping this issue. I would rather not use the AUR workaround

RootInit avatar Nov 08 '22 03:11 RootInit

The following line is logged for me 71 times if I run monero-wallet-gui from the command line:

2022-11-25 14:39:49.174 W Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.

This doesn't happen with the downloaded qt version (I used the same method described in https://github.com/monero-project/monero-gui/issues/3938#issuecomment-1266765352). I'm using Arch Linux, but maybe this also happens on other distros where the dropdowns don't work.

jkhsjdhjs avatar Nov 25 '22 15:11 jkhsjdhjs

I found a workaround, to disable KDE's theming of monero-gui:

  1. Install qt5ct
  2. run monero-gui-wallet with QT_QPA_PLATFORMTHEME=qt5ct

devhyper avatar Nov 25 '22 22:11 devhyper

Works perfectly, thank you so much for this! The recursive rearrange warnings are still shown on startup, so it's possible they aren't related to this issue.

jkhsjdhjs avatar Nov 25 '22 23:11 jkhsjdhjs

But... what if we don't want to change system theme. Running it with that as an argument did nothing.

RootInit avatar Nov 26 '22 00:11 RootInit

It's a QML application. We don't support any themes and I have no idea what exactly these KDE themes are supposed to change.

selsta avatar Nov 26 '22 00:11 selsta

@RootInit did you do

QT_QPA_PLATFORMTHEME=qt5ct monero-wallet-gui

It seems to have worked for the other user.

selsta avatar Nov 26 '22 00:11 selsta

@selsta No I did monero-wallet-gui QT_QPA_PLATFORMTHEME=qt5ct

Did work the proper way. I guess I will use that workaround.

RootInit avatar Nov 26 '22 00:11 RootInit

Dropdowns don't work and a lot of text fields are just white - including my address and my mnemonic when I created the wallet.

I've solved issue with white textboxes, by swithcing wallet to white theme.

But no luck with dropdowns.

Mart-Bogdan avatar Nov 26 '22 20:11 Mart-Bogdan