System: Kubuntu 16.04 with kubuntu-backports enabled.
I made eight files: abc.txt, def.txt, ghi.txt, jkl.txt, mno.txt, pqr.txt, stu.txt, and vwx.txt. Then, I ran kdialog with --menu, --checklist, and --combobox. The terminal output is shown below.
What I see in the kdialog window that appears (not shown) is as follows.
Is there something I need to fix? I would prefer to use either --menu or --checklist, if that's possible.
Edit: zenity works fine: all eight files are listed but zenity isn't default in Kubuntu.
I made eight files: abc.txt, def.txt, ghi.txt, jkl.txt, mno.txt, pqr.txt, stu.txt, and vwx.txt. Then, I ran kdialog with --menu, --checklist, and --combobox. The terminal output is shown below.
What I see in the kdialog window that appears (not shown) is as follows.
- with --menu, I get the terminal message shown below and I only see four files: def.txt, jkl.txt, pqr.txt, and vwx.txt
- with --checklist, I get the terminal message shown below and I only see two files: def.txt and mno.txt
- with --combox, there's no terminal message and I can see all files by scrolling with the down arrow.
Is there something I need to fix? I would prefer to use either --menu or --checklist, if that's possible.
Code:
$ touch abc.txt def.txt ghi.txt jkl.txt mno.txt pqr.txt stu.txt vwx.txt $ ls abc.txt def.txt ghi.txt jkl.txt mno.txt pqr.txt stu.txt vwx.txt $ kdialog --menu "Select a file:" $(ls) QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory QFileSystemWatcher: failed to add paths: /home/chimak/.config/ibus/bus Bus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon $ kdialog --checklist "Select a file:" $(ls) QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory QFileSystemWatcher: failed to add paths: /home/chimak/.config/ibus/bus Bus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon $ kdialog --combobox "Select a file:" $(ls) $
Code:
$ zenity --list="Select a file:" --column="File" $(ls) Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. $
Comment