bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
2.18k stars 292 forks source link

[Regression] Printer / Filament / Process dropdown menus do not display #4201

Open jmickelin opened 5 months ago

jmickelin commented 5 months ago

Bambu Studio Version

1.9.1.66

Where is the application from?

Bambu Lab github releases

OS version

OS: Fedora 38

Additional system information

Window manager: i3 4.22

Printer

Any printer

How to reproduce

Using Bambu_Studio_linux_fedora-v01.09.01.66.AppImage.

Example:

  1. Go to the "Prepare" tab
  2. Click the "Plate type" dropdown list

But it happens with any dropdown lists in the entire program. Including the ones in dialog windows and the ones for "Slice plate" and "Print plate" in the top bar.

It does not happen with the "menu bar" dropdowns (the hamburger "File" menu and the ∨-button immediately to the right of it).

In very rare cases I have managed to get certain dropdown list to open properly, namely the infill and pattern dropdowns under the "Strength" tab. There does not seem to be any consistent setup to trigger it (just clicking around a bunch in the program, opening and closing some of the preference dialogs, moving the window to different workspaces on my desktop). Once it starts working, these dropdown lists (and only those!) seem to work until I restart the program. I have not managed to trigger this intermittently working behavior with any other dropdown list.

Actual results

Dropdown list briefly flashes on screen for a fraction of a second, then disappears.

Expected results

Dropdown list should stay open and allow you to select an option.

Project file & Debug log uploads

debug_Mon_Jun_03_14_24_06_34357.log.0.txt

Checklist of files to include

jmickelin commented 5 months ago

This was originally reported downstream in OrcaSlicer: https://github.com/SoftFever/OrcaSlicer/issues/2101

Other users with different combinations of distro versions and desktop environments report the same issue.

The issue was not present in BambuStudio 1.4.5, as per the findings I reported in this comment, hence I have marked this as a regression in the title of this bug report: https://github.com/SoftFever/OrcaSlicer/issues/2101#issuecomment-2041036989

DanBao-Bambu commented 5 months ago

I am very sorry for the inconvenience caused to you, and the issue has been recorded.

DrCaveDev commented 3 weeks ago

Confirmed the issue lies in the change from wxPopupTransientWindow to PopupWindow (as suggested in the OrcaSlicer issue comment from @jmickelin). Swapping back locally fixes the drop downs for me. I will dig a little deeper to see if I can find a fix outside of reverting.