> Am 11 Nov 2022 um 06:55 schrieb Carel Combrink <carel.combr...@gmail.com>: > > On Mon, 31 Oct 2022 at 09:51, Eike Ziller via Qt-creator > <qt-creator@qt-project.org> wrote: > > > The idea is to avoid accidentally closing the pinned file via shortcuts. So > > not necessarily about forbidding closing it, but ensuring that it doesn't > > leave the open documents list. > > > I also recently started using the "pin file" feature and was surprised that > after spamming CTRL + W the pinned files were closed. > I have no suggestions yet on what I expect to happen, but that they got > closed was unexpected. > > Thinking about it a bit it might make sense to close all editors and keep the > pinned ones in the open documents list.
> It sounds counterproductive since then they are not opened anymore, thus they > don't fit in the list (new list or renamed panel?) Actually "Open Documents" is a lie anyway. Qt Creator reserves the right to unload all data from an (unmodified) "open document" and just keep the entry in the Open Documents. See Preferences > Environment > System > Auto-suspend unmodified files. > > What I don't want is to get 'stuck' on a pinned file when I try to close > everything but the pinned ones with the shortcut. > And then again, perhaps a shortcut to "close all except the pinned ones" is > the correct way to handle this and then get stuck on a pinned one with a > warning or indication as other people mentioned in this discussion. > > Regards, > Carel -- Eike Ziller Principal Software Engineer The Qt Company GmbH Erich-Thilo-Straße 10 D-12489 Berlin eike.zil...@qt.io http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator