Skip to content

feat: only update one button at a time #122#177

Open
lingo wants to merge 2 commits intop-e-w:masterfrom
lingo:feat/only_touch_one
Open

feat: only update one button at a time #122#177
lingo wants to merge 2 commits intop-e-w:masterfrom
lingo:feat/only_touch_one

Conversation

@lingo
Copy link
Copy Markdown

@lingo lingo commented Sep 6, 2025

When changes occur in the directory, this only updates the buttons for scripts that have altered, rather than removing and adding all buttons.

This allows for updating a single button.

However this system can cause buttons with the same position numbering to change position in an unstable manner; I can't see how to avoid this at present.
(Fixed in latest version)

Luke Hudson added 2 commits September 5, 2025 21:52
When changes occur in the directory, this only updates the buttons  for
scripts that have altered, rather than removing and adding all buttons.

This allows for updating a single button.

However this system can cause buttons with the same position numbering
to change position in an unstable manner
Prevent changing of position in an unstable manner
@lingo
Copy link
Copy Markdown
Author

lingo commented Sep 6, 2025

Added improvement to avoid the unstable changes in position.

@mwilck
Copy link
Copy Markdown
Collaborator

mwilck commented Sep 8, 2025

The basic idea is nice, but the unstable behavior is not. Also, please note that argos is basically in maintenance mode as the original author has left the project. I'm doing kind of minimal maintainance (making sure that it still works with current GNOME versions) but I'm rather conservative with larger changes like this.

@lingo
Copy link
Copy Markdown
Author

lingo commented Sep 8, 2025

My most recent change avoids the unstable behaviour.

Also, I had not realised this about the original author.; perhaps worth putting a notice at the top of the README with a link to the issue, which I've now seen.

For now my branch is working well for me at least on my local machine, I'll catch up on the discussion
Thanks for your work on maintenance!

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.

2 participants