#1085995 xpad: Background color not keeped after logout/login

Package:
xpad
Source:
xpad
Description:
sticky note application for X
Submitter:
swingrock
Date:
2026-08-18 15:37:02 UTC
Severity:
normal
Tags:
#1085995#5
Date:
2024-10-24 12:55:51 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
On debian bookworm with xfce, i install xpad
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
When i change the background color of a sitcky note : right clic --> Edit --> presentation
and i use a background color the notes change its color (lets say yellow)
but on logout/login or on reboot, it change back to the defaut color (gray in my case)
   * What was the outcome of this action?
The background color desplayed is the choosen one (yellow)
but if i return again to change it, i saw it's still grey (the default)
   * What outcome did you expect instead?
I expect the choosen color to be keeped upon reboot and also from time to time when changing the color
   * content of ~/.config/xpad/default-style
decorations 1
height 200
width 200
confirm_destroy 1
edit_lock 0
sticky_on_start 0
tray_enabled 1
tray_click_configuration 1
back rgb(255,238,153)
use_back 1
text rgb(46,52,54)
use_text 1
fontname Sans 9
toolbar 1
auto_hide_toolbar 1
scrollbar 1
buttons New, Delete, Separator, Cut, Copy, Paste, Separator, Undo, Redo, Preferences
autostart_wait_systray 1
autostart_delay 0
autostart_new_pad 0
autostart_display_pads 0
hide_from_taskbar 1
hide_from_task_switcher 1
line_numbering 0
   * End of file
   * content of ~/.config/xpad/default-style
width 488
height 244
x 1414
y 19
follow_font 1
follow_color 0
sticky 0
hidden 0
back rgb(238,238,236)
text rgb(0,0,0)
fontname Sans 9
content content-9DDFIZ
   * End of file


*** End of the template - remove these template lines ***

#1085995#10
Date:
2024-11-21 20:53:50 UTC
From:
To:
Compile latest source with debug option and run it with valgrind

that doesn't look great but i can't find what's wrong in source code
could someone take a look.

also see https://bugs.launchpad.net/xpad/+bug/2083321

$ valgrind --track-origins=yes ./xpad

