[Goodies-dev] [Bug 16622] New: New line character not saved in date/time format across restarts

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Apr 1 12:28:22 CEST 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16622

            Bug ID: 16622
           Summary: New line character not saved in date/time format
                    across restarts
    Classification: Panel Plugins
           Product: Xfce4-datetime-plugin
           Version: unspecified
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: goodies-dev at xfce.org
          Reporter: b7.10110111 at gmail.com
  Target Milestone: ---

I'm using XFCE4 panel's Clock plugin with the following format: "   %A      
%R\n%_d %B %Y г.", where "\n" is the LF character (0x0A). It works fine,
meaning that the date/time format is indeed split into two lines as I wanted.
But after restarting the panel this LF character gets transformed into SPACE
character (0x20).

The problem seems to come from the fact that in
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml the relevant
property "digital-format" is always saved literally, with a hard newline, which
on deserialization gets normalized into space. If I change this newline to

, it gets loaded correctly, but is then overwritten by the wrong string.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Goodies-dev mailing list