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

[4.7] Open Project window self clearing without selection. #8286

Closed
cbfasi opened this issue Aug 31, 2020 · 12 comments
Closed

[4.7] Open Project window self clearing without selection. #8286

cbfasi opened this issue Aug 31, 2020 · 12 comments
Labels
Type: Bug The code does not produce the intended behavior.

Comments

@cbfasi
Copy link

cbfasi commented Aug 31, 2020

Application version
4.7

Platform
Windows 7

Printer
Ender 3 Pro

Reproduction steps

  1. Double clicked on multiple project files (.3mf's)(Something you did.)
    2a. Cura opened, window with selection to open as project or model cleared by itself within seconds and not loading project in any form.
    2b. Cura opened in background, selected tab with Open as Project option and it self cleared without selecting and option and not loading project in any form

Screenshot(s)
Non available since it cleared!

Actual results
File is not loaded, this used to work ok before 4.7

Expected results
The Open project window should not of cleared and I should of been able to choose which load method I wanted (I don't always choose the same)

Project file
n/a

Log file
(See https://github.com/Ultimaker/Cura#logging-issues to find the log file to upload, or copy a relevant snippet from it.)

Additional information
Have re-installed ensuring Cura set to load .3mf files, made no differance.
Only current way to load project is from within Cura, not from explorer etc. (Open Project window works as it should when done this way and does not clear until selection made)

@cbfasi cbfasi changed the title Open Project window self clearing without selection. [4.7] Open Project window self clearing without selection. Aug 31, 2020
@nallath
Copy link
Member

nallath commented Sep 1, 2020

Please provide a log file and check if you didn't accidentally have the setting changed in preferences on what to do with projects.

@nallath nallath added Status: Needs Info Needs more information before action can be taken. Type: Bug The code does not produce the intended behavior. labels Sep 1, 2020
@cbfasi
Copy link
Author

cbfasi commented Sep 1, 2020

Preferences checked, all ok.
The fact that I can still select the choices when opening a project from within Cura also proves settings are correct, the problem is how Cura reacts when a file is selected for opening outside of Cura.

Replicated problem a number of times this morning too, have attached
log from the time I ran the tests (not attached full log from last night)

Problem cura.log
image

@no-response no-response bot removed the Status: Needs Info Needs more information before action can be taken. label Sep 1, 2020
nallath added a commit that referenced this issue Sep 1, 2020
@Ghostkeeper
Copy link
Collaborator

Could you share one of the 3MF files you're trying to open? From the log it looks like you're opening a plain 3MF file, not a Cura project file. Maybe the file was created using Cura's File -> Export..., or created in a different application than Cura.

@cbfasi
Copy link
Author

cbfasi commented Sep 2, 2020

File created using File -> Save Project... in Cura.
All my 3mf's are, I have no other way of making them, and tbh I only use them save Cura Project files (better than saving just g-codes, can go back and change settings if project!)
Northampton 1-3000.zip
3mf in zip as Github wont accept 3mf files by themselves.

@cbfasi
Copy link
Author

cbfasi commented Sep 2, 2020

If you open from the above from within Cura all works fine....
BUT when double clicking the file from outside Cura, Cura starts up, briefly shows the Open as Project or Model window then self closes it without any selection being made.
This is significantly slowing the use of multiple project files as I have to be in Cura to open it, and not from outside Cura (even though its clear Cura knows what to do, just self clears )

@Ghostkeeper
Copy link
Collaborator

Hmm I do get the pop-up (and it stays) even when I open the 3MF file with Cura.
image

Maybe that's something happening in Windows only? Is some developer on Windows able to reproduce this issue?

@cbfasi
Copy link
Author

cbfasi commented Sep 2, 2020

I dont even see that screen if opened from outside of Cura

@cbfasi
Copy link
Author

cbfasi commented Sep 2, 2020

Just renamed the log file to create a new one for when I double click on the above project file, now saved off log file before carrying out any action within cura. attached below, this will of removed any 'extra' log information
Northampton-Cura.log

@Ghostkeeper
Copy link
Collaborator

The log doesn't really show anything there, it's as if the file was never loaded.

We haven't been able to reproduce this, so far. When the preference is set to "Import models" then yes, but you showed that was not what the preference is set to :( I don't know how we can debug this at the moment.

@cbfasi
Copy link
Author

cbfasi commented Sep 3, 2020

Just went back to 4.6.1 and it works as it should. Although you cannot reproduce the problem I have, something that changed with how the project files are loaded from outside Cura has and is likely the issue even if not obvious - see below for more info.

4.6.1
Watching the windows open up 'Open project file' window then 'Open project file' window. (and sits on later awaiting choice)
4.7
'Open project file' window then within a second the 'Open project file' window which clears the former !

Hope this helps, it seems its the sequence, maybe the Main window has to be open first, just thinking outside the box here.
Its almost like its already recognized the opening a file externally before it starts the software proper, then the software proper takes over and overides the external action of the attempted opening, this is related to the project files, stl's opened externally are fine

@rburema
Copy link
Member

rburema commented Sep 8, 2020

Can't reproduce this either, the file you provided opens just fine on Win64 in 4.7 for me.

All I can say is that I wonder if it is in some way related with either #8147 or #6919

That said, sadly, we'll have to be able to reproduce the issue (or, failing that, some log message showing up) if we have any hope of an attempt at a fix :-(

@cbfasi
Copy link
Author

cbfasi commented Sep 12, 2020

Upgraded to 4.7.1, seems its fixed, I think I gave Cura a heart-attack when I told it to open 20 3mfs at same time (I allow multiple Cura instances).. and each one waited for me choose ! (had already checked with a couple and thought lets really check)

We may never know exactly what was causing it but whatever it was, is not currently an issue.

Thank you for trying to fix it intentionally!

@cbfasi cbfasi closed this as completed Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

4 participants