edit icon indicating copy to clipboard operation
edit copied to clipboard

The `Unsaved Changes` window behaves differently under the Exit and the Close operation.

Open Ride-A-Pig opened this issue 6 months ago • 4 comments

The window will not disappear if I select exit and save a file

Exit

Image

Close

Image

Ride-A-Pig avatar May 25 '25 14:05 Ride-A-Pig

Can you list steps for me that reproduce the issue? Thanks!

lhecker avatar May 25 '25 15:05 lhecker

Can you list steps for me that reproduce the issue? Thanks!

  1. Ctrl+N to create a new document
  2. Enter something
  3. Ctrl+Q to exit and the Unsaved Changes menu appears
  4. Select Save

Then there will be a bug like the first image no matter it's a file picker or an error.

Ride-A-Pig avatar May 27 '25 00:05 Ride-A-Pig

If you click the error message away, can you still use the file picker?

0x80070005 means that you don't have access permissions into the current directory. We should test that scenario and perhaps handle it more gracefully.

lhecker avatar May 27 '25 00:05 lhecker

If you click the error message away, can you still use the file picker?

0x80070005 means that you don't have access permissions into the current directory. We should test that scenario and perhaps handle it more gracefully.

Since I don't have the permission so I can't use the file picker. However, the problem is that the Unsaved Changes window will still be there even if I click away either the file picker or the error window if I press CTRL + Q to exit. If I press CTRL + W to close the document, the Unsaved Changes window will close after openning the file picker or the error window.

Ride-A-Pig avatar May 27 '25 02:05 Ride-A-Pig