[Tails-dev] Help: GNOME Shell integration issue affecting Tails

2016-01-25 Thread intrigeri
Hi,

Carlos Soriano Sanchez suggested I re-sent my call for help on the
GNOME Shell list, so here we go. Please keep me Cc'ed, I'm not
subscribed to gnome-shell-l...@gnom.org.

I am a contributor to the Tails project (https://tails.boum.org/),
a live system aimed at preserving its users' safety, privacy and
anonymity, focusing on ease of use for non-technical users. To give
you an idea of the impact of the problems I'm asking for help here,
we're talking about a system that is started more than 17,000 times
a day.

We are about to release Tails 2.0 in a few days. It will be our first
release based on Debian 8 (Jessie), and more to the point here, our
first release that includes GNOME Shell as the default (and only)
desktop environment. Woo!

There's a glitch though: during the beta and RC phases, many testers
reported to us serious bugs with how icons in the top-right tray are
displayed. Probably relevant is the fact that we include the topIcons
extension (because not all the important status icons have been
migrated to more modern GNOME technologies yet). But not only icons
moved by topIcons to the top-right tray are affected.

TBH, I personally came to the conclusion that the bug most likely
lives in the topIcons extension. I can very well understand if you see
it as none of your business for this reason, and I have reported it to
this extension's author already.

Still, we're in a hard place on our way to ship GNOME Shell right now,
because sadly, nobody on our team has the skills to debug this
problem, so we help from any skilled people would be much appreciated.

The symptoms we see are:

 * Widgets in the top-right tray are somewhat narrowed (to their
   arrow, with a dot instead of the expected text); I've seen this
   happen at least for the date/time and the ibus menu icon:

   https://labs.riseup.net/code/attachments/download/1186/new-session.png
   https://labs.riseup.net/code/attachments/download/1180/1.png
   https://labs.riseup.net/code/attachments/download/1181/2.png
   https://labs.riseup.net/code/attachments/download/1182/3.png
   https://labs.riseup.net/code/attachments/download/1183/4.png

 * The clickable area and the icon of a widget moved by topIcons are
   not at the same place. For example, nothing happens when I click on
   the Florence icon, but Florence appears when I click elsewhere (on
   the left of the OpenPGP Applet). This screenshot shows what is the
   clickable area for Florence at this point:

   https://labs.riseup.net/code/attachments/download/1173/clickable%20area.png

Enabled extensions:

 * Classic mode extensions:
   apps-m...@gnome-shell-extensions.gcampax.github.com and
   window-l...@gnome-shell-extensions.gcampax.github.com

 * topIcons v28

 * a custom Tails extension called shutdown-hel...@tails.boum.org:

   
https://git-tails.immerda.ch/tails/tree/config/chroot_local-includes/usr/share/gnome-shell/extensions/shutdown-hel...@tails.boum.org?h=testing

Other possibly relevant information:

 * We run GNOME Shell 3.14.4-1~deb8u1 in Classic mode.

 * The ISO image for Tails 2.0~rc1 can be downloaded from
   https://tails.boum.org/news/test_2.0-rc1/ — it's a live system, so
   you can try it out in a virtual machine, after dd'ing it to a USB
   stick, or burning it to a DVD.

 * I don't seem to be able to reproduce these bugs with an ISO that
   has the topIcons extension disabled. It seems that a loaded (or
   just slow) system exposes the problem more often than a powerful
   and idling system.

 * I've seen similar bug reports online elsewhere:

   https://extensions.gnome.org/extension/495/topicons/
   
https://www.reddit.com/r/archlinux/comments/2g06t7/icons_disappearing_from_notification_tray_using/

 * In an environment (Spice/QXL/QEMU VM) where I can dynamically
   change the display size & resolution, making the display way bigger
   fixes the bug, and reverting to the initial display size reverts
   back to the problematic initial state.

 * There is one error in the logs that I only see when the bug
   happens:

   gnome-session[2343]: (gnome-shell:2871): GLib-GObject-WARNING **: 
/build/glib2.0-EvFudu/glib2.0-2.42.1/./gobject/gsignal.c:2579: instance 
'0x94b20f0' has no handler with id '32170'

   It refers to
   
https://sources.debian.net/src/glib2.0/2.42.1-1/gobject/gsignal.c/?hl=2501#L2579

   When this happens, I also see:

   gnome-session[2003]: (gnome-shell:3042): Gjs-WARNING **: JS ERROR: 
TypeError: parent is null
   gnome-session[2003]: 
onTrayIconRemoved@/usr/share/gnome-shell/extensions/topIcons@adel.gadl...@gmail.com/extension.js:115

 * Another piece of logs that we (sometimes) see when the problem happens:

   gnome-session[30034]: (gnome-shell:30263): Gjs-WARNING **: JS ERROR: 
TypeError: parent is null
   gnome-session[30034]: 
moveToTop@/usr/share/gnome-shell/extensions/topIcons@adel.gadl...@gmail.com/extension.js:135

   gnome-session[29844]: (gnome-shell:30074): Clutter-WARNING **: Attempting to 
add actor of type 'ShellTrayIcon' t

Re: [Tails-dev] Help: GNOME Shell integration issue affecting Tails

2016-01-21 Thread intrigeri
Hi,

Carlos Soriano Sanchez wrote (19 Jan 2016 21:03:28 GMT) :
> Congrats for the upcomming 2.0 release! Happy to hear that.

Thank you :)

