Bug 151070 - [Contributions] SubStatusLineManager.setMessage(String) does not work
Summary: [Contributions] SubStatusLineManager.setMessage(String) does not work
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-07-19 08:18 EDT by Denis Jouvin CLA
Modified: 2021-10-09 15:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Jouvin CLA 2006-07-19 08:18:10 EDT
The setMessage(String) does not work with the IStatusLineManager returned by getActionBars().getStatusLineManager() on an IViewSite.

The implementation is SubStatusLineManager. Looking at the code, line 115, it seems that this method invokes setMessage(String) on the parent StatusLineManager, which slightly differs from the previous method setErrorMessage(String), which works fine but invokes the setErrorMessage(Image, String) on the parent StatusLineManager, passing null as the image.

Strangely, the setMessage(Image, String) works fine, passing null as image.

I looked a bit further in the code but did not find the cause of this bug.

Workaround: use setMessage(null, yourString).


regards,

Denis Jouvin.
Comment 1 Paul Webster CLA 2007-04-05 19:05:19 EDT
Assigning to component owner
PW
Comment 2 Remy Suen CLA 2007-08-29 08:12:58 EDT
Denis, I cannot reproduce this on 3.4M1. Could you try that release or 3.3.0 and let us know if it's still a problem?
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:31:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:38:26 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2021-10-09 15:49:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.