Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusBar onClick function not called with latest update v1.25.0 #11116

Closed
chakraborty-slx opened this issue May 9, 2022 · 0 comments · Fixed by #11117
Closed

StatusBar onClick function not called with latest update v1.25.0 #11116

chakraborty-slx opened this issue May 9, 2022 · 0 comments · Fixed by #11117
Labels
statusbar issues related to the statusbar

Comments

@chakraborty-slx
Copy link

chakraborty-slx commented May 9, 2022

Bug Description:

StatusBar's onClick event stopped working with the latest change in this commit

if (entry.onclick && e instanceof MouseEvent) {

const id = "show-running-tasks";
this.statusBar.setElement(id, {
    text: `testing : progress in status`,
    tooltip: "testing : progress in status",
    alignment: StatusBarAlignment.LEFT,
    priority: 2,
    onclick: () => this.messageService.info("Test status bar"),
});

Steps to Reproduce:

  1. Clone https://github.com/chakraborty-slx/theia-examples/tree/master/theia-widget
  2. Run theia using yarn start:browser
  3. Run command Show running progress
  4. See the statusbar showing the text testing : progress in status
  5. Click on the status : see nothing happens, the messageService notification not showing up.

Additional Information

  • Operating System: linux/windows
  • Theia Version: v1.25.0
@vince-fugnitto vince-fugnitto added the statusbar issues related to the statusbar label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
statusbar issues related to the statusbar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants