Summary: | ck-history eat string if SeatID longer than seven characters. | ||
---|---|---|---|
Product: | ConsoleKit | Reporter: | Halton Huo <halton.huo> |
Component: | Daemon | Assignee: | william.jon.mccann |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | brian.cameron |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | patch to show full name |
Description
Halton Huo
2009-12-04 00:10:34 UTC
Comment on attachment 31728 [details] [review] patch to show full name The point is to align the columns. This patch removes the alignment. I don't think that is desirable. (In reply to comment #1) > (From update of attachment 31728 [details] [review]) > The point is to align the columns. This patch removes the alignment. I don't > think that is desirable. The length session_id and seat_id are variable, they could be longer than 10 and 7 characters. Return the exact session_id and seat_id is required for script like gdmdynamic (http://src.opensolaris.org/source/xref/jds/spec-files/trunk/ext-sources/gdmdynamic) Using "\t" fix this problem, but yes, it sometimes break the alignment when the length of session_id or seat_id are varied too much. To keep the alignment, a possible idea is to to check maximum length of session_id and seat_id, use more "\t" if the max_length is bigger than 8. The number_tab=max_length/8. Does it make sense? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.