[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946870: nemo: default application is hidden for executables



Package: nemo
Version: 3.8.5-1+b1
Severity: normal

Dear Maintainer,

[Problem description]
The default application associated with a file is hidden, if the file is set with the execute permission. As a result, the user cannot open an executable file in the default associated application from a context menu (also including "Open with" submenu).

[Steps to reproduce]
1. Go to Nemo preferences.
2. Go to the "Behavior" tab.
3. Select "Run executable text files when they are opened" radio button in the "Executable Text Files" group.
4. Close the preferences window.

5. Create an empty file, named "test.txt".
6. Right click on the file to open the context menu.
7. The default application associated with the file is shown on the top of the context menu
8. Select "Open with" item in the menu.
9. The submenu lists alternative applications associated with the file.

10. Make the file executable.
11. Right click on the file to open the context menu.
12. The context menu doesn't contain the option to open the file in the preferred application (which is right, because the file is executed by default).
13. Click "Open with" item in the menu to open list of associated applications.
14. The "Open with" submenu contains list of alternative associations, but doesn't contain the preferred application.


[Observed behavior]
Usually, files are opened in the default associated application on double-click. The default application is also shown as the topmost item in the context menu at right mouse click. Alternative applications are shown in the "Open with" submenu in the context menu.

When the file is set with the execute permission, instead of being opened in the default application, the file gets executed. The topmost item in the context menu corresponds the default action, executing the file too. That's all right.

Though, the "Open with" submenu still contains alternative associated applications, but doesn't contain the prefferred one. As a result, the user cannot easily open an executable file in the preferred application.


[Expected behavior]
"Open with" submenu shall cotain the preferred associated application at the top of the list either for absolutely all files or at minimum only for executable files.


[Workaround]
To open an executable file in the preferred associated application follow these steps:
1. Right click on the file to open the context menu.
2. Click "Open with" in the context menu.
3. Select "other application..." item.
4. The "Open with" window opens with the preferred application being already selected.
5. Press enter or "OK" button.

This cannot be considered as a solution, because openning file in the preferred application requires more steps, then openning the file in an alternative associated application.


Cheers.


-- System Information:
Debian Release: 10.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU:ru (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nemo depends on:
ii cinnamon-desktop-data 3.8.1-2
ii desktop-file-utils 0.23-4
ii gsettings-desktop-schemas 3.28.1-1
ii gvfs 1.38.1-5
ii libatk1.0-0 2.30.0-2
ii libc6 2.28-10
ii libcairo-gobject2 1.16.0-4
ii libcairo2 1.16.0-4
ii libcinnamon-desktop4 3.8.1-2
ii libexempi8 2.5.0-2
ii libexif12 0.6.21-5.1
ii libgail-3-0 3.24.5-1
ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1
ii libglib2.0-0 2.58.3-2+deb10u2
ii libglib2.0-data 2.58.3-2+deb10u2
ii libgtk-3-0 3.24.5-1
ii libnemo-extension1 3.8.5-1+b1
ii libnotify4 0.7.7-4
ii libpango-1.0-0 1.42.4-7~deb10u1
ii libpangocairo-1.0-0 1.42.4-7~deb10u1
ii libselinux1 2.8-1+b1
ii libx11-6 2:1.6.7-1
ii libxapp1 1.2.2-1
ii libxml2 2.9.4+dfsg1-7+b3
ii nemo-data 3.8.5-1
ii shared-mime-info 1.10-1

Versions of packages nemo recommends:
ii cinnamon-l10n 3.8.2-1
ii gvfs-backends 1.38.1-5
ii gvfs-fuse 1.38.1-5
ii librsvg2-common 2.44.10-2.1
ii nemo-fileroller 3.8.0-2

Versions of packages nemo suggests:
ii eog 3.28.4-2+b1
ii evince [pdf-viewer] 3.30.2-3
ii totem 3.30.0-4
ii xdg-user-dirs 0.17-2


Reply to: