Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Can't search Selected resources: (12 Items)
   
Can't search Selected resources  
IIDE 4.5.0 Windows.  I select a folder in the C/C++ project, then bring up the FileSearch dialog via the menu but the 
Selected resources is gray out.  I've discover that it's because by C/C++ project view is in separate windows ( 2 
monitor setup).  Thus when I switch windows to access the menu it seems to deselect the folder.  That doesn't seems like
 the proper behavior?
Re: Can't search Selected resources  
That would be eclipse behavior. I cannot reproduce it (I have 2 monitors two). Do you actually have 2 workbench windows?


Mario Charest wrote:
> IIDE 4.5.0 Windows.  I select a folder in the C/C++ project, then bring up the FileSearch dialog via the menu but the 
Selected resources is gray out.  I've discover that it's because by C/C++ project view is in separate windows ( 2 
monitor setup).  Thus when I switch windows to access the menu it seems to deselect the folder.  That doesn't seems like
 the proper behavior?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17267
> 
RE: Can't search Selected resources  

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: November-25-08 10:16 AM
To: general-ide
Subject: Re: Can't search Selected resources

That would be eclipse behavior. I cannot reproduce it (I have 2 monitors two). Do you actually have 2 workbench windows?


Not sure what you mean by *workbench* windows, but I have the Project Explorer and C/C++ Projects views in a separate 
window.  I have to do this because the two monitors aren't running at the same resolution.

Mario Charest wrote:
> IIDE 4.5.0 Windows.  I select a folder in the C/C++ project, then bring up the FileSearch dialog via the menu but the 
Selected resources is gray out.  I've discover that it's because by C/C++ project view is in separate windows ( 2 
monitor setup).  Thus when I switch windows to access the menu it seems to deselect the folder.  That doesn't seems like
 the proper behavior?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17267
> 

_______________________________________________
General
http://community.qnx.com/sf/go/post17268

Re: Can't search Selected resources  
You mean you detached the view? In any case it is platform... You can search eclipse forums, nothing we can do at this 
point...

Mario Charest wrote:
> 
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
> Sent: November-25-08 10:16 AM
> To: general-ide
> Subject: Re: Can't search Selected resources
> 
> That would be eclipse behavior. I cannot reproduce it (I have 2 monitors two). Do you actually have 2 workbench 
windows?
> 
> Not sure what you mean by *workbench* windows, but I have the Project Explorer and C/C++ Projects views in a separate 
window.  I have to do this because the two monitors aren't running at the same resolution.
> 
> Mario Charest wrote:
>> IIDE 4.5.0 Windows.  I select a folder in the C/C++ project, then bring up the FileSearch dialog via the menu but the
 Selected resources is gray out.  I've discover that it's because by C/C++ project view is in separate windows ( 2 
monitor setup).  Thus when I switch windows to access the menu it seems to deselect the folder.  That doesn't seems like
 the proper behavior?
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post17267
>>
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17268
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17269
> 
RE: Can't search Selected resources  

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: November-25-08 10:25 AM
To: general-ide
Subject: Re: Can't search Selected resources

You mean you detached the view?

Detached view ah yes that's what I mean.

> In any case it is platform... You can search eclipse forums, nothing we can do at this point...

That is probably an issue for sales/marketing but given that QSS charges 10 000$ for their product, I expect support for
 the entire product as a whole.    If I go to the car dealer I don't think  "the alternator is build by Torpido 
Electronics, nothing we can do at this point" would be good enough.  Nothing personal Elena ;-)


Mario Charest wrote:
> 
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
> Sent: November-25-08 10:16 AM
> To: general-ide
> Subject: Re: Can't search Selected resources
> 
> That would be eclipse behavior. I cannot reproduce it (I have 2 monitors two). Do you actually have 2 workbench 
windows?
> 
> Not sure what you mean by *workbench* windows, but I have the Project Explorer and C/C++ Projects views in a separate 
window.  I have to do this because the two monitors aren't running at the same resolution.
> 
> Mario Charest wrote:
>> IIDE 4.5.0 Windows.  I select a folder in the C/C++ project, then bring up the FileSearch dialog via the menu but the
 Selected resources is gray out.  I've discover that it's because by C/C++ project view is in separate windows ( 2 
monitor setup).  Thus when I switch windows to access the menu it seems to deselect the folder.  That doesn't seems like
 the proper behavior?
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post17267
>>
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17268
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17269
> 