> So let me try to convince you instead to not use an extension.

This is indeed our plan! Now, there are a few non-trivial blockers, so
it's not something that can possibly happen in the next few days (in
time for Tails 2.0) or even weeks (in time for the Tails release that
comes after 2.0). Some of these blockers are on our side, and being
worked on. Some other blockers are on the GNOME side, and we'll get in
touch wit you folks at some point about them.

> Currently we implement those icons in a small left corner, which
> is similar to top-icons extension.

In GNOME Shell 3.14, these icons appear in the notification area on
the bottom right of the screen, which makes them 1. not visible by
default (which is problematic for some of the icons we're talking of
here); and 2. harder, if not impossible, to interact with.

> In any case, I would recommend you to say this in the gnome-shell
> mailing list to get some attention in case you still want it fixed.

OK, thanks! I'll try this when I come back to it in a few days.
Feel free to forward my call for help there if you can + want to help
us get this moving faster :)

> I kind of don't like extensions, instead I would like upstream
> contribution, that's why I hesitate to spend time on it.

I can totally understand this, considering the place you're speaking
from.

> Hope you all the luck!

:)

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] Help: GNOME Shell integration issue affecting Tails

2016-01-19 Thread Carlos Soriano Sanchez
Hello Intrigeri,

Congrats for the upcomming 2.0 release! Happy to hear that.

So let me try to convince you instead to not use an extension.
Currently we implement those icons in a small left corner, which
is similar to top-icons extension. I'm not sure how longer valid
is that extension, and that's why probably doesn't receive too much
attention anymore.

In any case, I would recommend you to say this in the gnome-shell
mailing list to get some attention in case you still want it fixed.

I kind of don't like extensions, instead I would like upstream
contribution, that's why I hesitate to spend time on it.

Hope you all the luck!

Cheers,
Carlos Soriano

