[squeak-dev] Unsaved text lost when pressing Ctrl+Page Down
jakres+squeak at gmail.com
Sun Nov 28 20:28:12 UTC 2021
Ok, makes sense... kind of. ;-)
Fortunately I was able to recall what I typed.
(Off topic, but related to the change: if you want committing from the
Git Browser to be much faster with FileTree repositories, you can be
my fearless beta tester by updating it from the develop branch. It
only writes the changed files out now, and I optimized away some
unnecessary computations after writing the commit. No new version
Am So., 28. Nov. 2021 um 20:58 Uhr schrieb Thiede, Christoph
<Christoph.Thiede at student.hpi.uni-potsdam.de>:
> Hi Jakob,
> feeling with you, lost changes can be so evil.
> I just inspected a Ctrl + PgDown event using the KeyboardExerciser and currently, the Windows VM reports the key value 108 for this, which corresponds to Ctrl-Cmd-l (canceL). So this boils down to a known bug in the Win32 VM event handling ... If you need a really crazy workaround, you could try to map all Ctrl + <special key> shortcuts to Alt + <special key> shortcuts for Squeak.exe via AutoHotkey. ;-)
> Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Jakob Reschke <jakres+squeak at gmail.com>
> Gesendet: Sonntag, 28. November 2021 19:28:19
> An: The general-purpose Squeak developers list
> Betreff: Re: [squeak-dev] Unsaved text lost when pressing Ctrl+Page Down
> Hi Eliot,
> Thank you, but unfortunately I never accepted the changes in the text
> editor during that time. So there is nothing relevant in the changes
> Sometimes it needs experiences like this to remind me that it is still
> a good idea to frequently save things.
> Kind regards,
> Am So., 28. Nov. 2021 um 19:16 Uhr schrieb Eliot Miranda
> <eliot.miranda at gmail.com>:
> > Hi Jakob,
> > just checking you know about Recently Logged Changes. That will allow you to replay your work, which is recorded on the changes file.
> > _,,,^..^,,,_ (phone)
> > > On Nov 28, 2021, at 9:39 AM, Jakob Reschke <forums.jakob at resfarm.de> wrote:
> > >
> > > Dear all,
> > >
> > > I just lost half an hour of method changes by accidentally hitting
> > > Ctrl+PgDown (the PgDown key is directly adjacent to the right arrow
> > > key on my compact keyboard). There was no prompt or warning about
> > > "Changes have not been saved", it is just gone.
> > >
> > > 1) What is the intended effect of Ctrl+PgDown? (Note that I am not
> > > asking about Cmd+PgDown, which does not seem to be any different than
> > > just PgDown, scrolling and taking the cursor with it.) I could not
> > > find it in the "Keyboard Shortcuts" from the Help menu. The observable
> > > effect is the same as Cmd+l (cancel).
> > > 2) Should it not ask with the usual popup dialog whether it is ok to
> > > lose the changes?
> > >
> > > Windows 10, Trunk image, last updated one or two weeks ago.
> > > Map CONTROL keys to COMMAND keys: enabled.
> > > Map ASCII control characters to printable characters: enabled.
> > > Map ALT keys to OPTION keys: enabled.
> > >
> > > Kind regards,
> > > Jakob
> > >
More information about the Squeak-dev