_______________________________________________
General
http://community.qnx.com/sf/go/post17271

Re: RE: Can't search Selected resources  
I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection to 
the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.

In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the search
 panel,  you should see the "Selected Resource" coming back.

This is how Eclipse works, U.I. interfaces are driven by events.
RE: RE: Can't search Selected resources  
Thanks Andy.

I understand that but I think the goal of the IDE is to make thing simple and logical. IMHO this behaviour isn't.  Just 
wanted to voice my opinion. But I understand now this forum isn't the place for Eclipse specific comment and post.

Cheers

-----Original Message-----
From: Andy Jin [mailto:community-noreply@qnx.com] 
Sent: November-25-08 10:46 AM
To: general-ide
Subject: Re: RE: Can't search Selected resources

I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection to 
the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.

In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the search
 panel,  you should see the "Selected Resource" coming back.

This is how Eclipse works, U.I. interfaces are driven by events.


_______________________________________________
General
http://community.qnx.com/sf/go/post17277

Re: Can't search Selected resources  
I still don't understand your case. Do you have two workbench windows or 
you just extract C/C++ project view as a stand-alone window? I tried 
both cases. In the 2-nd one everything works fine, selected resources 
are not gray.. Indeed, in the first case if you make your selection in 
the C/C++ view that belongs to the 2-nd workbench window, but open 
search dialog in the first one, Selected resources are gray. But this is 
a correct behavior. Your search dialog is connected to the current 
selection, which is in turn connected to the workbench window. This 
happens because each separate workbench window is able to have its own 
"object in focus".

Regards,

Alex

On 25/11/2008 10:50 AM, Mario Charest wrote:
> Thanks Andy.
>
> I understand that but I think the goal of the IDE is to make thing simple and logical. IMHO this behaviour isn't.  
Just wanted to voice my opinion. But I understand now this forum isn't the place for Eclipse specific comment and post.
>
> Cheers
>
> -----Original Message-----
> From: Andy Jin [mailto:community-noreply@qnx.com]
> Sent: November-25-08 10:46 AM
> To: general-ide
> Subject: Re: RE: Can't search Selected resources
>
> I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection 
to the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.
>
> In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the 
search panel,  you should see the "Selected Resource" coming back.
>
> This is how Eclipse works, U.I. interfaces are driven by events.
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17277
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17278
>
>    
RE: Can't search Selected resources  

-----Original Message-----
From: Alex Chapiro [mailto:community-noreply@qnx.com] 
Sent: November-25-08 12:11 PM
To: general-ide
Subject: Re: Can't search Selected resources

I still don't understand your case. Do you have two workbench windows or 
you just extract C/C++ project view as a stand-alone window? 

It seems I don`t have the terminology right.  I maximize the IDE with take one monitor then I drag the C/C++ project 
view on the second monitor which create a second window.  I click on a directory in that second window then go through 
the IDE`s menu to access the search dialog and "Selected resources" is greyed out.  



I tried 
both cases. In the 2-nd one everything works fine, selected resources 
are not gray.. Indeed, in the first case if you make your selection in 
the C/C++ view that belongs to the 2-nd workbench window, but open 
search dialog in the first one, Selected resources are gray. But this is 
a correct behavior. Your search dialog is connected to the current 
selection, which is in turn connected to the workbench window. This 
happens because each separate workbench window is able to have its own 
"object in focus".

Regards,

Alex

On 25/11/2008 10:50 AM, Mario Charest wrote:
> Thanks Andy.
>
> I understand that but I think the goal of the IDE is to make thing simple and logical. IMHO this behaviour isn't.  
Just wanted to voice my opinion. But I understand now this forum isn't the place for Eclipse specific comment and post.
>
> Cheers
>
> -----Original Message-----
> From: Andy Jin [mailto:community-noreply@qnx.com]
> Sent: November-25-08 10:46 AM
> To: general-ide
> Subject: Re: RE: Can't search Selected resources
>
> I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection 
to the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.
>
> In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the 
search panel,  you should see the "Selected Resource" coming back.
>
> This is how Eclipse works, U.I. interfaces are driven by events.
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17277
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17278
>
>    


_______________________________________________
General
http://community.qnx.com/sf/go/post17290

