Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 413980 - View toolbar dropdown menu expansion / toolbar clicks e.g. on disabled items does not lead to a view activation
Summary: View toolbar dropdown menu expansion / toolbar clicks e.g. on disabled items ...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2.2   Edit
Hardware: All Linux
: P3 normal with 1 vote (vote)
Target Milestone: 4.7   Edit
Assignee: Arun Thondapu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 412064 429846
  Show dependency tree
 
Reported: 2013-07-30 07:14 EDT by Markus Tiede CLA
Modified: 2017-05-25 15:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Tiede CLA 2013-07-30 07:14:02 EDT
Since Eclipse 4.x a view toolbar dropdown menu expansion or a click into the view toolbar e.g. on disabled items does not lead to an activation of the corresponding view. This leads to some minor issues at ours (Jubula - see bug 412064) as some of our dynamic toolbar contribution for views make use of the currently active selection within the view the contribution belongs to.
Comment 1 Paul Webster CLA 2013-07-30 14:10:39 EDT
Are you sure this bug is reproducible on ALL platforms?

1. bring up the console view
2. select something in the Package Explorer (it's active)
3. Click on the Open Console button dropdown in the Console view

When I do #3 in Linux, the Package Explorer remains active.  When I do #3 on windows, the console view becomes the active view.

PW
Comment 2 Markus Tiede CLA 2013-07-31 03:23:38 EDT
You're right - I'm adjusting the platform accordingly.
Comment 3 Alexander Kurtakov CLA 2013-08-23 09:32:19 EDT
(In reply to comment #1)
> Are you sure this bug is reproducible on ALL platforms?
> 
> 1. bring up the console view
> 2. select something in the Package Explorer (it's active)
> 3. Click on the Open Console button dropdown in the Console view
> 
> When I do #3 in Linux, the Package Explorer remains active.  When I do #3 on
> windows, the console view becomes the active view.
> 
> PW

Paul, am I missing smth I follow your steps and Console view is activated for me on Fedora 19. Is there any chance to get some small snippet reproducing the problem?
Comment 4 Paul Webster CLA 2013-08-23 16:44:25 EDT
(In reply to comment #3)
> 
> Paul, am I missing smth I follow your steps and Console view is activated
> for me on Fedora 19. Is there any chance to get some small snippet
> reproducing the problem?

Did you click on the dropdown area of the button?  If you click on the button itself, it will activate the Console view.

gtk2-2.18.9-12.el6.x86_64
Comment 5 Markus Tiede CLA 2014-03-19 05:21:59 EDT
It's still reproducible when clicking the dropdown area of the button and it's now also causing bug 429846 at ours - are there any actual plans to resolve this for the upcoming Luna release?
Comment 6 Arun Thondapu CLA 2015-05-18 08:14:59 EDT
I had spent some time on this and it looks like a platform limitation on GTK+, it may be possible to add a workaround in SWT for this bug but that will need some more investigation. Since its not a very critical bug for the Mars release, I'm deferring it to 4.5.1 for now.
Comment 7 Arun Thondapu CLA 2016-05-04 08:03:07 EDT
Won't be able to address it for 4.6, deferring to 4.7 for now.
Comment 8 Arun Thondapu CLA 2017-05-24 08:52:16 EDT
(In reply to Markus Tiede from comment #5)
> It's still reproducible when clicking the dropdown area of the button and
> it's now also causing bug 429846 at ours - are there any actual plans to
> resolve this for the upcoming Luna release?

Markus, this seems to be fixed now (probably by GTK+ but I'm not sure), I tested with the latest eclipse milestone build M7 for Oxygen on Ubuntu 16.04 (gtk 3.18.9), clicking on the dropdown area of the button now activates the view's toolbar. Can you please check and confirm? Thanks!
Comment 9 Arun Thondapu CLA 2017-05-25 15:12:37 EDT
Closing as FIXED, please reopen if necessary.