- Original Message -
| Hi,
| 
| I am a contributor to the Tails project (https://tails.boum.org/),
| a live system aimed at preserving its users' safety, privacy and
| anonymity, focusing on ease of use for non-technical users. To give
| you an idea of the impact of the problems I'm asking for help here,
| we're talking about a system that is started more than 17,000 times
| a day.
| 
| I believe that some of you have met one of my team-mates at GUADEC
| 2015, who raised your names when I asked him who I could ask for help;
| hence this email :)
| 
| We are about to release Tails 2.0 in a week. It will be our first
| release based on Debian 8 (Jessie), and more to the point here, our
| first release that includes GNOME Shell as the default (and only)
| desktop environment. Woo!
| 
| There's a glitch though: during the beta and RC phases, many testers
| reported to us serious bugs with how icons in the top-right tray are
| displayed. Probably relevant is the fact that we include the topIcons
| extension (because not all the important status icons have been
| migrated to more modern GNOME technologies yet). But not only icons
| moved by topIcons to the top-right tray are affected.
| 
| TBH, I personally came to the conclusion that the bug most likely
| lives in the topIcons extension. I can very well understand if you see
| it as none of your business for this reason, and I have reported it to
| this extension's author already.
| 
| Still, we're in a hard place on our way to ship GNOME Shell right now,
| because sadly, nobody on our team has the skills to debug this
| problem, so we help from any skilled people would be much appreciated.
| 
| The symptoms we see are:
| 
|  * Widgets in the top-right tray are somewhat narrowed (to their
|arrow, with a dot instead of the expected text); I've seen this
|happen at least for the date/time and the ibus menu icon:
| 
|https://labs.riseup.net/code/attachments/download/1186/new-session.png
|https://labs.riseup.net/code/attachments/download/1180/1.png
|https://labs.riseup.net/code/attachments/download/1181/2.png
|https://labs.riseup.net/code/attachments/download/1182/3.png
|https://labs.riseup.net/code/attachments/download/1183/4.png
| 
|  * The clickable area and the icon of a widget moved by topIcons are
|not at the same place. For example, nothing happens when I click on
|the Florence icon, but Florence appears when I click elsewhere (on
|the left of the OpenPGP Applet). This screenshot shows what is the
|clickable area for Florence at this point:
| 
|https://labs.riseup.net/code/attachments/download/1173/clickable%20area.png
| 
| Enabled extensions:
| 
|  * Classic mode extensions:
|apps-m...@gnome-shell-extensions.gcampax.github.com and
|window-l...@gnome-shell-extensions.gcampax.github.com
| 
|  * topIcons v28
| 
|  * a custom Tails extension called shutdown-hel...@tails.boum.org:
| 
|
https://git-tails.immerda.ch/tails/tree/config/chroot_local-includes/usr/share/gnome-shell/extensions/shutdown-hel...@tails.boum.org?h=testing
| 
| Other possibly relevant information:
| 
|  * We run GNOME Shell 3.14.4-1~deb8u1 in Classic mode.
| 
|  * The ISO image for Tails 2.0~rc1 can be downloaded from
|https://tails.boum.org/news/test_2.0-rc1/ — it's a live system, so
|you can try it out in a virtual machine, after dd'ing it to a USB
|stick, or burning it to a DVD.
| 
|  * I don't seem to be able to reproduce these bugs with an ISO that
|has the topIcons extension disabled. It seems that a loaded (or
|just slow) system exposes the problem more often than a powerful
|and idling system.
| 
|  * I've seen similar bug reports online elsewhere:
| 
|https://extensions.gnome.org/extension/495/topicons/
|
https://www.reddit.com/r/archlinux/comments/2g06t7/icons_disappearing_from_notification_tray_using/
| 
|  * In an environment (Spice/QXL/QEMU VM) where I can dynamically
|change the display size & resolution, making the display way bigger
|fixes the bug, and reverting to the initial display size reverts
|back to the problematic initial state.
| 
|  * There is one error in the logs that I only see when the bug
|happens:
| 
|gnome-session[2343]: (gnome-shell:2871): GLib-GObject-WARNING **:
|/build/glib2.0-EvFudu

[Tails-dev] Help: GNOME Shell integration issue affecting Tails

2016-01-19 Thread intrigeri
Hi,

I am a contributor to the Tails project (https://tails.boum.org/),
a live system aimed at preserving its users' safety, privacy and
anonymity, focusing on ease of use for non-technical users. To give
you an idea of the impact of the problems I'm asking for help here,
we're talking about a system that is started more than 17,000 times
a day.

I believe that some of you have met one of my team-mates at GUADEC
2015, who raised your names when I asked him who I could ask for help;
hence this email :)

We are about to release Tails 2.0 in a week. It will be our first
release based on Debian 8 (Jessie), and more to the point here, our
first release that includes GNOME Shell as the default (and only)
desktop environment. Woo!

There's a glitch though: during the beta and RC phases, many testers
reported to us serious bugs with how icons in the top-right tray are
displayed. Probably relevant is the fact that we include the topIcons
extension (because not all the important status icons have been
migrated to more modern GNOME technologies yet). But not only icons
moved by topIcons to the top-right tray are affected.

