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 783871 - Settings popover for printer not keyboard-accessible
Settings popover for printer not keyboard-accessible
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-06-16 21:33 UTC by Stephen
Modified: 2018-05-02 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screencast (490.08 KB, video/webm)
2017-06-19 12:30 UTC, Felipe Borges
Details

Description Stephen 2017-06-16 21:33:41 UTC
In the printer settings panel, the cog popover for a printer can be opened via keyboard, but the options can't be selected (e.g. via arrow/tab keys). For instance, the down arrow just closes the popover.
Comment 1 Felipe Borges 2017-06-19 12:30:57 UTC
Created attachment 354037 [details]
Screencast

Thanks for your bug report, but I am not able to reproduce the issue. Can you specify more details about your environment?

As you can see in the Screencast, my cursor is at the printer icon all the time, and the interaction with the popover is done entirely through the keyboard.
Comment 2 Stephen 2017-06-19 14:46:35 UTC
I think it's a GNOME Wayland bug - are you using X? I'm using Fedora 26 Beta, GNOME Wayland 3.24.2.

I just spun up a fresh F26 Beta VM and was able to reproduce it there with a dummy printer (by installing the cups-pdf package) - the VM was on Wayland as well. Switching to an X session in the VM, keyboard navigation works fine.
Comment 3 Felipe Borges 2017-06-19 14:52:02 UTC
Fedora 26 GNOME Wayland 3.24.2 here as well. It works as in the screencast. :/
Comment 4 Stephen 2017-06-19 17:02:41 UTC
Hmmm OK, can you try in a fresh VM from the F26 Beta image?
Comment 5 Marek Kašík 2017-06-21 10:54:08 UTC
I can reproduce it on my F26 on X.
Comment 6 Marek Kašík 2017-06-22 11:25:24 UTC
(In reply to Marek Kašík from comment #5)
> I can reproduce it on my F26 on X.

I'm sorry I've just realized that I am on Wayland (a backup machine...). So the issue is reproducible for me on Wayland but not on X.
Comment 7 Marek Kašík 2017-08-18 14:31:14 UTC
I'm reassigning this to Gtk+ because it behaves differently with different backends.
Comment 8 Matthias Clasen 2017-08-18 16:05:30 UTC
I can't reproduce this since the printer panel in rawhide (3.25.4) doesn't show any printers :-(
Comment 9 Marek Kašík 2017-08-24 14:01:39 UTC
(In reply to Matthias Clasen from comment #8)
> I can't reproduce this since the printer panel in rawhide (3.25.4) doesn't
> show any printers :-(

How have you set your printers? Using BrowsePoll in /etc/cups/cups-browsed.conf or by setting ServerName in /etc/cups/client.conf or by adding them manually via the new printer dialog of the panel?

Btw, the issue reported in this bug has something to do with different hierarchy under X and under Wayland when the window_set_focus() of gtk/gtkpopover.c is looking for an ancestor of type GTK_TYPE_POPOVER but it can not find it under wayland (when the popup is shown and down arrow pressed):

X:
GtkModelButton (Printing Options item)
GtkGrid
GtkPopover (the popup)

Wayland:
PpPrinterEntry (the printer entry)
GtkListBox
GtkViewport
GtkScrolledWindow
GtkBox
GtkStack
GtkOverlay
CcPrintersPanel (the panel)
GtkBox
GtkStack
GtkBox
CcWindow

.
Comment 10 Marek Kašík 2017-08-24 14:24:55 UTC
(In reply to Marek Kašík from comment #9)
> (In reply to Matthias Clasen from comment #8)
> > I can't reproduce this since the printer panel in rawhide (3.25.4) doesn't
> > show any printers :-(
> 
> How have you set your printers? Using BrowsePoll in
> /etc/cups/cups-browsed.conf or by setting ServerName in
> /etc/cups/client.conf or by adding them manually via the new printer dialog
> of the panel?

Maybe it is related to this https://bugzilla.redhat.com/show_bug.cgi?id=1484916, which happens to me when I want to add a printer via the new printer dialog.
Comment 11 GNOME Infrastructure Team 2018-05-02 18:34:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/835.