netbeans
netbeans copied to clipboard
Terminal window: "Set Title" sets title to wrong tab
Apache NetBeans version
Apache NetBeans 13
What happened
Setting the terminal title set the title of another tab instead of the selected one.
How to reproduce
- Create a first terminal tab
- Create a second terminal tab and set its title to something else
- Create a third terminal tab and set its title to something else
Result: The title of the second tab is changed instead of the selected one, the third.
Did this work correctly in an earlier version?
No
Operating System
Ubuntu 18.04.6 LTS
JDK
OpenJDK Runtime Environment (build 17.0.3+7-Ubuntu-0ubuntu0.18.04.1)
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes
Just tested and can confirm. Checked the code, it seems some heuristics goes wrong when trying to detect the active terminal.
Thanks for the confirmation @lkishalmi.