[SRU] Enable setting property of type UTF8_STRING
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x11-utils (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Xprop added support for UTF8_STRING back in 2009:
http://
Unfortunately `xprop -f 8u -set` has been broken until 2012:
http://
That patch has not been backported to Ubuntu 12.04.1 (x11-utils 7.6+4), so it's impossible to use "8u" there.
One notable use case is with LTSP, where we're using xprop as an ad-hoc mechanism for server<=>thin clients communication, and we were recently asked to add UTF8 support to it:
https:/
[Test Case]
This is how to reproduce the issue on Precise 12.04.1:
$ lsb_release -r
Release: 12.04
$ dpkg-query -W x11-utils
x11-utils 7.6+4ubuntu0.1
$ xprop -root -f LTSP_COMMAND 8u -set LTSP_COMMAND xterm
xprop: error: bad format character: u
This is what the correct output looks like on Trusty 14.04.2:
$ lsb_release -r
Release: 14.04
$ dpkg-query -W x11-utils
x11-utils 7.7+1
$ xprop -root -f LTSP_COMMAND 8u -set LTSP_COMMAND xterm
<no output, no error>
$ xprop -root | grep LTSP_COMMAND
LTSP_
[Regression Potential]
Low, the patch comes from upstream and it's already included in all Ubuntu versions after 12.04.1.
Related branches
Changed in x11-utils (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in x11-utils (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in x11-utils (Ubuntu Precise): | |
status: | New → Fix Committed |
Please accept x11-utils_ 7.6+4ubuntu0. 2 into the precise-proposed repository.