[squeak-dev] Unsaved text lost when pressing Ctrl+Page Down

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sun Nov 28 19:58:06 UTC 2021

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
> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211128/d2ca7be5/attachment.html>

More information about the Squeak-dev mailing list