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

File Save Dialog on Ubuntu 22.04 #12438

Closed
2 tasks
bieber opened this issue Jun 4, 2022 · 4 comments
Closed
2 tasks

File Save Dialog on Ubuntu 22.04 #12438

bieber opened this issue Jun 4, 2022 · 4 comments
Labels
Status: Duplicate Duplicate of another issue. Type: Bug The code does not produce the intended behavior.

Comments

@bieber
Copy link

bieber commented Jun 4, 2022

Application Version

5.0.0

Platform

Ubuntu 22.04

Printer

Voron

Reproduction steps

Running the latest 5.0.0 AppImage on Ubuntu (with the LD_PRELOAD fix from issue #12359) and I've noticed that the save file dialog after slicing is behaving oddly. To reproduce, just slice a model and hit the "Save to Disk" button

Actual results

First, instead of the file selector dialog popping up and taking focus, I just get a system notification that it's ready.

Screenshot from 2022-06-03 20-21-49

Clicking the notification takes me to the file dialog, which is now missing the prefilled suggested file name

Screenshot from 2022-06-03 20-21-06

Expected results

The file select dialog should pop up and take focus on its own, and it should prepopulate with a suggested file name

Checklist of files to include

  • Log file
  • Project file

Additional information & file uploads

Nothing pops up in the terminal when opening the save dialog, but here's my command line in case there's anything helpful there

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /home/bieber/bin/Ultimaker-Cura-5.0.0-linux.AppImage
PyInstaller/loader/pyimod03_importers.py:495: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
Cyclic dependency detected between "file:///tmp/.mount_UltimaTNDJry/share/cura/resources/qml/Actions.qml" and "file:///tmp/.mount_UltimaTNDJry/share/cura/resources/qml/Actions.qml"
@bieber bieber added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Jun 4, 2022
@bieber
Copy link
Author

bieber commented Jun 4, 2022

I've also just realized that if I overwrite an existing file, I have to confirm it twice--one confirmation from the system file select dialog, and then a second confirmation dialog from Cura

@AonoZan
Copy link

AonoZan commented Jun 9, 2022

I dont even get notification, pressing button does nothing. I'm on Xubuntu so I probably don't have that type of notification popup, I have notification in top-bar but that gives nothing. Previous version of Cura 4.12 had every filedialog working, you could open files and save them no issue.

@CaptainMalu
Copy link

It's the same on Fedora 36.
Gnome 42.1 Wayland
Kernel: 5.17.12-300.fc36.x86_64

The save dialog pops up in the background, the system is sending a notification and there is no predefined filename.
It is the same for the "Save Project..." dialog.

cura.log

I started cura from command line for stdout:

[morland@morland-lenovo ~]$ LD_PRELOAD=/usr/lib64/libstdc++.so.6 ./Downloads/Ultimaker-Cura-5.0.0-linux.AppImage 
PyInstaller/loader/pyimod03_importers.py:495: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Cyclic dependency detected between "file:///tmp/.mount_UltimaBE5Ylc/share/cura/resources/qml/Actions.qml" and "file:///tmp/.mount_UltimaBE5Ylc/share/cura/resources/qml/Actions.qml"
QQmlEngine::setContextForObject(): Object already has a QQmlContext

@nallath
Copy link
Member

nallath commented Jun 10, 2022

Duplicate of #12266

@nallath nallath marked this as a duplicate of #12266 Jun 10, 2022
@nallath nallath closed this as completed Jun 10, 2022
@nallath nallath added Status: Duplicate Duplicate of another issue. and removed Status: Triage This ticket requires input from someone of the Cura team labels Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Duplicate Duplicate of another issue. Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

4 participants