Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build has Dashboard and Reports empty #6396

Open
whalley opened this issue Dec 28, 2023 · 32 comments
Open

Linux build has Dashboard and Reports empty #6396

whalley opened this issue Dec 28, 2023 · 32 comments
Labels
linux related to Linux platforms

Comments

@whalley
Copy link
Member

whalley commented Dec 28, 2023

When launched the control panel is blank.

By the way, the data is there, but for some reason the control panel does not display it.
What's more, the reports monthly view, summary view, stock report, income expenditure monthly view, etc... are all empty like the dashboard.

image

image

Originally posted by @Heny67 in #6392 (comment)

@whalley
Copy link
Member Author

whalley commented Dec 28, 2023

#6214

@whalley whalley added the linux related to Linux platforms label Dec 28, 2023
@h-vijayakumaran
Copy link

I have the same issue with the flatpak installation

@Heny67
Copy link

Heny67 commented Dec 31, 2023

I would like to know if a deb package was made for 1.7.0 and installed like that, would this problem still occur?

@ovari
Copy link
Contributor

ovari commented Jan 15, 2024

I have the same issue with the flatpak installation

If you install the development version, does the Dashboard show correctly?

@h-vijayakumaran
Copy link

I have the same issue with the flatpak installation

If you install the development version, does the Dashboard show correctly?

No, still the same problem. I am using Ubuntu 22.04 if that helps

@whalley
Copy link
Member Author

whalley commented Jan 15, 2024

May be related..... Oddly, maybe once a month I have had this on my Mac, rebooting fixed it. I'll do a bit more digging if it happens again.

@Heny67
Copy link

Heny67 commented Jan 15, 2024

I am now running ubuntu 24.04 (development branch) and it has the same problem.
I installed the development version, but nothing changes.

@n-stein
Copy link
Contributor

n-stein commented Jan 17, 2024

I would like to know if a deb package was made for 1.7.0 and installed like that, would this problem still occur?

Here is a v1.7.0 Release deb package built on Debian 12 if you want to try:
mmex_1.7.0-Debian.12.bookworm_amd64.tar.gz

@Heny67
Copy link

Heny67 commented Jan 17, 2024

image

@h-vijayakumaran
Copy link

Getting the following error during installation

 mmex : Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
        Depends: libtiff6 (>= 4.0.3) but it is not installable

@n-stein
Copy link
Contributor

n-stein commented Jan 17, 2024

Maybe an Ubuntu Jammy build will help?
mmex_1.7.0-Ubuntu.22.04.jammy_amd64.tar.gz

@Heny67
Copy link

Heny67 commented Jan 17, 2024