==19259== Memcheck, a memory error detector
==19259== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==19259== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==19259== Command: ./xpad
==19259==
==19259== Conditional jump or move depends on uninitialised value(s)
==19259== at 0x116B6E: xpad_pad_text_and_toolbar_height (xpad-pad.c:669)
==19259== by 0x11815C: xpad_pad_show_toolbar.part.0 (xpad-pad.c:703)
==19259== by 0x1184D0: xpad_pad_show_toolbar (xpad-pad.c:681)
==19259== by 0x1184D0: xpad_pad_notify_has_toolbar (xpad-pad.c:600)
==19259== by 0x11A1C8: xpad_pad_constructed (xpad-pad.c:393)
==19259== by 0x542AE05: ??? (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7400.6)
==19259== by 0x542C982: g_object_new_valist (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7400.6)
==19259== by 0x542CFD8: g_object_new (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7400.6)
==19259== by 0x11A9EA: xpad_pad_new_with_info (xpad-pad.c:171)
==19259== by 0x1140D8: xpad_app_load_pads (xpad-app.c:519)
==19259== by 0x1140D8: xpad_app_init (xpad-app.c:174)
==19259== by 0x1140D8: main (xpad-app.c:211)
==19259== Uninitialised value was created by a stack allocation
==19259== at 0x116A66: xpad_pad_text_and_toolbar_height (xpad-pad.c:654)
==19259==
==19259== Conditional jump or move depends on uninitialised value(s)
==19259== at 0x118168: xpad_pad_show_toolbar.part.0 (xpad-pad.c:703)
==19259== by 0x1184D0: xpad_pad_show_toolbar (xpad-pad.c:681)
==19259== by 0x1184D0: xpad_pad_notify_has_toolbar (xpad-pad.c:600)
==19259== by 0x11A1C8: xpad_pad_constructed (xpad-pad.c:393)
==19259== by 0x542AE05: ??? (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7400.6)
==19259== by 0x542C982: g_object_new_valist (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7400.6)
==19259== by 0x542CFD8: g_object_new (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7400.6)
==19259== by 0x11A9EA: xpad_pad_new_with_info (xpad-pad.c:171)
==19259== by 0x1140D8: xpad_app_load_pads (xpad-app.c:519)
==19259== by 0x1140D8: xpad_app_init (xpad-app.c:174)
==19259== by 0x1140D8: main (xpad-app.c:211)
==19259== Uninitialised value was created by a stack allocation
==19259== at 0x116A66: xpad_pad_text_and_toolbar_height (xpad-pad.c:654)
==19259==
==19259== Conditional jump or move depends on uninitialised value(s)
==19259== at 0x116B6E: xpad_pad_text_and_toolbar_height (xpad-pad.c:669)
==19259== by 0x11815C: xpad_pad_show_toolbar.part.0 (xpad-pad.c:703)
==19259== by 0x11AE37: xpad_pad_show_toolbar (xpad-pad.c:1327)
==19259== by 0x11AE37: xpad_pad_load_info (xpad-pad.c:1318)
==19259== by 0x11AE37: xpad_pad_new_with_info (xpad-pad.c:174)
==19259== by 0x1140D8: xpad_app_load_pads (xpad-app.c:519)
==19259== by 0x1140D8: xpad_app_init (xpad-app.c:174)
==19259== by 0x1140D8: main (xpad-app.c:211)
==19259== Uninitialised value was created by a stack allocation
==19259== at 0x116A66: xpad_pad_text_and_toolbar_height (xpad-pad.c:654)
==19259==
==19259== Conditional jump or move depends on uninitialised value(s)
==19259== at 0x118168: xpad_pad_show_toolbar.part.0 (xpad-pad.c:703)
==19259== by 0x11AE37: xpad_pad_show_toolbar (xpad-pad.c:1327)
==19259== by 0x11AE37: xpad_pad_load_info (xpad-pad.c:1318)
==19259== by 0x11AE37: xpad_pad_new_with_info (xpad-pad.c:174)
==19259== by 0x1140D8: xpad_app_load_pads (xpad-app.c:519)
==19259== by 0x1140D8: xpad_app_init (xpad-app.c:174)
==19259== by 0x1140D8: main (xpad-app.c:211)
==19259== Uninitialised value was created by a stack allocation
==19259== at 0x116A66: xpad_pad_text_and_toolbar_height (xpad-pad.c:654)
==19259==
==19259==
==19259== HEAP SUMMARY:
==19259== in use at exit: 3,781,907 bytes in 40,482 blocks
==19259== total heap usage: 581,611 allocs, 541,129 frees, 51,635,451
bytes allocated
==19259==
==19259== LEAK SUMMARY:
==19259== definitely lost: 29,696 bytes in 32 blocks
==19259== indirectly lost: 50,227 bytes in 2,109 blocks
==19259== possibly lost: 15,647 bytes in 66 blocks
==19259== still reachable: 3,478,065 bytes in 36,530 blocks
==19259== suppressed: 0 bytes in 0 blocks
==19259== Rerun with --leak-check=full to see details of leaked memory
==19259==
==19259== For lists of detected and suppressed errors, rerun with: -s
==19259== ERROR SUMMARY: 24 errors from 4 contexts (suppressed: 0 from 0)

