[tray-icon] xpad don't open at the start

Bug #1784817 reported by Ludovic
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Xpad
Confirmed
Medium
Unassigned

Bug Description

When I open a new session (Ubuntu 18.04) xpad doesn't open.
For it, I need to delete the xpad folder in .config. And then, it's ok.

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

Hi Ludovic,

I use a different Linux distribution, so I need a bit more help to understand and reproduce this issue.

Can you describe in more details which steps I have to follow to reproduce the issue?

Changed in xpad:
status: New → Incomplete
Revision history for this message
Ludovic (balavoine) wrote : Re: [Bug 1784817] Re: xpad don't open at the start

Hi Arthur,

Thanks for your help !

Previously, i used Ubuntu 14.04 LTS. Recently, i've changed my computer
and installed Ubuntu 18.04. When I open Xpad.... nothing appears... So I
have to rename the xpad folder :  .config/xpad-OLD and open again Xpad.
It creates a new folder xpad in the .config; I Paste my notes and it's
ok. But only for this session. If I shut down the compurter, I will have
to restart all the process.

(excuse me for my english, not very good...).

Thanks again,
Ludovic

Le 07/08/2018 à 10:27, Arthur Borsboom a écrit :
> Hi Ludovic,
>
> I use a different Linux distribution, so I need a bit more help to
> understand and reproduce this issue.
>
> Can you describe in more details which steps I have to follow to
> reproduce the issue?
>
> ** Changed in: xpad
> Status: New => Incomplete
>

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote : Re: xpad don't open at the start

Hi Ludovic,

I haven't been able to reproduce the issue yet, so I guess I need more information.
This is what I have done.

I have downloaded, installed Ubuntu 18.04.1 in a new Virtualbox virtual machine.
Then I installed all the dependency packages (see below) to download, configure and build the Xpad source code (current development version is 5.1).

bzr
build-essential
autoconf
gettext
intltool
libgtksourceview-3.0-dev
libgtk-3-dev
libglib-2.0-dev
(did I miss anything?)

After that I started Xpad and created a note. I restarted the VM and logged in again. The Xpad screen reappeared.

Do you notice anything I am doing different from you that might matter?
If not, would you mind to build and test Xpad 5.1 to see if the problem has already been resolved in this version?

These are the steps to download, build and install.

apt install *the_above*packages*
bzr checkout lp:xpad
cd xpad
./autogen.sh
./configure
make
sudo make install

Also verify that the latest Xpad is running (right-click on a pad -> Help -> About).

Revision history for this message
Ludovic (balavoine) wrote : Re: [Bug 1784817] Re: xpad don't open at the start

Hi Arthur,

I've made all that you advocated, but nothing changes. Ubuntu's
repository provides the Xpad 5.0, not the 5.1.

The problem is sadly the same.

Ludovic

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote : Re: xpad don't open at the start

Hi Ludovic,

Since I cannot reproduce the issue yet, we have to play the game "find the differences".

Would ming to add a compressed attachment with the complete corrupted/not_working .config/xpad folder in it?

Changed in xpad:
importance: Undecided → High
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Also, can you try and check the following?

Open a command-line and verify with "ps -ax" if xpad is still running.
If it is running, kill it.

Please let me know if it was running or not?

Now start xpad from the command-line.
Does it generate a warning or error message?

Revision history for this message
Ludovic (balavoine) wrote : Re: [Bug 1784817] Re: xpad don't open at the start

Hi Arthur,

You will find the compressed attachment corrupted/not_working .config/xpad

Command ps -ax :
28998 ?        Ssl    0:00 xpad

I kill xpad and I start from a terminal. It doesn't generate a warning
or an error message. Nothing, no answer.

Thanks for your help !

Ludovic

Le 09/08/2018 à 15:07, Arthur Borsboom a écrit :
> Also, can you try and check the following?
>
> Open a command-line and verify with "ps -ax" if xpad is still running.
> If it is running, kill it.
>
> Please let me know if it was running or not?
>
> Now start xpad from the command-line.
> Does it generate a warning or error message?
>

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote : Re: xpad don't open at the start

I guess I know what is happening.

This is an 'issue' with Ubuntu and the traditional (and deprecated) app indicator of GTK used in Xpad.

Xpad is active, but you can't see it, since the app indicator is missing. Also hide/show setting in Xpad is set to hide all pads on startup (in your configuration file).

Just to test my suspicion, can you change the following setting manually in the Xpad configuration file ./config/xpad/default-style ?

from:
autostart_display_pads 2

to:
autostart_display_pads 0

2: hide all pads on startup
1: restore the pads to previous state
0: show all pads on startup

Normally you would change these settings by the preferences menu through:

- the app indicator (which is missing/not working in ubuntu)
- right-click on a pad -> preferences (which only works if you have at least one visible pad)

If you kill xpad and start it again, will a pad show?

Revision history for this message
Ludovic (balavoine) wrote : Re: [Bug 1784817] Re: xpad don't open at the start

It works ! Wow !

But there is another problem : when I close Xpad, I can't open it again
except if I kill the process.

Le 09/08/2018 à 15:33, Arthur Borsboom a écrit :
> I guess I know what is happening.
>
> This is an 'issue' with Ubuntu and the traditional (and deprecated) app
> indicator of GTK used in Xpad.
>
> Xpad is active, but you can't see it, since the app indicator is
> missing. Also hide/show setting in Xpad is set to hide all pads on
> startup (in your configuration file).
>
> Just to test my suspicion, can you change the following setting manually
> in the Xpad configuration file ./config/xpad/default-style ?
>
> from:
> autostart_display_pads 2
>
> to:
> autostart_display_pads 0
>
> 2: hide all pads on startup
> 1: restore the pads to previous state
> 0: show all pads on startup
>
> Normally you would change these settings by the preferences menu
> through:
>
> - the app indicator (which is missing/not working in ubuntu)
> - right-click on a pad -> preferences (which only works if you have at least one visible pad)
>
> If you kill xpad and start it again, will a pad show?
>

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote : Re: xpad don't open at the start

At least we understand that Xpad does start, but it does not show the pads when hidden in Ubuntu.

This missing tray icon is a long lasting issue I have with Xpad.

The deprecated GTK indicator or in GTK terms "GtkStatusIcon" has to be replaced with something else. However, I am a stuck to find a good approach; I need help to figure out the right path.

If you know any developer who has migrated his old GTK application with the GtkStatusIcon to something future proof, and is willing to give support, I am all ears.

Changed in xpad:
status: Incomplete → Confirmed
importance: High → Medium
summary: - xpad don't open at the start
+ xpad don't open at the start [missing tray-icon]
summary: - xpad don't open at the start [missing tray-icon]
+ [tray-icon] xpad don't open at the start
Revision history for this message
Jason (jason-helfman) wrote :

I am also unable to get xpad (5.7.0) to be in startup tray. Specifically, on FreeBSD fluxbox. Here is build log for xpad. I happen to be maintainer of software, as well.

Thanks!
-jgh

Revision history for this message
Jason (jason-helfman) wrote :

I figured how to start it up in fluxbox, but not in tray. Unable to get to work natively with, application, though.

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

Hi Jason,

Would you mind to create a new bug report, since this bug report is from 2018 and the system used in your report is quite different (BSD vs Linux) ?

Revision history for this message
Jason (jason-helfman) wrote : Re: [Bug 1784817] Re: [tray-icon] xpad don't open at the start

On 2022-05-17 02:02, Arthur Borsboom wrote:
> Hi Jason,
>
> Would you mind to create a new bug report, since this bug report is
> from
> 2018 and the system used in your report is quite different (BSD vs
> Linux) ?
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1784817
>
> Title:
> [tray-icon] xpad don't open at the start
>
> Status in Xpad:
> Confirmed
>
> Bug description:
> When I open a new session (Ubuntu 18.04) xpad doesn't open.
> For it, I need to delete the xpad folder in .config. And then, it's
> ok.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/xpad/+bug/1784817/+subscriptions

Of course. I'll take care of that soon. Also, I do maintain xpad3, the
legacy xpad, or non-trunk... Is this still being supported?

Thanks!
-jgh

Revision history for this message
Jason (jason-helfman) wrote :

On 2022-05-17 02:02, Arthur Borsboom wrote:
> Hi Jason,
>
> Would you mind to create a new bug report, since this bug report is
> from
> 2018 and the system used in your report is quite different (BSD vs
> Linux) ?

Hi Arthur,

Here is bug report: https://bugs.launchpad.net/xpad/+bug/1974110

Thanks,
Jason

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.