flathub / com.bambulab.BambuStudio

https://flathub.org/apps/details/com.bambulab.BambuStudio
14 stars 3 forks source link

Blurry overlays and toasts since 1.8.4 #5

Closed jgraichen closed 8 months ago

jgraichen commented 8 months ago

Since the 1.8.4 update, toast messages and overlay dialogs, such as slicing details, are heavily blurred. This does not happen with the 1.8.4 AppImage.

See the marked areas in the enlarged screenshots:

Flatpak 1.8.4:

Screenshot from 2024-01-19 20-17-18

AppImage 1.8.4:

Screenshot from 2024-01-19 20-12-51

Environment:

> flatpak info com.bambulab.BambuStudio

Bambu Studio - Get perfect 3D prints!

          ID: com.bambulab.BambuStudio
         Ref: app/com.bambulab.BambuStudio/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.8.4
     License: AGPL-3.0-only
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 663,0 MB
     Runtime: org.gnome.Platform/x86_64/45
         Sdk: org.gnome.Sdk/x86_64/45

      Commit: ec41415fb289fb142f1fe43348efe70627302b783a12f509939f8cae924b7009
      Parent: a7b36fe48a7e4108850fe6f56c5495a4dea9a01a4cf4b40808f65b7bd344a111
     Subject: Remove unused wxWidgets build option (44e3b653)
        Date: 2024-01-18 21:34:19 +0000
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:    22.04
Codename:   jammy
hadess commented 8 months ago

https://github.com/bambulab/BambuStudio/issues/3416 is the upstream issue.

In both screenshots the problem is with the (heavily customised) ImGUI portion of the UI, not with the wxWidgets or GLFW parts of it. I can only reproduce the problem after updating GLFW (https://github.com/flathub/com.bambulab.BambuStudio/pull/4). I believe the ImGUI bits are rendered with GLFW, so maybe there was a change in the BambuStudio code, or in GLFW.

jgraichen commented 8 months ago

Thank you for looking. I had no graphic issue with the current AppImage on Ubuntu 22.04 LTS. That's why I reported it here. Is this because the AppImage uses a different (older) version of GLFW?

Shall I move over to the linked issue?

Note: I am not using fractional scaling.

hadess commented 8 months ago

There's a test build for the fix in https://github.com/flathub/com.bambulab.BambuStudio/pull/11

jgraichen commented 8 months ago

Thank you!

I've installed the test branch flatpakref mentioned there, and the overlays look good:

image

> flatpak info com.bambulab.BambuStudio

Bambu Studio - Get perfect 3D prints!

          ID: com.bambulab.BambuStudio
         Ref: app/com.bambulab.BambuStudio/x86_64/test
        Arch: x86_64
      Branch: test
     Version: 1.8.4
     License: AGPL-3.0-only
      Origin: bambustudio-origin
  Collection: org.flathub.Test.Build77846
Installation: user
   Installed: 663,0 MB
     Runtime: org.gnome.Platform/x86_64/45
         Sdk: org.gnome.Sdk/x86_64/45

      Commit: aced4b23d3ba54ef541cd41e820515eac62d77c32a9a08fd59931c48c65b0670
     Subject: attempt to fix blurry fonts (cf10656d)
        Date: 2024-01-22 22:11:38 +0000