Re: Can't search Selected resources  
  Yes, it almost doesn't work. And that's correct because selection is 
tightly connected to the concept of workbench window. AS soon as you 
detach C/C++ viewer, it does not report to workbench window about its 
selection. And it makes sense. Imagine you have two detached window, 
both has there own selections. Any racional behavior for workbench window?

On 25/11/2008 12:19 PM, Mario Charest wrote:
> -----Original Message-----
> From: Alex Chapiro [mailto:community-noreply@qnx.com]
> Sent: November-25-08 12:11 PM
> To: general-ide
> Subject: Re: Can't search Selected resources
>
> I still don't understand your case. Do you have two workbench windows or
> you just extract C/C++ project view as a stand-alone window?
>
> It seems I don`t have the terminology right.  I maximize the IDE with take one monitor then I drag the C/C++ project 
view on the second monitor which create a second window.  I click on a directory in that second window then go through 
the IDE`s menu to access the search dialog and "Selected resources" is greyed out.
>
>
>
> I tried
> both cases. In the 2-nd one everything works fine, selected resources
> are not gray.. Indeed, in the first case if you make your selection in
> the C/C++ view that belongs to the 2-nd workbench window, but open
> search dialog in the first one, Selected resources are gray. But this is
> a correct behavior. Your search dialog is connected to the current
> selection, which is in turn connected to the workbench window. This
> happens because each separate workbench window is able to have its own
> "object in focus".
>
> Regards,
>
> Alex
>
> On 25/11/2008 10:50 AM, Mario Charest wrote:
>    
>> Thanks Andy.
>>
>> I understand that but I think the goal of the IDE is to make thing simple and logical. IMHO this behaviour isn't.  
Just wanted to voice my opinion. But I understand now this forum isn't the place for Eclipse specific comment and post.
>>
>> Cheers
>>
>> -----Original Message-----
>> From: Andy Jin [mailto:community-noreply@qnx.com]
>> Sent: November-25-08 10:46 AM
>> To: general-ide
>> Subject: Re: RE: Can't search Selected resources
>>
>> I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection 
to the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.
>>
>> In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the 
search panel,  you should see the "Selected Resource" coming back.
>>
>> This is how Eclipse works, U.I. interfaces are driven by events.
>>
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post17277
>>
>>
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post17278
>>
>>
>>      
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17290
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17291
>
>    
RE: Can't search Selected resources  

-----Original Message-----
From: Alex Chapiro [mailto:community-noreply@qnx.com] 
Sent: November-25-08 12:58 PM
To: general-ide
Subject: Re: Can't search Selected resources

  Yes, it almost doesn't work. And that's correct because selection is 
tightly connected to the concept of workbench window. AS soon as you 
detach C/C++ viewer, it does not report to workbench window about its 
selection. And it makes sense. Imagine you have two detached window, 
both has there own selections. Any racional behavior for workbench window?