dpkg: unable to set this package due to dependency problems: mmex:
mmex dependencies: libtiff5 (>= 4.0.3); but:
Package `libtiff5' is not installed

I installed libtiff5-dev.

@n-stein
Copy link
Contributor

n-stein commented Jan 17, 2024

Try sudo apt install libtiff5

@h-vijayakumaran
Copy link

Maybe an Ubuntu Jammy build will help? mmex_1.7.0-Ubuntu.22.04.jammy_amd64.tar.gz

Yes, this works. Thank you!

@Heny67
Copy link

Heny67 commented Jan 18, 2024

"Libtiff5" package no installation version.
#6396 (comment)

@n-stein
Copy link
Contributor

n-stein commented Jan 18, 2024

@Heny67 what distro are you running?

@Heny67
Copy link

Heny67 commented Jan 18, 2024

Distributor ID: Ubuntu
Description: Ubuntu Noble Numbat (development branch)
Release: 24.04
Codename: noble

@n-stein
Copy link
Contributor

n-stein commented Jan 19, 2024

Distributor ID: Ubuntu Description: Ubuntu Noble Numbat (development branch) Release: 24.04 Codename: noble

mmex_1.7.0-Ubuntu.24.04.noble_amd64.tar.gz

@Heny67
Copy link

Heny67 commented Jan 20, 2024

@n-stein
Thanks for the deb package, it works. Although the Dashboard and Reports empty error still exists.

@nasko
Copy link

nasko commented Jan 23, 2024

I'm experiencing this issue in Money Manager Ex installed from an AUR package in Arch Linux:

  • Money Manager Ex package: aur/moneymanagerex 1.7.0-2
  • KDE Plasma version: 5.27.10
  • QT version: 5.15.12
  • Kernel version: 6.7.0-arch3-1 (64-bit)
  • Graphics Platform: X11
  • webkit2gtk 2.42.4-2
  • Graphics adapter: Nvidia GeForce GT 730
  • Output of lspci -k | grep -A 2 -E "(VGA|3D)":
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] GK208B [GeForce GT 730]
        Kernel driver in use: nvidia

The same blank gray area is also visible when I navigate to Help -> Check for updates. The contents is visible if I start dragging with the mouse from the bottom-right corner of the gray area to the top-left corner, but as soon as I release the mouse button, the contents is hidden once again.

The same trick works for other dialogs where this is manifested: Dashboard, reports, etc.

check-for-updates-blank
check-for-updates-mouse-dragging

@vomikan
Copy link
Member

vomikan commented Jan 23, 2024

@nasko could you provide video card name and driver?

@nasko
Copy link

nasko commented Jan 23, 2024

@vomikan I've updated my original comment to include the Graphics adapter info. It's Nvidia GeForce GT 730

I've reviewed the other issue, also linked to in this thread - #6214 - where @moritzhoewer confirms that downgrading webkit2gtk to 2.40.5 resolved the issue for him.

So, I downgraded webkit2gtk too - once to 2.40.5-2 and then again to 2.40.5-1. The thing is - with these versions MMEX wouldn't even start:

$ mmex
mmex: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory

On my laptop, where I'm using KDE Plasma with Wayland and Lenovo Rembrandt [Radeon 680M] the issue is not manifested.

@PMaff
Copy link
Contributor

PMaff commented Jan 27, 2024

Dashboard is there and the update dialog is also ok:

Dashboard_Jammy

UpdateDiaJammy

webkit2gtk (2.42.4-0ubuntu0.22.04.1) jammy-security; urgency=medium

  * Update to 2.42.4 to fix security issues.
    - CVE-2023-42883

Tried also the colorful theme : same, both work.

Compiled on a virtual machine:

Money Manager Ex
• Version: 1.7.0 64-bit
• Built on: Jan 17 2024 01:16:30
• Database version: 19 (aes128cbc)
• Git commit: b38049357 (2023-12-26)
MMEX is using the following support products:
• wxWidgets 3.2.0 RC1 (wxGTK 3.24)
• wxSQLite3 4.9.1 (SQLite 3.40.0)
• RapidJSON 1.1.0
• Lua 5.3.6
• libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
• gettext 0.21
• apexcharts.js
Built with:
• CMake 3.22.1
• GNU Make 4.3
• GCC 11.4.0
Running on:
• Ubuntu.22.04.jammy
• Ubuntu 22.04.3 LTS "jammy"
• Linux 5.15.0-92-generic x86_64
• XFCE (X11)
• System Locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=de_AT.UTF-8;LC_TIME=de_AT.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=de_AT.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=de_AT.UTF-8;LC_NAME=de_AT.UTF-8;LC_ADDRESS=de_AT.UTF-8;LC_TELEPHONE=de_AT.UTF-8;LC_MEASUREMENT=de_AT.UTF-8;LC_IDENTIFICATION=de_AT.UTF-8
• User Interface Language: en_US.UTF-8
• 0x0 0-bit 96x96ppi

Maybe you find some differences to my above setting beside wxWidget.
I doubt, that XFCE will change anything, but you never know.

I tried with wxWidgets 3.2.4 (wxGTK 3.24) and this also works.

Edit: I was looking around and found:
reflex-frp/reflex-platform#735
Can anyone who has this bug try
export WEBKIT_DISABLE_COMPOSITING_MODE=1
?

@RubberDuck170
Copy link

RubberDuck170 commented Jan 28, 2024

@PMaff I have this same issue and tried export WEBKIT_DISABLE_COMPOSITING_MODE=1 with no success.
Found if I remove Fractional Scaling in my Display Settings, this resolves the issue.

Edit:
Running the command flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 org.moneymanagerex.MMEX recommend by @mfep below did the trick.

Money Manger Ex Version: 1.7.0 64-bit (Flatpack)
OS: Ubuntu 22.04.3 LTS
GPU: Nvidia GeForce GTX 960

@nasko
Copy link

nasko commented Jan 30, 2024

Looks like Nvidia graphics adapter is the common factor for having this issue manifested. Is there anyone experiencing this defect, who doesn't use an Nvidia graphics adapter?

@mfep
Copy link

mfep commented Jan 30, 2024

@PMaff I can confirm that by setting WEBKIT_DISABLE_COMPOSITING_MODE=1, the problem no longer occurs.

OS: Fedora Workstation 39 x86_64
GPU: Nvidia GeForce 3060Ti
Windowing system: X11

@RubberDuck170 are you running the Flatpak? be aware, that environment variables from the host system are not passed to the Flatpak shell. To do that, use flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 org.moneymanagerex.MMEX, or Flatseal can also be used to set up the shell environment

@nasko
Copy link

nasko commented Jan 30, 2024

@PMaff I can also confirm that with WEBKIT_DISABLE_COMPOSITING_MODE=1 the issue is not manifested.
Toggling this environment variable is the only factor determining whether I'd experience the defect or not.

  • Money Manager Ex package: aur/moneymanagerex 1.7.0-2
  • OS: Arch Linux
  • KDE Plasma version: 5.27.10
  • Kernel version: 6.7.0-arch3-1 (64-bit)
  • Graphics Platform: X11
  • webkit2gtk 2.42.4-2
  • Graphics adapter: Nvidia GeForce GT 730

@PMaff
Copy link
Contributor

PMaff commented Feb 2, 2024

Webkit2 GTK on Linux with NVidia graphics cards and hardware acceleration together seems to be the thing.
Also the Fractional Scaling from @RubberDuck170 worries me a bit. :-)
reflex-frp/reflex-platform#735 (comment)

@gnu010
Copy link

gnu010 commented Feb 11, 2024

WEBKIT_DISABLE_COMPOSITING_MODE=1 also does the trick here.

$ inxi -SGx
System:
  Host: XXX Kernel: 5.15.0-94-generic x86_64 bits: 64 compiler: gcc
    v: 11.4.0 Desktop: Cinnamon 6.0.4 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: Dell driver: nvidia
    v: 470.223.02 bus-ID: 01:00.0
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
    resolution: 1920x1080~60Hz
  OpenGL: renderer: NVIDIA GeForce GT 730/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.223.02 direct render: Yes
$
$ dpkg -l | grep -E "webkit2gtk|mmex"
ii  libwebkit2gtk-4.0-37:amd64                    2.42.4-0ubuntu0.22.04.1                           amd64        Web content engine library for GTK
ii  libwebkit2gtk-4.1-0:amd64                     2.42.4-0ubuntu0.22.04.1                           amd64        Web content engine library for GTK
ii  mmex                                          1.6.3-Ubuntu.22.04.jammy                          amd64        Simple to use financial management software

@PMaff
Copy link
Contributor

PMaff commented Feb 12, 2024

What about this:

1108 void webkitWebViewBaseUpdatePreferences(WebKitWebViewBase* webkitWebViewBase)
1109 {
1110     WebKitWebViewBasePrivate* priv = webkitWebViewBase->priv;
1111 
1112 #if USE(TEXTURE_MAPPER_GL) && PLATFORM(X11)
1113     bool acceleratedCompositingEnabled = priv->redirectedWindow ? true : false;
1114 #else
1115     bool acceleratedCompositingEnabled = false;
1116 #endif
1117 
---->1118     priv->pageProxy->preferences().setAcceleratedCompositingEnabled(acceleratedCompositingEnabled);
1119 } 

https://bugs.webkit.org/attachment.cgi?id=244683&action=review

https://bugs.webkit.org/show_bug.cgi?id=140494

But I do not know, where in mmex code this could be used.

@RubberDuck170
Copy link

@mfep Thank you for the guidance! It was running as a Flatpack and your command fixed the issue.

@Heny67
Copy link

Heny67 commented Apr 29, 2024

Hi All!
After installing mmex 1.8.0 from fluthub, the error still exists. #6396 (comment)
However, I compiled a deb file myself, and it works.
mmex_1.8.0-Ubuntu.24.04.noble_amd64.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux related to Linux platforms
Projects
None yet
Development

No branches or pull requests