Page 1 of 1

[Added] Fill Smart Inserted Space with: Void | FG | BG | custom color | Pixel Line adjacent top/left of Selection

Posted: Fri Oct 28, 2022 12:14 pm
by porg
This completes the feature "Smart Insert" so the menu eventually will look like this:

Code: Select all

Smart Cut                                           ⇧⌘X
Smart Paste at Top/Left Border of Selection         ⇧⌘V
Smart Insert Space at Top/Left Border of Selection  ⇧⌘I
Fill Smart Inserted Space with                        >
    Void (Transparent Pixels)
    Foreground Color
    Background Color
    Custom Color: (🔴 #FF0000 100%) …
    Pixel Line adjacent top/left of Selection
Explanations

Custom Color: Shows color swatch plus RGB hex code plus alpha as %.
• The "…" nearby indicate that this leads to a dialog in which you can change it.
• That dialog is the default color chooser with the color pipette tool included.
• Each time you change from another option to "Custom Color" you trigger the dialog subsequently. By this we avoid yet another submenu. It's kinda ok to just re-confirm your custom color each time you switch.

Pixel Line adjacent top/left of Selection
• Repeats the pixel line adjacent of the selection within the selection.
• The optimum UX for pixel-stretching would ofc be direct manipulation:
•• That if you have an entire row of 1px height or an entire column of 1px width selected that dragging the respective drag handle with a modifier key does the pixel stretching and necessary canvas-resizing on the fly.
•• But I guess this is more work to implement (would also need assisted viewport scrolling when stretching beyond the canvas) hence for starters this simple proposal which is just an evolution of "Smart Insert" as it currently is, which in this redesign would be equivalent to choosing the option "Fill Smart inserted Space with: Void (Transparent Pixels)".

Re: Fill Smart Inserted Space with: Void | FG color | BG color | custom color | Pixel Line adjacent top/left of Selectio

Posted: Mon Oct 31, 2022 3:18 pm
by forum_adm
I added that to build 5643 as a normal options dialog.

Because I want to avoid custom menus.
Screenshot 2022-10-31 at 15.15.jpg
Screenshot 2022-10-31 at 15.15.jpg (64.4 KiB) Viewed 1527 times

Re: Fill Smart Inserted Space with: Void | FG color | BG color | custom color | Pixel Line adjacent top/left of Selectio

Posted: Mon Oct 31, 2022 6:48 pm
by porg
Beautiful solution within the menu!
And all options work as intended!

Minor glitch observed:
• At the beginning the menu label strangely read "√ Smart Insert Options" with a tick before which is usually only for toggle options.
• Somewhen later in the lifetime of using this features (some GC restarts inbetween too) it changed to the normal dialog notation "Smart Insert Options…" again.

Re: Fill Smart Inserted Space with: Void | FG color | BG color | custom color | Pixel Line adjacent top/left of Selectio

Posted: Mon Oct 31, 2022 7:04 pm
by forum_adm
Thanks for the quick testing.

√ is fixed in the next BETA.

Re: [Added] Fill Smart Inserted Space with: Void | FG | BG | custom color | Pixel Line adjacent top/left of Selection

Posted: Mon Oct 31, 2022 7:09 pm
by porg
✅ Trusting that the minor glitch works. Setting this feature as [Added].

Followup: Smart Cut / Copy / Insert - Last interaction perfections