No keyboard access in CodeAssist (GTK) [message #177570] |
Tue, 14 September 2004 12:55  |
Eclipse User |
|
|
|
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 #177628 is a reply to message #177620] |
Tue, 14 September 2004 14:21   |
Eclipse User |
|
|
|
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 #178214 is a reply to message #178191] |
Fri, 17 September 2004 10:56   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.06077 seconds