in reply to UI::Dialog fselect

I installed UI::Dialog and got the following results, something is wrong as shown below... Missing module?
#!/usr/bin/perl use strict; use warnings; use 5.010; use UI::Dialog; my $d = new UI::Dialog ( backtitle => 'Demo', title => 'Default', height => 20, width => 65 , listheight => 5, ## this is a problem ### order => [ 'zenity', 'xdialog' ] ); ); # Either a Zenity or Xdialog msgbox widget should popup, # with a preference for Zenity. $d->msgbox( title => 'Welcome!', text => 'Welcome one and all!' ); __END__ Prints: +------------------------------------------------------------------- +----------+ | Demo + | +------------------------------------------------------------------- +----------+ | + | | +----------------------------------------------------------------- +--------+ | | | Welcome! + | | | +----------------------------------------------------------------- +--------+ | | | Welcome one and all! + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | | + | | | +----------------------------------------------------------------- +--------+ | | + | +------------------------------------------------------------------- +----------+ [ Press Enter to Continue ] Process completed successfully

Replies are listed 'Best First'.
Re^2: UI::Dialog fselect
by stangoesagain (Acolyte) on Apr 21, 2016 at 17:41 UTC

    That's an idea - I've tried with zenity being preferred and fselect assigns value to variable as expected. I don't have xdialog installed so if I try xdialog I get "unable to load suitable backend" but not terminal output like yours.

    I suspect kdialog part of UI::Dialog hasn't been updated to work with latest KDE. On my system there was a jump from 4 to 5, not sure about exact version when it got broken. I use kdialog for file selection all the time and it works flawlessly when evoked by bash scripts.