After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 90280 - details tab not keynavigable
details tab not keynavigable
Status: VERIFIED FIXED
Product: gedit-plugins
Classification: Other
Component: General
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: Federico Mena Quintero
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2002-08-09 03:55 UTC by Muktha
Modified: 2019-03-23 20:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Muktha 2002-08-09 03:55:35 UTC
Following are the keynav issue in Gedit:

1. In the 'Preferences' dialog, under Plugins->Manager, pressing 'Ctrl+F'
   in the list where the plugins are displayed doesn't popup the 'Find'
   textbox.

2. The 'Details' tab in the 'Manager' plugin of the 'Preferences' dialog is
   not keynavigable. It is not possible to scroll the 'Details' tab with
   the keyboard.
Comment 1 Paolo Maggi 2002-08-13 07:01:13 UTC
I think 1 is not a bug. 
About point 2, I don't know how to solve it. I think the real solution
should be in the gtk+ domain.
Comment 2 Luis Villa 2002-08-13 21:33:14 UTC
Paolo: I think that it should probably be popping up the treeview
search dialog, no? [Not a huge bug, and I don't see how that makes it
not accessible, so it should probably be a different bug.]

On the rest, what gtk widget is the details tab?
Comment 3 Federico Mena Quintero 2002-08-13 22:09:44 UTC
I guess a non-editable text view would suffice for the details text,
right?

As for C-f not going through, let me see what's going on.  I have no
clue of how the treeview works in that regard.
Comment 4 Paolo Maggi 2002-08-14 08:42:03 UTC
I think, in this case, Ctrl+F should do nothing, but if someone
provides a patch I will consider it.

For the Details (and Description) text, I don't like the non-editable
text view idea so much.

ATM, I'm using some GtkLabels, inside a GtkVBox, inside a GtkViewport,
inside a GtkScrolledWindow (as you can see in
gedit/src/dialog/plugin-manager.glade2).

So, I think we should solve this bug at the gtk level, i.e. add 
stardard keybindings to scroll this kind of object.

Another solution could be set "can_focus" to TRUE on the vertical
scrollbar. In this way as soon as the timj's patch in
http://mail.gnome.org/archives/gtk-devel-list/2002-August/msg00074.html
will be applied, this bug will be magically fixed.

What do you think?
Comment 5 Federico Mena Quintero 2002-08-14 22:23:18 UTC
Tim's patch looks OK, but who knows when/if it will be applied.

I already committed a fix for the interactive search bit.
Comment 6 padraig.obriain 2002-08-20 12:00:25 UTC
There are key bindings defined for GtkScrolledWindow which allow all
of the label to be viewed when the GtkLabel has focus.

See gtkscrolledwindow.c for the key bindings.

There is however a problem in that when the label has focus there is
no visible focus indicator.
Comment 7 padraig.obriain 2002-08-20 13:12:50 UTC
Correction to my previous comment. It is the GtkScrolledWindow which
has focus not the label. There is no focus indication when the
GtkScrolledWindow has focus but the keybindings _do_ work.
Comment 8 padraig.obriain 2002-08-21 16:29:47 UTC
I have looked at the first issue and found that search dialog _does_
popup for me. 

Muktha: Can you confirm that it does not work and identify what build
you are using.
Comment 9 Federico Mena Quintero 2002-08-21 17:17:47 UTC
The search popup does work now because I fixed it on 2002-08-14 -- see
the comment above.
Comment 10 padraig.obriain 2002-08-22 07:43:40 UTC
Sorry, I had missed the comment about the fix.

Given that there are key bindings to scroll the GtkScrolledWindow,
PageUp, PageDown, Ctrl+PageUp and Ctrl+PageDown, is there a reason for
this bug to remain open?
Comment 11 Muktha 2002-08-22 09:42:15 UTC
PageUp/PageDown do not work here and Ctrl+PageUp/PageDown bring the
previous/next tab to front. Is it because it is the gtknotebook and
not gtkscrolledwindow that is getting the focus in this case?
Comment 12 padraig.obriain 2002-08-22 10:38:52 UTC
I think that you are pressing the keys when the Description or Detail
tab is focused.

What I do is:

1) Display Preferences dialog.
2) Prss Tab: the Editor row of Categories is now focused
3) Press PageDown: the Manager row is now focused
4) Press Tab: Load is focused
5) Press Tab: Ascii table row is focused
6) Press DownArrow twice: Compare files row is focused and the
description has scroll bars
7) Press Tab: "Configure plubin" button is focused
8) Press Tab: GtKScrolledWindow is focused but ther is no focus
indication; that is bug 63480.
9) Press Ctrl+PageDown: scrollbar moves to the right
10) Press Ctrl+PageUp: scrollbar moves to the left.
Comment 13 Muktha 2002-08-23 11:52:03 UTC
Thanks Padraig. I followed the steps that you have mentioned above and
found that I was able to scroll the GtkScrolledWindow with Home/End
(Up/Down) and Ctrl+PgUp/PgDn (Left/Right).
Also, I verified the first issue and found that the search dialog
popups. Hence I guess this bug can be closed.