Closed dan-snelson closed 1 year ago
Steps to reproduce (?)
In one Terminal window, issue the following commands:
rm -v /var/tmp/dialog.log
dialog --infotext --moveable --bannerimage https://img.freepik.com/free-photo/dramatic-white-clouds-blue-sky-from-airplane-window-view-colorful-sunset-cloudscape-background_90220-1208.jpg --bannertitle "An Important Message"
In a second Terminal window, issue the following commands:
echo "bannertitle: Updated Banner Title" >> /var/tmp/dialog.log
# Observe no change
echo "message: Updated message" >> /var/tmp/dialog.log
# Observe the message is updated
echo "title: Updated Title" >> /var/tmp/dialog.log
# Observe the `bannertitle` is updated
echo "bannertitle: Updated Banner Title" >> /var/tmp/dialog.log
# Observe no change
echo "title: Updated Title 2" >> /var/tmp/dialog.log
# Observe the `bannertitle` is updated
After counseling with Bart Reardon, this above behavior is "working as designed."
(Perhaps I'm looking at the wrong line in SYM.)
See Bart's response.
I'm not sure that Bart is fully understanding what the issue is. And this also applies to any of the areas where "title" is used in the "Finalise User Experience" block of code. The issue is that if you use the "title" tag it does not behave the same way as the "bannertitle" tag. If you use "title" and put \n characters in for a line break, they display as plain text and not as line breaks. If you use "bannertitle" and put the \n characters in, they display properly as line breaks.
Thanks for the update, @brianhm.
@brianhm:
As this is a swiftDialog-related issue, I'll close it as "not planned."
Thanks.
Describe the bug Line 1572 currently updates
title
, but should most likely be updatingbannertitle
.Thanks for the report, Brian Klotz!