[SRU] Enable setting property of type UTF8_STRING
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | x11-utils (Ubuntu) |
Medium
|
Alberto Milone | ||
| | Precise |
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 |
| Alberto Milone (albertomilone) wrote : | #1 |
Hello Alkis, or anyone else affected,
Accepted x11-utils into precise-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: | added: verification-needed |
| Alkis Georgopoulos (alkisg) wrote : | #3 |
I've verified that x11-utils 7.6+4ubuntu0.2 works as expected in Ubuntu 12.04.1, please push it to precise-updates.
| tags: |
added: verification-done removed: verification-needed |
| Changed in x11-utils (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in x11-utils (Ubuntu Precise): | |
| status: | New → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package x11-utils - 7.6+4ubuntu0.2
---------------
x11-utils (7.6+4ubuntu0.2) precise-proposed; urgency=medium
* Add 101_xprop_
bad format character error whn using UTF-8 strings.
(LP: #1463663)
-- Alberto Milone <email address hidden> Thu, 11 Jun 2015 09:45:25 +0200
| Changed in x11-utils (Ubuntu Precise): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #5 |
The verification of the Stable Release Update for x11-utils has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.


Please accept x11-utils_ 7.6+4ubuntu0. 2 into the precise-proposed repository.