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

Bug: icon selection window does not appear #1399

Open
JaquesBoeno opened this issue Feb 14, 2024 · 1 comment
Open

Bug: icon selection window does not appear #1399

JaquesBoeno opened this issue Feb 14, 2024 · 1 comment
Assignees
Labels

Comments

@JaquesBoeno
Copy link

when I tried to import icons in the yubico auth app there was absolutely nothing going on, intrigued by this I started the app through the terminal to have access to the logs and realized that when I clicked on the import icons button of the custom icons section he threw me this error:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Couldn't find the executable zenity in the path.
#0 isExecutableOnPath (package:file_picker/src/utils.dart:60)

#1 FilePickerLinux._getPathToExecutable (package:file_picker/src/linux/file_picker_linux.dart:120)

#2 FilePickerLinux.pickFiles (package:file_picker/src/linux/file_picker_linux.dart:23)

#3 _ImportActionChip._importAction (package:yubico_authenticator/oath/icon_provider/icon_pack_dialog.dart:177)

with a simple analize I realized that I needed to install zenity, because I use kde plasma as my graphical environment in linux, and by default it does not use zenity, but kdialog. Problem solved, zenity installed and now I can import the icons in the app, I opened this Issue so that the bug is fixed and so that others who have the same problem find a paleactive solution by then

@AdamVe
Copy link
Member

AdamVe commented Feb 27, 2024

Hi! Thank you for the report, we were not aware of this issue - a library we use uses zenity or similar sw for displaying dialogs. There is already an issue reported in the library’s repository (miguelpruivo/flutter_file_picker#1451).

As a workaround I would recommend one of the following:

  • install zenity on your system with (for example with sudo apt install -y zenity)
  • drag and drop the icon package onto the application when the Custom icons dialog is opened (available since Yubico Authenticator 6.4.0).
dragdrop_custom_icons.mp4

You can download an icon pack from https://aegis-icons.github.io/

Let me know if you need any more help.

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

No branches or pull requests

2 participants