Skip to content

Menu of layer operations that appears when right-clicking item in layers list#1588

Merged
cameronwhite merged 7 commits into
PintaProject:masterfrom
Lehonti:feature/layer_menu
Jul 4, 2025
Merged

Menu of layer operations that appears when right-clicking item in layers list#1588
cameronwhite merged 7 commits into
PintaProject:masterfrom
Lehonti:feature/layer_menu

Conversation

@Lehonti

@Lehonti Lehonti commented Jul 2, 2025

Copy link
Copy Markdown
Contributor
explorer_8LYoxYQDPu.mp4

Comment thread Pinta.Gui.Widgets/Widgets/Layers/LayersListViewItemWidget.cs Outdated
@cameronwhite

Copy link
Copy Markdown
Member

This is pretty closely related to #1386 so I'd be interested to hear @pedropaulosuzuki 's opinions on this, although I don't think this necessarily replaces the toolbar buttons in the panel
It feels nice to be able to quickly right click on a layer that isn't the currently selected one and then e.g. merge it down

@Lehonti

Lehonti commented Jul 3, 2025

Copy link
Copy Markdown
Contributor Author

@cameronwhite, @pedropaulosuzuki, one thing to note is that the items in this new menu aren't exactly the same ones as in the hamburger menu. Only those relevant to the layer being right-clicked are there

@pedropaulosuzuki

Copy link
Copy Markdown
Contributor

This is pretty closely related to #1386 so I'd be interested to hear @pedropaulosuzuki 's opinions on this, although I don't think this necessarily replaces the toolbar buttons in the panel It feels nice to be able to quickly right click on a layer that isn't the currently selected one and then e.g. merge it down

I believe the MR is welcome! But still, there should be an easy way for users to find those options graphically, mainly on graphic tables (using a pen) and for touchscreens (those can press and hold tho, so maybe less of a problem).

@pedropaulosuzuki

Copy link
Copy Markdown
Contributor

Also, something that would be pretty nice would be click and drag to move the layers vertically. That could speed up reordering of layers on heavily-multilayered files.

@cameronwhite

Copy link
Copy Markdown
Member

There is #1218 for dragging layers - I think that would be really nice to add 👍

With the discussion in #1386 about having a delete button for each layer, a related thought would be to have a button per layer which pops up this menu with the per-layer options, making it findable graphically

I think this PR seems good to merge now though, and we can always keep tweaking the layers widget more in future PRs

@cameronwhite cameronwhite merged commit ee7a05b into PintaProject:master Jul 4, 2025
6 checks passed
@Lehonti Lehonti deleted the feature/layer_menu branch July 4, 2025 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants