slynch8 / 10x

10x IDE/Editor
190 stars 34 forks source link

Unable to close files when they are opened with changes but locked #1549

Open RetroZelda opened 1 year ago

RetroZelda commented 1 year ago

When doing a ctrl+shift+H mass rename of my workspace, there are files that are not part of the p4v depot(expected) that have changes that are unsaved(filename.cpp* 🔒 where the lock is red). Since these are files I dont want to change anything in ive been middle clicking the tab to close them, hitting "no" on the dialog that appears to confirm i want to close. This was working fine and dandy

I just did a big rename of a "GetNode" function that exists in a lot of these kinds of files(~30 headers and ~40 source), so I got into a cadence of "middle click", "tab", then "spacebar" to quickly go through and close everything. I noticed that the dialog that would appear was super small, but the tab and space still worked. I decided to resize the dialog to see if I could - and I could. However, after hitting "no" and the dialog closing I found that I am now unable to close any of the opened files both with "middle click" on the tab and clicking the X on the tab.

edit: I am also unable to close 10x. I need to use task manager.

edit again: The small window things happened again. the window looks like this image

RetroZelda commented 1 year ago

upon reopening after ending the process, it saved all the remaining files that had unsaved changes, but it didnt save the other files I had opened. I was then able to finish closing everything.

slynch8 commented 1 year ago

I found that the unsaved file panel stops showing if it is closed with the close panel X button. That's fixed now (0.36.14).

The panel getting smaller each time is caused by having a UIScale setting < 1. This still needs to be fixed. The workaround for now is to make sure the scale is >= 1.