vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
968 stars 71 forks source link

AppImage File Chooser Dialog ignores "appname.appImage" #185

Closed lfom closed 3 years ago

lfom commented 3 years ago

Before opening a new issue Install the staging branch and check if the unexpected behavior is happening there as well. If you are on ArchLinux-based distro, you can install it through AUR (bauh-staging). Otherwise, you have to clone the repository and install it with pip.

Done, the problem persists

Describe the bug

File picker for AppImage ignores other cases for file extension, like appname.appImage or appname.appimage. It would be nice if it was case insensitive or includes most common cases, at least. Or perhaps include a "All Files" filter to show any file, and do some checking if the file is actually an AppImage.

Software Environment bauh version: 0.9.18 O.S: _Pop!OS 21.04 (like Ubuntu 21.04) Python version: Pyhton 3.9.5 Installation method: pip

Once again, thanks a lot for bauh. Regards

vinifmor commented 3 years ago

@lfom it works for KDE (at leat) independently of the case like the picture below shows: bauh_appimage

But I will have a look if there is a property that could force the case to be ignored.

lfom commented 3 years ago

@vinifmor Hmm... For some reason, it seems that on Gnome (at least on Pop!_OS) it uses a GTK-based file dialog, and filters are case sensitive.

Screenshot from 2021-08-21 12-25-04

vinifmor commented 3 years ago

Added a generic filter (.*) for this cases. Already on staging.

lfom commented 3 years ago

@vinifmor Tested on 0.9.19 and I have found a few quirks:

  1. The file dialog now always use the Qt version (OK)
  2. When adding an AppImage manually, the file dialog most often starts using (*.*) filter instead of (*.AppImage) filter (GLITCH)
  3. The Upgrade AppImage file dialog only has the (*.AppImage) filter, but as it seems to be case insensitive now probably it is a very minor glitch (GLITCH?)

If you want, I can open new issues for 2 or 3, if you think it will help. Thank you again. Regards

vinifmor commented 3 years ago

Alright. It's better for tracking the pending issues/behaviors. Thank you.

Regards