Xpad not working properly in Ubuntu 21.04

Asked by Roysten Rigobert

Hello everyone,

I really love Xpad, but since I very recently updated to Ubuntu 21.04, the application seems to behave strangely:
- Pads cannot be resized or moved anymore, at least not the usual way. The cursor even changes when hovering the edge of a window, but the pad just wont change its size. Moving however can be achieved by pressing the Super (Windows) button.
- Icons are visible in the task bar and the task switcher, even when checking the corresponding boxes in the settings.
- Pads do not save their size and position when closed. They will always open in a position which I cannot change, not even by editing the configuration files ("info-") in the ~/.config/xpad directory. Though setting the size of a pad seems to be possible by changing the default values in the "default-style" configuration file and then creating a new pad. However, this sadly has not worked for position.

I have no idea what these issues are caused by and whether they can even be solved by updates to the Xpad application. I just wanted to report them and ask for your estimate if I should wait and see if Ubuntu might be updated soon hopefully solving the issues or if this really is an issue with Xpad (maybe then this needs to be turned into a bug report, however I was not courageous enough to post a bug report, yet).

Question information

Language:
English Edit question
Status:
Solved
For:
Xpad Edit question
Assignee:
No assignee Edit question
Solved by:
Arthur Borsboom
Solved:
Last query:
Last reply:
Revision history for this message
Arthur Borsboom (arthurborsboom) said :
#1

Hi Roysten,

Which version of Xpad is being used?

Revision history for this message
Roysten Rigobert (roystenrigobert) said :
#2

Hi Arthur,

I have installed Xpad through apt, so I am running version 5.4, which I think is also the same version I had installed with Ubuntu 20.10.

Revision history for this message
Arthur Borsboom (arthurborsboom) said :
#3

Hmm, that is recent version.

It has been a long time ago, that I have been testing Xpad on Ubuntu.
I will have a look in the upcoming weeks to reproduce the issue in Ubuntu and report back.

Revision history for this message
Roysten Rigobert (roystenrigobert) said :
#4

Thank you very much for your help! I highly appreciate it.

Revision history for this message
Arthur Borsboom (arthurborsboom) said :
#5

Hi Roystan,

I have installed Ubuntu 21.04 with Xpad from the default repository, which is at the moment Xpad v5.4.

I noticed the following.

* Tray icon is not visible (known bug).
* I can move the pads around, by using CTRL + Left mouse button
* Pads new location is not saved on exit/shutdown.
* Pads cannot be resized, even when the window decorations are shown.
* Xpad shows an error message when started: "gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed".

I will try to reproduce the issues with the latest Xpad version which is under development and try to fix these issues.

To be continued.

Revision history for this message
Best Arthur Borsboom (arthurborsboom) said :
#6

After debugging, I have found the cause of Xpad not working anymore.
Ubuntu 21 has changed to Wayland (by default) and apparently Xpad is not
fully compatible with Wayland.

I logged out from Ubuntu.
I selected "Ubuntu on Xorg" as a session instead of "Ubuntu" (at login
screen > right bottom > wheel/settings).
I logged in.

I bet if you select "Ubuntu as Xorg", Xpad starts working again.
Would you mind confirming this?

Since Wayland seems to be the future, Xpad needs work to make it compatible.
I will create a bug report.

Thanks for reporting this issue.

On Tue, 15 Jun 2021 at 12:45, Arthur Borsboom <
<email address hidden>> wrote:

> Question #697377 on Xpad changed:
> https://answers.launchpad.net/xpad/+question/697377
>
> Arthur Borsboom posted a new comment:
> Hi Roystan,
>
> I have installed Ubuntu 21.04 with Xpad from the default repository,
> which is at the moment Xpad v5.4.
>
> I noticed the following.
>
> * Tray icon is not visible (known bug).
> * I can move the pads around, by using CTRL + Left mouse button
> * Pads new location is not saved on exit/shutdown.
> * Pads cannot be resized, even when the window decorations are shown.
> * Xpad shows an error message when started: "gtk_widget_get_scale_factor:
> assertion 'GTK_IS_WIDGET (widget)' failed".
>
> I will try to reproduce the issues with the latest Xpad version which is
> under development and try to fix these issues.
>
> To be continued.
>
> --
> You received this question notification because your team Xpad
> Developers is an answer contact for Xpad.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~xpad-hackers
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~xpad-hackers
> More help : https://help.launchpad.net/ListHelp
>

--
Arthur Borsboom

Revision history for this message
Roysten Rigobert (roystenrigobert) said (last edit ):
#7

Hi Arthur,

switching back to Xorg did indeed solve all problems. Icons are visible neither in the task bar nor in the task switcher, windows can be moved and resized as usual and the size and position values given in the config files are applied. Thank you very much!