Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcut for searching/focusing search text field #1836

Open
mivoligo opened this issue Oct 7, 2024 · 4 comments
Open

Keyboard shortcut for searching/focusing search text field #1836

mivoligo opened this issue Oct 7, 2024 · 4 comments

Comments

@mivoligo
Copy link

mivoligo commented Oct 7, 2024

Today I just started the new App Center for a very first time. Looking good, great work guys and gals!

My first issue is that I'm not able to quickly start searching without a mouse. Ctrl+F doesn't seem to work as I was expecting. I've seen the bug #1707 but it looks like for them it started working somehow.

Ubuntu 24.04.1 LTS, App Center v 1.0.0

@d-loose
Copy link
Member

d-loose commented Oct 7, 2024

Thanks for your report, could you please post the output of snap info snap-store? A keyboard shortcut was added in #1574 and works for me on snap revision 1218 from channels latest/stable/ubuntu-24.04 or 2/stable. Do you see any relevant error messages when running snap-store in the terminal and pressing Ctrl+F in the UI after it's loaded?

@mivoligo
Copy link
Author

mivoligo commented Oct 7, 2024

Thanks for quick replay.
Here we go:

 ➜  ~ snap info snap-store                    
name:    snap-store
summary: Snap Store is a graphical desktop application for discovering,
  installing and managing snaps on Linux.
publisher: Canonical✓
store-url: https://snapcraft.io/snap-store
contact:   https://bugs.launchpad.net/snap-store/
license:   unset
description: |
  Snap Store showcases featured and popular applications with useful
  descriptions, ratings, reviews and screenshots.
  
  
  Applications can be found either through browsing categories
  or by searching.
  
  
  Snap Store can also be used to switch channels, view and alter snap
  permissions and view and submit reviews and ratings.
  
  
  Snap Store is based on GNOME Software, optimized for the Snap experience.
commands:
  - snap-store.show-updates
  - snap-store
snap-id:      gjf3IPXoRiipCu9K0kVu52f0H56fIksg
tracking:     2/stable/ubuntu-24.04
refresh-date: 10 days ago, at 19:22 CEST
channels:
  2/stable:          0+git.4fcd62b7   2024-09-19 (1218) 11MB -
  2/candidate:       ↑                                       
  2/beta:            ↑                                       
  2/edge:            0+git.eaf0192a   2024-10-07 (1228) 11MB -
  latest/stable:     41.3-72-g80e7130 2024-09-22 (1216) 12MB -
  latest/candidate:  ↑                                       
  latest/beta:       ↑                                       
  latest/edge:       0+git.eaf0192a   2024-10-07 (1228) 11MB -
  preview/stable:    –                                       
  preview/candidate: 0.2.7-alpha      2023-02-02  (864) 10MB -
  preview/beta:      ↑                                       
  preview/edge:      0.3.0-alpha      2023-08-14 (1017) 11MB -
  1/stable:          41.3-72-g80e7130 2024-09-22 (1216) 12MB -
  1/candidate:       ↑                                       
  1/beta:            ↑                                       
  1/edge:            41.3-72-g80e7130 2024-09-16 (1216) 12MB -
installed:           0+git.4fcd62b7              (1218) 11MB -

Nothing happens in my terminal if I press ctrl+F while running the app. Here's the output after starting snap-store:

➜  ~ snap-store          
Gtk-Message: 17:27:42.382: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(snap-store:52192): Gtk-WARNING **: 17:27:42.426: GTK+ module /snap/snap-store/1218/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 17:27:42.426: Failed to load module "canberra-gtk-module"

(snap-store:52192): Gtk-WARNING **: 17:27:42.427: GTK+ module /snap/snap-store/1218/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 17:27:42.427: Failed to load module "canberra-gtk-module"
flutter: INFO snap-store: Logging to /home/michal/snap/snap-store/1218/.local/share/snap-store/snap-store.log

(snap-store:52192): Gdk-CRITICAL **: 17:27:46.241: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

** (snap-store:52192): WARNING **: 17:28:07.514: atk-bridge: get_device_events_reply: unknown signature

@d-loose
Copy link
Member

d-loose commented Oct 9, 2024

I'm not able to reproduce this problem and none of the GTK warnings seem to be relevant. Do other keys work in the application? E.g. can you navigate between the tiles using the arrow keys?

@mivoligo
Copy link
Author

mivoligo commented Oct 9, 2024

Yes, I can navigate using arrows and/or tab but only between tiles. I'm not able to focus the search area (or anything in the left panel) using the keyboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants