[Qt-creator] QtCreator quick save mode?

Dmitry Volosnykh dmitry.volosnykh at gmail.com
Mon Sep 26 07:35:39 CEST 2016


I experience similar behaviour running QtCreator 4.1 on Ubuntu 14.04.
Sometimes QtCreator becomes unresponsive even upon opening some file that
has not been loaded yet.

On Mon, Sep 26, 2016 at 4:54 AM Ursache Vladimir <f35f22fan at gmail.com>
wrote:

>  hi, sorry I forgot to mention I'm using Ubuntu amd64 (16.04, now
> 16.10). I looked at the source code and apparently QtCreator does a
> filesync every time on Ctrl+S which is probably the most expensive
> operation.
> I think this varies a lot because if you have other I/O in the
> background (like me downloading a torrent at 1.6MiB/s) then doing a
> filesystem sync on each Ctrl+S in QtCreator implies a big penalty
> because apparently it means that all I/O is flushed, not just the
> QtCreator I/O buffer.
>
> On Mon, Sep 26, 2016 at 4:42 AM, Henry Skoglund <fromqt at tungware.se>
> wrote:
> > On 2016-09-26 03:06, Ursache Vladimir wrote:
> >>
> >>  Hi,
> >> On Ctrl+S QtCreator trashes my HDD and sometimes hangs for like 2
> >> seconds apparently because it does a lot extra I/O (copies to temp
> >> location, moves back, removes backups, syncs filesystem and whatnot)
> >> to make sure the data is 100% saved. I'm tired of making the GUI
> >> non-responsive for 1-3 seconds and trashing my HDD everytime I hit
> >> "Ctrl+S".
> >>
> >> Is there a lightweight/quick/normal save mode where it just writes the
> >> data to the file? If not, would such a mode be welcome as a patch?
> >>
> >> I'd much rather have the lightweight and "unsafe" mode than this
> >> horrible trashing mess, it's a trade-off and I think enough people
> >> with HDDs would use this option.
> >> _______________________________________________
> >> Qt-creator mailing list
> >> Qt-creator at qt-project.org
> >> http://lists.qt-project.org/mailman/listinfo/qt-creator
> >>
> >
> > Hi, yes I've seen this ctrl-S behavior on Windows 10.
> >
> > Ctrl-S in Qt Creator works fine for me on Windows XP, Windows 7, MacOS or
> > Ubuntu but on Windows 10 some .exe called MsMpEng.exe starts running
> every
> > time I hit ctrl-S, perhaps you have the same problem?
> >
> > Rgrds Henry
> >
> >
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160926/c3c85fd7/attachment.html>


More information about the Qt-creator mailing list