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 767278 - Ctrl+1 and Ctrl+2 View Change Hot Keys / Accelerators Don't Work
Ctrl+1 and Ctrl+2 View Change Hot Keys / Accelerators Don't Work
Status: RESOLVED DUPLICATE of bug 764167
Product: nautilus
Classification: Core
Component: Views: All
3.20.x
Other Linux
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-06 02:27 UTC by Electric Prism
Modified: 2016-06-11 05:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Region, Language, Input (13.42 KB, image/png)
2016-06-07 10:07 UTC, Electric Prism
Details

Description Electric Prism 2016-06-06 02:27:24 UTC
In Nautilus 3.20 try to change the view of the current folder using hotkeys
Ctrl + 1 or Ctrl + 2 to switch between Icon and List View, neither work.

Notice in Nautilus 3.18 how they work just fine.

I consider this a critical workflow issue as it disrupts advanced dedicated users workflow
Comment 1 Ernestas Kulik 2016-06-06 17:00:23 UTC
What keyboard layout do you use? It is most likely the culprit, because the accels are present and operational in 3.20.1.
Comment 2 Electric Prism 2016-06-07 10:07:35 UTC
Created attachment 329248 [details]
Region, Language, Input
Comment 3 Electric Prism 2016-06-07 10:09:15 UTC
@Ernestas Kulik - See Attached Image above. Does that contain my keyboard information? As far as I know it looks like EN_US
Comment 4 Electric Prism 2016-06-07 10:10:24 UTC
Also, here's the output from Arch CLI

➜  ~ localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: n/a
Comment 5 Ernestas Kulik 2016-06-07 12:35:04 UTC
Do you mind running nautilus with GTK_DEBUG=keybindings, trying to trigger the accelerators and uploading the output?

I am trying whatever I can to reproduce, but nothing is working.
Comment 6 Carlos Soriano 2016-06-07 12:49:54 UTC
what distribution and version of distribution?
Comment 7 Carlos Soriano 2016-06-07 13:47:25 UTC
Are you using 3.20.1? We included a fix there https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-20&id=c8250f10ed3eae85dd5ab6acc8b9a9abcdc3972d
Comment 8 Ernestas Kulik 2016-06-07 13:50:25 UTC
Feel free to reopen if this really is a separate issue.

*** This bug has been marked as a duplicate of bug 764167 ***
Comment 9 Electric Prism 2016-06-11 01:53:55 UTC
@Ernestas Kulik - Here's the output you requested

--------------------
➜  ~ nautilus / GTK_DEBUG=keybindings
** Message: Initializing gksu extension...
sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded.
/usr/share/nautilus-python/extensions/nautilus-admin.py:18: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import Nautilus, GObject, GConf, Gtk, GLib
Initializing ownCloud-client-nautilus extension
Socket: /run/user/1000/ownCloud/socket <=> /ownCloud/socket
Socket File: /run/user/1000/ownCloud/socket
Setting connected to True.
Socket watch id: 9

(nautilus:32046): Gtk-WARNING **: Theme directory actions/48 of theme breeze-dark has no size field


(nautilus:32046): Gtk-WARNING **: Theme directory categories/16 of theme breeze-dark has no size field


(nautilus:32046): Gtk-WARNING **: Theme directory categories/22 of theme breeze-dark has no size field


(nautilus:32046): Gtk-WARNING **: Theme directory categories/48 of theme breeze-dark has no size field


(nautilus:32046): Gtk-WARNING **: Theme directory devices/48 of theme breeze-dark has no size field


(nautilus:32046): Gtk-WARNING **: Theme parsing error: <broken file>:1:0: Failed to import: The resource at '/org/gnome/libgd/tagged-entry/default.css' does not exist
Server response: REGISTER_PATH:/Genesis/Profiles/ElectricPrism/ownCloud
Server response: STATUS:OK:/Genesis/Profiles/ElectricPrism/ownCloud

(nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>1' tries to invoke action 'slot.files-view-mode' with target '1', but action expects parameter with type 'u'

(nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>2' tries to invoke action 'slot.files-view-mode' with target '0', but action expects parameter with type 'u'
➜
--------------------

➜  ~ nautilus --version
** Message: Initializing gksu extension...
sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded.
/usr/share/nautilus-python/extensions/nautilus-admin.py:18: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import Nautilus, GObject, GConf, Gtk, GLib
Initializing ownCloud-client-nautilus extension
Socket: /run/user/1000/ownCloud/socket <=> /ownCloud/socket
Socket File: /run/user/1000/ownCloud/socket
Setting connected to True.
Socket watch id: 9
GNOME nautilus 3.20.0
Server response: REGISTER_PATH:/Genesis/Profiles/ElectricPrism/ownCloud
Server response: STATUS:OK:/Genesis/Profiles/ElectricPrism/ownCloud
➜  ~
Comment 10 Electric Prism 2016-06-11 01:59:35 UTC
➜  ~ screenfetch
                   -`
                  .o+`                 electricprism@citadel
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 4.5.4-1-ARCH
               `+oooooo:               Uptime: 15h 50m
               -+oooooo+:              Packages: 2033
             `/:-:++oooo+:             Shell: zsh 5.2
            `/++++/+++++++:            Resolution: 1920x1080
           `/++++++++++++++:           DE: Gnome 
          `/+++ooooooooooooo/`         WM: GNOME Shell
         ./ooosssso++osssssso+`        WM Theme: Adwaita
        .oossssso-````/ossssss+`       GTK Theme: Adwaita [GTK2/3]
       -osssssso.      :ssssssso.      Icon Theme: breeze-dark
      :osssssss/        osssso+++.     Font: Droid Sans 11
     /ossssssss/        +ssssooo/-     CPU: Intel Core i7-6700K CPU @ 4.2GHz
   `/ossssso+/:-        -:/+osssso+-   GPU: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 
  `+sso+:-`                 `.-/+oso:  RAM: 6010MiB / 15937MiB
 `++:.                           `-/+/
 .`                                 `/
Comment 11 Ernestas Kulik 2016-06-11 05:44:09 UTC
(In reply to Electric Prism from comment #9)
> (nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>1' tries to invoke
> action 'slot.files-view-mode' with target '1', but action expects parameter
> with type 'u'
> 
> (nautilus:32046): Gtk-WARNING **: Accelerator '<Primary>2' tries to invoke
> action 'slot.files-view-mode' with target '0', but action expects parameter
> with type 'u'
>
> GNOME nautilus 3.20.0

That confirms our suspicions. There is definitely an update with a fix available.