checkout --ours sur Cargo.toml avait aussi ecarte l'ajout amont hors zone
de conflit ; is_selecting, prefixe _ par le fork, est de nouveau lu en 1.9.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Le fork renomme libcosmic.ftl en libcosmic_yoda.ftl ; pour ca et oc le
fichier renomme etait vide alors que le contenu amont vivait sous l'ancien
nom, ignore par le chargement i18n du fork.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Depends on:
- [x] https://github.com/pop-os/iced/pull/400
We refresh the open popup's items.
If the number and shape of the items don't change (just the labels
change) then we reuse the menu, otherwise we create a new one, so if you
right click on a file and some other process deletes the file, the menu
blinks and refreshes with different items. But if you press shift the
menu updates in place.
Also I noticed another bug that was there before, if you select both
files and directories in cosmic-files and right click, the menu that
opens is visually corrupted. It's because the "open" and "open with" are
removed, so the first item is a divider. I added a commit that removes
leading dividers (we were removing trailing dividers before).
___
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
When using a menu bar without Wayland popup support, the menu items are
unclickable, as redrawing is never requested.
So, request a redraw after opening so the overlay menu is created and
drawn immediately.