I see, but who handles CTRL-H?  Maybe have the search option appear in the pop-up menu of the C/C++ view.  You know what
 Alex, I`m ready to move on ;-)  CTRL-H is my friend now.

On 25/11/2008 12:19 PM, Mario Charest wrote:
> -----Original Message-----
> From: Alex Chapiro [mailto:community-noreply@qnx.com]
> Sent: November-25-08 12:11 PM
> To: general-ide
> Subject: Re: Can't search Selected resources
>
> I still don't understand your case. Do you have two workbench windows or
> you just extract C/C++ project view as a stand-alone window?
>
> It seems I don`t have the terminology right.  I maximize the IDE with take one monitor then I drag the C/C++ project 
view on the second monitor which create a second window.  I click on a directory in that second window then go through 
the IDE`s menu to access the search dialog and "Selected resources" is greyed out.
>
>
>
> I tried
> both cases. In the 2-nd one everything works fine, selected resources
> are not gray.. Indeed, in the first case if you make your selection in
> the C/C++ view that belongs to the 2-nd workbench window, but open
> search dialog in the first one, Selected resources are gray. But this is
> a correct behavior. Your search dialog is connected to the current
> selection, which is in turn connected to the workbench window. This
> happens because each separate workbench window is able to have its own
> "object in focus".
>
> Regards,
>
> Alex
>
> On 25/11/2008 10:50 AM, Mario Charest wrote:
>    
>> Thanks Andy.
>>
>> I understand that but I think the goal of the IDE is to make thing simple and logical. IMHO this behaviour isn't.  
Just wanted to voice my opinion. But I understand now this forum isn't the place for Eclipse specific comment and post.
>>
>> Cheers
>>
>> -----Original Message-----
>> From: Andy Jin [mailto:community-noreply@qnx.com]
>> Sent: November-25-08 10:46 AM
>> To: general-ide
>> Subject: Re: RE: Can't search Selected resources
>>
>> I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection 
to the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.
>>
>> In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the 
search panel,  you should see the "Selected Resource" coming back.
>>
>> This is how Eclipse works, U.I. interfaces are driven by events.
>>
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post17277
>>
>>
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post17278
>>
>>
>>      
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17290
>
>
>
> _______________________________________________
> General
>...
Re: Can't search Selected resources  
That's clear. Ctrl-H uses selection from window currently in focus. So 
you can click C/C++ View, then press Ctrl-H. If you open bar 
menu/toolbar action, C/C++ view loses focus. That's it.
And I think that Ctrl-H is a good reliable friend, you made a good 
selection :-)

On 25/11/2008 1:03 PM, Mario Charest wrote:
> -----Original Message-----
> From: Alex Chapiro [mailto:community-noreply@qnx.com]
> Sent: November-25-08 12:58 PM
> To: general-ide
> Subject: Re: Can't search Selected resources
>
>    Yes, it almost doesn't work. And that's correct because selection is
> tightly connected to the concept of workbench window. AS soon as you
> detach C/C++ viewer, it does not report to workbench window about its
> selection. And it makes sense. Imagine you have two detached window,
> both has there own selections. Any racional behavior for workbench window?
>
> I see, but who handles CTRL-H?  Maybe have the search option appear in the pop-up menu of the C/C++ view.  You know 
what Alex, I`m ready to move on ;-)  CTRL-H is my friend now.
>
> On 25/11/2008 12:19 PM, Mario Charest wrote:
>    
>> -----Original Message-----
>> From: Alex Chapiro [mailto:community-noreply@qnx.com]
>> Sent: November-25-08 12:11 PM
>> To: general-ide
>> Subject: Re: Can't search Selected resources
>>
>> I still don't understand your case. Do you have two workbench windows or
>> you just extract C/C++ project view as a stand-alone window?
>>
>> It seems I don`t have the terminology right.  I maximize the IDE with take one monitor then I drag the C/C++ project 
view on the second monitor which create a second window.  I click on a directory in that second window then go through 
the IDE`s menu to access the search dialog and "Selected resources" is greyed out.
>>
>>
>>
>> I tried
>> both cases. In the 2-nd one everything works fine, selected resources
>> are not gray.. Indeed, in the first case if you make your selection in
>> the C/C++ view that belongs to the 2-nd workbench window, but open
>> search dialog in the first one, Selected resources are gray. But this is
>> a correct behavior. Your search dialog is connected to the current
>> selection, which is in turn connected to the workbench window. This
>> happens because each separate workbench window is able to have its own
>> "object in focus".
>>
>> Regards,
>>
>> Alex
>>
>> On 25/11/2008 10:50 AM, Mario Charest wrote:
>>
>>      
>>> Thanks Andy.
>>>
>>> I understand that but I think the goal of the IDE is to make thing simple and logical. IMHO this behaviour isn't.  
Just wanted to voice my opinion. But I understand now this forum isn't the place for Eclipse specific comment and post.
>>>
>>> Cheers
>>>
>>> -----Original Message-----
>>> From: Andy Jin [mailto:community-noreply@qnx.com]
>>> Sent: November-25-08 10:46 AM
>>> To: general-ide
>>> Subject: Re: RE: Can't search Selected resources
>>>
>>> I assume you detach the "C/C++ Projects" view from the main workbench? If  you do the main workbench lose connection
 to the "C/C++ Projects" view. When you select a resource (like a project) in the "C/C++ Projects" view, that "
selectionChanged" event is not known to the main workbench so when you switch back to the main workbench to select "
Search" it thinks you don't have any resource selected.
>>>
>>> In your "C/C++ Projects" view, select the resource and try using the keyboard shortcut "Ctrl + H" to bring up the 
search panel,  you should see the "Selected Resource" coming back.
>>>
>>> This is how Eclipse works, U.I. interfaces are driven by...
View Full Message