$ dialog --version
Version: 1.3-20250116
This is on a work machine as described here:
https://cloud.google.com/blog/topics/developers-practitioners/how-google-got-to-rolling-linux-releases-for-desktops
XFCE DE and verified with both xfce4-terminal and xterm(398)
Can provide straces, typescripts or --trace files if needed.
---
First: RC files fail to parse (fg,bg) attributes.
>From the generated file comment:
# Attribute - (foreground,background,highlight?,underline?,reverse?)
it seems to imply that hl,ul, and rv are all optional. But in
reality, it fails:
$ cat test.rc
screen_color = (GREEN,BLACK)
$ env DIALOGRC=test.rc dialog --msgbox test 0 0
test.rc:1: expected attribute value
init_dialog: dlg_parse_rc
Interestingly, adding just a trailing comma, without the usual ON |
OFF seems to work:
$ cat test.rc
screen_color = (GREEN,BLACK,)
$ env DIALOGRC=test.rc dialog --msgbox test 0 0
┌──────────────┐
│ test │
├──────────────┤
│ < OK > │
└──────────────┘
---
Second: It appears that Shift-TAB does not work with --tailboxbg by default.
The way I read the man page, it is implied that it should.
>From Built-in Bindings:
KEY_BTAB backward tab-traversal, e.g., with --tailboxbg.
And in the next paragraph in the Example section:
Tabs are also recognized as a special case for traversing between
widgets, e.g., when using multiple tailboxbg widgets.
In practice it does not. But, adding the following to the RC does:
bindkey tailbox BTAB FIELD_PREV
---
Third: When using --backtitle and --tailboxbg, the backtitle will
disappear on a resize.
There seems to be about a 1 second pause after the resize before the
backtitle disappears.
I actually only noticed this after seeing some release note about it
being fixed in the past and gave it a try.
It does NOT disappear --taibox, only with --tailboxbg and some other
box (tried with both --msgbox and --tailbox).
---
Cheers,
mrc