#1085995#21
Date:
2026-08-18 15:34:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xpad, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1085995@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeroen Ploemen <jcfp@debian.org> (supplier of updated xpad package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 18 Aug 2026 15:15:00 +0000
Source: xpad
Built-For-Profiles: noudeb
Architecture: source
Version: 5.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Jeroen Ploemen <jcfp@debian.org>
Changed-By: Jeroen Ploemen <jcfp@debian.org>
Closes: 1085995
Changes:
 xpad (5.9.0-1) unstable; urgency=medium
 .
   * CI: refresh config.
   * New upstream version 5.9.0:
     + fixes loss of pad colors after restart. (Closes: #1085995)
   * Control: remove redundant fields.
   * Bump Standards-Version to 4.7.4 (from 4.7.0; no further changes).
   * Watch: bump to v5.
Checksums-Sha1:
 6b20a47a03100a43d511c48a2f4c20166c44c75a 2135 xpad_5.9.0-1.dsc
 30a501e1f8c0df6db293d24674728e86f1259628 167251 xpad_5.9.0.orig.tar.bz2
 2afeb855ddd8aeb6c26da79d7e12355b60480f54 488 xpad_5.9.0.orig.tar.bz2.asc
 e88180cbe5c8e8bd3c730a754cf3c351ca512ca6 7532 xpad_5.9.0-1.debian.tar.xz
 d58414b99f91d111a6e835f7449c8e77ead674de 8772 xpad_5.9.0-1_source.buildinfo
Checksums-Sha256:
 9138ec0401f58aa0c38d0bc79fe661823ccf6374545af46c518ed5468ef6f73b 2135 xpad_5.9.0-1.dsc
 16c35f52cd550a7bf920a57aa07ed7bfda6fa9eec50a98024e93acb7fe16dca3 167251 xpad_5.9.0.orig.tar.bz2
 1d589876ac16458062d2bd1eec810dacb0bc89353669917e0e75dfe0030535b3 488 xpad_5.9.0.orig.tar.bz2.asc
 af3613ca3ec3f9962dc3d779358904ab4fab1af155e933be9776736c8ab851e6 7532 xpad_5.9.0-1.debian.tar.xz
 85a6b8a34964fded64192758ca561dcca28fa772543a9afae9bb26800b38a838 8772 xpad_5.9.0-1_source.buildinfo
Files:
 cae725040d4e9be8cc72a6f68cba05cd 2135 x11 - xpad_5.9.0-1.dsc
 347b218b50170ac4f0f8e3944203817f 167251 x11 - xpad_5.9.0.orig.tar.bz2
 bd4a015b73b9f7465a7f0cccbac98e28 488 x11 - xpad_5.9.0.orig.tar.bz2.asc
 855bbb5b88d8ae496f34f39d74e4b1c0 7532 x11 - xpad_5.9.0-1.debian.tar.xz
 86ffcde0d1493c029c952a562f0867b8 8772 x11 - xpad_5.9.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmqEdwIACgkQQoMEoXSN
zHo2oxAA7UcXNDaQMtji8y6vHyEl1D/zukpgpMoP88K+j/uWuRkEBohPGkYkSMPG
PelhCOikiHSWmYMT3n59MuZfs0qk/bB6dJXc1Ef+BEZSkj5FgICdDW0y97nfbaG/
3tQu41VZFu5SKy32ENcOMTi+w9KqMvE6I+lWqTSmsJxgqYjIZSAQOH1MCO4qNy8K
ciYvAIOECcEn/LE6KgldPZlo+os9yWY28l0cqzfXB+IT1hoP1PAyoKroij4SSspz
M4b+G0rUPqMSTeUolt8EIV0DjlncVPwhntAJZO1c4R4a45NLz77+I0rw1tEMJVSL
LFKw8lz/niRaX2/wQHcdS+OTF5ydhVZEJYEohhHK0BYppDLsOaXv4+OH+Sy2xDoS
7rd+/aOwUYQIM4xXRjLkvn55KWjxUniUY8Df0noP7qvKwjind4DpFcNi8tYBCIQU
H6FVIP94BaKCMUzAWQdvGEmEQ2K9F/afBm6ifTzz2RQ3RHz7jBMbOFBLasJYQwip
O4EXVODSlU5BxXolPR/hl46sQK9pXr7/4IgeRuL4Y/ztVigDC4AgkQq6B9YOi9xf
2LTpPaFyZPXdF83aPnu7gtDln2UpAcwFTTAH5Km36E1RzytpGrQ4VDfVnDDmBDye
9XcIfsBRA/rwqgPOWhYbKtNnydmHM1+CreTB3Qhic/tgmqvqJzw=
=gZA1
-----END PGP SIGNATURE-----