list insert extra row

68 views
Skip to first unread message

Tri Le

unread,
Apr 18, 2012, 4:46:02 PM4/18/12
to yad-common
I encounter a strange problem...yad list option insert an extra row if
run from dmenu or notification icon command. For example:

In dmenu, type: "yad --list --column col1 row1", it inserts an empty
row after "row1"
In terminal: type: "yad --list --column col1 row1", only "row1" exists

If you don't use dmenu, try this script

#!/bin/bash
function list {
yad --list --column col1 row1
}
if [[ $# -eq 0 ]]; then
yad --notification --command "$0 list"
else
list
fi

When you click on the notification icon, list dialog open with an
empty row after "row1". But if you run the script with an argument in
terminal (i.e. "path_to_script list"), only row1 exists.

Is this a bug in yad or some problems with bash or other setup?

Victor Ananjevsky

unread,
Apr 23, 2012, 3:55:19 AM4/23/12
to yad-c...@googlegroups.com
В Wed, 18 Apr 2012 13:46:02 -0700 (PDT)
Tri Le <tri...@gmail.com> писал:

> Delivered-To: anan...@gmail.com
> Received: by 10.180.81.134 wi

thanks for reporting. this is a bug from new feature - always listen
stdin even if command-line data is specified. i'll fix it in a next
release

--
Victor Ananjevsky <anan...@gmail.com>

Tri Le

unread,
Apr 23, 2012, 8:20:09 AM4/23/12
to yad-c...@googlegroups.com
Thanks Victor.  Do you expect to have another release soon?  Please let me know when it's available in svn so I can test it.

Victor Ananjevsky

unread,
Apr 23, 2012, 8:47:51 AM4/23/12
to yad-c...@googlegroups.com
В Mon, 23 Apr 2012 05:20:09 -0700 (PDT)
Tri Le <tri...@gmail.com> писал:

> Thanks Victor. Do you expect to have another release soon? Please let me

> know when it's available in svn so I can test it.

already in svn.

i want to complete notebook dialog before release. there is some
problems with passing child xid's to main widget, that's why i can't
tell explicit date of next release


--
Victor Ananjevsky <anan...@gmail.com>

Tri Le

unread,
Apr 24, 2012, 1:48:28 PM4/24/12
to yad-c...@googlegroups.com
Thank you....this problem is fixed.
Reply all
Reply to author
Forward
0 new messages