Program error in function: Toolbar Size Allocate

Bug #1983800 reported by Demon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
New
Undecided
Unassigned

Bug Description

** (xpad:190557): WARNING **: 00:22:43.744: There is a problem in the program Xpad. In function 'xpad_pad_toolbar_size_allocate' the variable 'event->height' is not a positive number.

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Hi Demon,

Thanks for the bug report, but it is a bit, errr, lean. :)

Which version of Xpad does this happen?
How does it happen (describe steps)?

Cheers,
Arthur.

Revision history for this message
Demon (demonrx) wrote (last edit ):

Hi Arthur,

I thought it was too :))

I see this warning when starting Xpad(version 5.4) from the terminal.

I'm running Ubuntu 22 (22.04.1 LTS jammy)

( I have attached the log file for you - hope this helps )

I initially thought it might be caused because of starting the app from terminal rather than from the GUI. But I see there's commandline options available.

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

I am wondering if this bug is caused by an invalid pad.
To determine if it is pad dependent, I would like to start with a clean state.

Would you mind to

- Quit Xpad
- Rename the Xpad storage folder to something else, for example /home/demon/.config/xpad to /home/demon/.config/xpad-org
- Start Xpad
- Create a pad with some info
- Quit and start Xpad

Does it still happen? If not, it might be caused by a pad (configuration).

Or you able to find the problematic pad in the original folder (by trial and error)?

Revision history for this message
Demon (demonrx) wrote :

So your advice worked.

I beleive the error might be caused by the old default-style file.

ran diff command on the old and new version:

demon@JammyHP15:~/.config$ diff xpad/default-style xpad.old/default-style
1c1
< decorations 0
---
> decorations 1
9,13c9,13
< back NULL
< use_back 0
< text NULL
< use_text 0
< fontname Sans 12
---
> back rgb(0,0,0)
> use_back 1
> text rgb(186,189,182)
> use_text 1
> fontname Ubuntu 12
15c15
< auto_hide_toolbar 1
---
> auto_hide_toolbar 0
19c19
< autostart_delay 0
---
> autostart_delay 5

Revision history for this message
Demon (demonrx) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.