Add active launch indicator to launch history menu#2652
Conversation
|
Since recently the "circle" was added to indicate changed file, I would not use this for running launch config, it would be confusing. What about simple "(running)" label? |
How about \u2699 ( ⚙ "gear" ) or \u1F3C3 ( 🏃 "running man" ) ? |
|
The change is simple and nice, do we really need an option for that? If yes, please enable by default. |
|
If unicode symbol is to be used - extra testing is needed that the chosen one is widely available in default fonts as per (https://eclipse.dev/eclipse/development/plans/eclipse_project_plan_4_40.xml#target_environments) and ideally in some popular fonts(whatever they are) and last but not least verify on all platform that nothing bad happens when a font that doesn't contain the symbol is used. |
Please no option for such things. We already have more options than one can find and manage. |
18c45c7 to
e2949db
Compare
Removed all the preference parts 👍 |
Thanks, I'll try to check in these platforms.. |
See also https://stackoverflow.com/questions/48468088/unicode-character-uncompatibility At least on RHEL 9.6 with "Sans Serif" dialog font (whatever system means with that name) it looks OK. |
|
Hi @iloveeclipse, @akurtakov, how about adding overlay image ? |
Why not, but then maybe the one with the green "Run" arrow like on the Progress view icon? |
|
I have a preference to (widely spread) unicode symbol as (at least on Linux) these autoadjust contrast on changes of Gtk theme. Also they are less resource hungry and auto managed by OS instead of images that have to be destroyed and etc. |
|
So let's try with \u2699 ( ⚙ "gear" ) and push it to M3 so hopefully more people could test it. If someone complains, we can switch it off for RC. |
So include a preference option ? |
|
no, just merge & check for bug reports. worst case is some rectangle shown instead I assume. |
There was a problem hiding this comment.
Pull request overview
Adds UI decoration to the launch history (favorites + history) drop-down menu so that entries corresponding to a currently active (non-terminated) launch are visually marked, helping users avoid relaunching already-running configurations.
Changes:
- Fetches current launches from the launch manager when building the launch history menu.
- Decorates matching launch history/favorite entries by appending a Unicode indicator.
- Introduces a helper method to detect whether a configuration has an associated non-terminated launch.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
46a02a6 to
b891428
Compare
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
Adds a visual indicator to launch configurations that are currently active in the launch history menu.





Adds support to show an active launch indicator in the launch history menu, helping users quickly identify which launch configurations are currently running from launch history. Entries with associated non-terminated launches are marked with a visual indicator "●" ,Once the indicator is shown, users can immediately recognize that the configuration is already running, helping avoid unnecessary or unintended clicks from the launch history menu.
With Active (Running)


With In-Active (Terminated or not launched)