Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » No keyboard access in CodeAssist (GTK)
No keyboard access in CodeAssist (GTK) [message #177570] Tue, 14 September 2004 12:55 Go to next message
Eclipse UserFriend
Originally posted by: dcorbin.enttek.com

I've just started using 3.0 on a new Linux box. When I bring up CodeAssist
(CTRL-SPACE), the up and down arrows do not select anything. It's almost
as if the code-assist dialog is not getting the focus (there is no visible
selection).

Anybody have any ideas as to what might be wrong/different here?

Thanks
David
Re: No keyboard access in CodeAssist (GTK) [message #177608 is a reply to message #177570] Tue, 14 September 2004 13:45 Go to previous messageGo to next message
Eclipse UserFriend
David Corbin wrote:
> I've just started using 3.0 on a new Linux box. When I bring up CodeAssist
> (CTRL-SPACE), the up and down arrows do not select anything. It's almost
> as if the code-assist dialog is not getting the focus (there is no visible
> selection).
>
> Anybody have any ideas as to what might be wrong/different here?

Is there no visible selection or no selection at all? We've had many
cases where your platform preference for a non-focused selection did not
show anything -> try to play with your color settings.

In the meantime, you can give focus to the code assist popup by pressing
tab or clicking it with the mouse.

hth, tonm
Re: No keyboard access in CodeAssist (GTK) [message #177620 is a reply to message #177608] Tue, 14 September 2004 13:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dcorbin.enttek.com

Tom Eicher wrote:

> David Corbin wrote:
>> I've just started using 3.0 on a new Linux box. When I bring up
>> CodeAssist
>> (CTRL-SPACE), the up and down arrows do not select anything. It's almost
>> as if the code-assist dialog is not getting the focus (there is no
>> visible selection).
>>
>> Anybody have any ideas as to what might be wrong/different here?
>
> Is there no visible selection or no selection at all? We've had many
> cases where your platform preference for a non-focused selection did not
> show anything -> try to play with your color settings.
>
> In the meantime, you can give focus to the code assist popup by pressing
> tab or clicking it with the mouse.
>
> hth, tonm

Pressing TAB does cause a selection to show (and it looks "normal"). So the
real question is, why do I have to press TAB, instead of it having the
focus automatically? (I've used the GTK on other systems, and not had this
problem.)

Thanks.
David
Re: No keyboard access in CodeAssist (GTK) [message #177628 is a reply to message #177620] Tue, 14 September 2004 14:21 Go to previous messageGo to next message
Eclipse UserFriend
David Corbin wrote:

> Tom Eicher wrote:
>
>>David Corbin wrote:
>>
>>>I've just started using 3.0 on a new Linux box. When I bring up
>>>CodeAssist
>>>(CTRL-SPACE), the up and down arrows do not select anything. It's almost
>>>as if the code-assist dialog is not getting the focus (there is no
>>>visible selection).
>>>
>>>Anybody have any ideas as to what might be wrong/different here?
>>
>>Is there no visible selection or no selection at all? We've had many
>>cases where your platform preference for a non-focused selection did not
>>show anything -> try to play with your color settings.
>>
>>In the meantime, you can give focus to the code assist popup by pressing
>>tab or clicking it with the mouse.
>>
>>hth, tonm
>
> Pressing TAB does cause a selection to show (and it looks "normal"). So the
> real question is, why do I have to press TAB, instead of it having the
> focus automatically? (I've used the GTK on other systems, and not had this
> problem.)
>
> Thanks.
> David

The Content Assist popup doesn't grab focus automatically on any platform.
However, you should be able to select an item by pressing up and down
arrows. Tom said:
>>Is there no visible selection or no selection at all?
Try pressing down arrow and then tab to see whether the selection actually
moved. If it did, then everything works as it should, and you should change
your color settings to see the selection in the unfocused list.

Markus
Re: No keyboard access in CodeAssist (GTK) [message #177643 is a reply to message #177628] Tue, 14 September 2004 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dcorbin.enttek.com

Markus Keller wrote:

> The Content Assist popup doesn't grab focus automatically on any platform.
> However, you should be able to select an item by pressing up and down
> arrows. Tom said:
> >>Is there no visible selection or no selection at all?
> Try pressing down arrow and then tab to see whether the selection actually
> moved. If it did, then everything works as it should, and you should
> change your color settings to see the selection in the unfocused list.
>
> Markus

You're right, I think in that pressing down arrow DOES change the selection,
I just can't see it.  I assume this is a GTK specific setting that
Re: No keyboard access in CodeAssist (GTK) [message #178191 is a reply to message #177643] Fri, 17 September 2004 09:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dcorbin.enttek.com

David Corbin wrote:
>>Is there no visible selection or no selection at all?
>> Try pressing down arrow and then tab to see whether the selection
>> actually moved. If it did, then everything works as it should, and you
>> should change your color settings to see the selection in the unfocused
>> list.
>>
>> Markus
>
> You're right, I think in that pressing down arrow DOES change the
> selection, I just can't see it.  I assume this is a GTK specific setting
> that I need, right? Can you tell me how to change that? (I run KDE).

No tips on this? I've not yet found the .gtkrc setting that will do this...

>
> Thanks
> David
Re: No keyboard access in CodeAssist (GTK) [message #178214 is a reply to message #178191] Fri, 17 September 2004 10:56 Go to previous messageGo to next message
Eclipse UserFriend
It isn't all that easy (I guess that's why I did not answer at first)...

When running Gnome, you can just change the gtk settings by switching
the Gnome theme. There may be other spots to tweak, but you'll need to
dig for those yourself.

When running KDE, switching the gnome theme may not work, since some of
the gtk settings are not picked up as long as gnome is not running.
Also, KDE can be instructed to try to configure GTK to look close to the
KDE settings, thus overriding your GTK settings.

So:

- turn off KDE-overriding-GTK settings (Control Center->Appearance &
Themes->Colors, uncheck "Apply color to non-KDE applications")

This already gives me some non-focused selection. To tweak that any
further, modify your ~/.gtkrc file (take the one in
/usr/share/themes/Mist as an example, if it exists, anyway).

HTH a little, tom



David Corbin wrote:
> David Corbin wrote:
> >>Is there no visible selection or no selection at all?
>
>>>Try pressing down arrow and then tab to see whether the selection
>>>actually moved. If it did, then everything works as it should, and you
>>>should change your color settings to see the selection in the unfocused
>>>list.
>>>
>>>Markus
>>
>>You're right, I think in that pressing down arrow DOES change the
>>selection, I just can't see it. I assume this is a GTK specific setting
>>that I need, right? Can you tell me how to change that? (I run KDE).
>
>
> No tips on this? I've not yet found the .gtkrc setting that will do this...
>
>
>>Thanks
>>David
>
>
Re: No keyboard access in CodeAssist (GTK) [message #178223 is a reply to message #178214] Fri, 17 September 2004 13:05 Go to previous message
Eclipse UserFriend
Originally posted by: dcorbin.enttek.com

Tom Eicher wrote:

> - turn off KDE-overriding-GTK settings (Control Center->Appearance &
> Themes->Colors, uncheck "Apply color to non-KDE applications")

That did what I needed. Thank you very much.
Previous Topic:How many JDT developers?
Next Topic:Unable to install JavaSpider in Eclipse
Goto Forum:
  


Current Time: Fri May 23 13:19:36 EDT 2025

Powered by FUDForum. Page generated in 0.04564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top