Opened 5 years ago

Last modified 3 years ago

#127 new enhancement

lua only make backup if picture was modified

Reported by: HoraK-FDF@… Owned by: pulkomandy
Priority: major Milestone: 2.9
Component: GrafX2 Version: 2.7
Keywords: Cc:

Description

Hi,

as it is now lua always makes a backup of booth pages even if the picture was not modified. Maybe its better to only make a backup when a picture modifying lua function was called and only for the page it was called.

Change History (6)

comment:1 by yrizoud@…, 5 years ago

It is certainly better, at the time I was reluctant because I tried to keep often-used functions (ie putpixel) as fast as possible, and this saved a single if()

comment:2 by HoraK-FDF@…, 5 years ago

ok than but where was this documented I right now only found that backspace is clear but not insert safety colors in palette editor is there a page that lists all default keyboard shortcuts?

comment:3 by yrizoud@…, 5 years ago

(i guess this was rather a question for ticket 126)
There is no unique list, when some window has specific shortcuts, they are listed within the help for this screen, ex: http://pulkomandy.tk/GrafX2/grafx2_56.html
All screens have 'implicit' shortcuts:

  • enter/return -> OK/close
  • Esc : cancel/close
  • same shortcut as the one that opened window : OK if there's such button, cancel/close otherwise.
  • F1 : help for this window
  • highlighted letter on any button : this button

Some window shortcuts had hard-coded shortcuts similar to functions that work in the editor, eg in Palette you can hit [ ] to select next/previous color, or `(qwerty) for colorpicker. We un-hard-coded them to use your own shortcuts instead, but then the help text isn't up-to-date.
I just saw that we forgot to mention the copy+paste of colors, through either right-click menu or Ctrl-C / Ctrl-V shortcuts (or whatever's more natural for the OS)

in reply to:  3 comment:4 by HoraK-FDF@…, 5 years ago

Replying to yrizoud@…:

(i guess this was rather a question for ticket 126)

thanks and yes you are right I asked me all the time in 126 where did this question go? Did I not send it? Now I see where it went :)

So reopen ticket 8 to not forget about it?

comment:5 by PulkoMandy, 4 years ago

Milestone: 2.8

comment:6 by PulkoMandy, 3 years ago

Milestone: 2.82.9
Note: See TracTickets for help on using tickets.