[
https://issues.jboss.org/browse/JBIDE-23150?page=com.atlassian.jira.plugi...
]
Dmitrii Bocharov commented on JBIDE-23150:
------------------------------------------
it's not a bug connected with Opeshift Explorer view. I would say that it is not a bug
at all, but an intended behavior of the Properties view. For example, try the same trick
you described, but with, say, Git Repositories view. It works the same way.
[Here is the
description|https://eclipse.org/articles/Article-WorkbenchSelections/arti...] of the
mechanism of Selection Service. The thing we need is in the beginning of The Big Picture
chapter:
{panel:title=The Big Picture}
Each workbench window has its own selection service instance. _The service keeps track of
the selection in *the currently active part*_ and propagates selection changes to all
registered listeners. Such selection events occur when the selection in the current part
is changed or when a different part is activated.
{panel}
I want to say that when view X is in the same visual container with Properties view, and
Properties view is active, X view can't be active and that's why can't be
"parsed" on Properties.
It's even more interesting - when Properties view is active, it is listened by
selection service (according to the quote from the article above) and passes the data to
the ... Properties view =) So Properties view displays the properties of the Properties
view =)
[~adietish], I would close this issue as not a bug
Properties: wont show OpenShift properties if stacked in same
container as OpenShift explorer
---------------------------------------------------------------------------------------------
Key: JBIDE-23150
URL:
https://issues.jboss.org/browse/JBIDE-23150
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.1.Final
Reporter: Andre Dietisheim
Assignee: Dmitrii Bocharov
Fix For: 4.4.2.AM2
Attachments: openshift-explorer-and-properties-both-stacked.png,
properties-empty.png
If you have the OpenShift explorer and the Properties view both stacked in the same view
like it is shown in the following screenshot:
!openshift-explorer-and-properties-both-stacked.png!
and you start up Eclipse with the Properties view visible (not OpenShift explorer) you
wont be able to ever see any property of any OpenShift resource. The properties view
always stays empty.
steps to reproduce:
# ASSERT: have Properties view and OpenShift explorer (stacked) in the same visual
container
# ASSERT: make sure any view (but OpenShift explorer) is visible when you start Eclipse
# EXEC: make Properties view visible
# EXEC: make OpenShift explorer visible. Select an entry
# EXEC: switch back to Properties view
Result:
Properties view stays empty. You can switch back and forth, you wont get any content in
the properties view.
!properties-empty.png!
Only moving Properties view to a different (visual) container helps.
the steps simply show a reliable way to reproduce it. I think there are more cases where
this happens. Root cause could be in platform, not sure though.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)