TBH, I personally came to the conclusion that the bug most likely
lives in the topIcons extension. I can very well understand if you see
it as none of your business for this reason, and I have reported it to
this extension's author already.

Still, we're in a hard place on our way to ship GNOME Shell right now,
because sadly, nobody on our team has the skills to debug this
problem, so we help from any skilled people would be much appreciated.

The symptoms we see are:

 * Widgets in the top-right tray are somewhat narrowed (to their
   arrow, with a dot instead of the expected text); I've seen this
   happen at least for the date/time and the ibus menu icon:

   https://labs.riseup.net/code/attachments/download/1186/new-session.png
   https://labs.riseup.net/code/attachments/download/1180/1.png
   https://labs.riseup.net/code/attachments/download/1181/2.png
   https://labs.riseup.net/code/attachments/download/1182/3.png
   https://labs.riseup.net/code/attachments/download/1183/4.png

 * The clickable area and the icon of a widget moved by topIcons are
   not at the same place. For example, nothing happens when I click on
   the Florence icon, but Florence appears when I click elsewhere (on
   the left of the OpenPGP Applet). This screenshot shows what is the
   clickable area for Florence at this point:

   https://labs.riseup.net/code/attachments/download/1173/clickable%20area.png

Enabled extensions:

 * Classic mode extensions:
   apps-m...@gnome-shell-extensions.gcampax.github.com and
   window-l...@gnome-shell-extensions.gcampax.github.com

 * topIcons v28

 * a custom Tails extension called shutdown-hel...@tails.boum.org:

   
https://git-tails.immerda.ch/tails/tree/config/chroot_local-includes/usr/share/gnome-shell/extensions/shutdown-hel...@tails.boum.org?h=testing

Other possibly relevant information:

 * We run GNOME Shell 3.14.4-1~deb8u1 in Classic mode.

 * The ISO image for Tails 2.0~rc1 can be downloaded from
   https://tails.boum.org/news/test_2.0-rc1/ — it's a live system, so
   you can try it out in a virtual machine, after dd'ing it to a USB
   stick, or burning it to a DVD.

 * I don't seem to be able to reproduce these bugs with an ISO that
   has the topIcons extension disabled. It seems that a loaded (or
   just slow) system exposes the problem more often than a powerful
   and idling system.

 * I've seen similar bug reports online elsewhere:

   https://extensions.gnome.org/extension/495/topicons/
   
https://www.reddit.com/r/archlinux/comments/2g06t7/icons_disappearing_from_notification_tray_using/

 * In an environment (Spice/QXL/QEMU VM) where I can dynamically
   change the display size & resolution, making the display way bigger
   fixes the bug, and reverting to the initial display size reverts
   back to the problematic initial state.

 * There is one error in the logs that I only see when the bug
   happens:

   gnome-session[2343]: (gnome-shell:2871): GLib-GObject-WARNING **: 
/build/glib2.0-EvFudu/glib2.0-2.42.1/./gobject/gsignal.c:2579: instance 
'0x94b20f0' has no handler with id '32170'

   It refers to
   
https://sources.debian.net/src/glib2.0/2.42.1-1/gobject/gsignal.c/?hl=2501#L2579

   When this happens, I also see:

   gnome-session[2003]: (gnome-shell:3042): Gjs-WARNING **: JS ERROR: 
TypeError: parent is null
   gnome-session[2003]: 
onTrayIconRemoved@/usr/share/gnome-shell/extensions/topIcons@adel.gadl...@gmail.com/extension.js:115


 * Another piece of logs that we (sometimes) see when the problem happens:

   gnome-session[30034]: (gnome-shell:30263): Gjs-WARNING **: JS ERROR: 
TypeError: parent is null
   gnome-session[30034]: 
moveToTop@/usr/share/gnome-shell/extensions/topIcons@adel.gadl...@gmail.com/extension.js:135

   gnome-session[29844]: (gnome-shell:30074): Clutter-WARNING **: Attempting to 
add actor of type 'ShellTrayIcon' to a container of