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

Bug #1784817 reported by Ludovic on 2018-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
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.

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

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
>

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).

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

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

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?

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?
>

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?

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?
>

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments