Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2021-02-04 Thread Mirco Bauer
Hi,

[reply inline]

On Thu, 4 Feb 2021, 16:09 Raphael Hertzog,  wrote:

> Hi,
>
> On Thu, 04 Feb 2021, Mirco Bauer wrote:
> > The fix is Smuxi's upstream git repo [0] and will be landing Debian
> > unstable with the upcoming Smuxi 1.1 release in a few days.
>
> Nice! But it might be late to get into bullseye without asking for an
> unblock...
>

To my knowledge the general freeze is on the 12th of February, so I aim to
get 1.1 out and uploaded asap.


> > Hope this restores the Smuxi user experience for you and others :)
>
> To really restore a good user experience, https://bugs.debian.org/962290
> would have to be fixed too. :-)
>

Thanks for reminding me about that weird issue. That is a super bad bug! I
suspect a bug in the dbus library or the mono runtime. Smuxi does a lot of
processing in the background (if the operation leads to a blocking call to
the smuxi-server for example)...

Best,

Mirco


> Cheers,
> --
>   ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
>   ⣾⠁⢠⠒⠀⣿⡁
>   ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
>   ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS
>


Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2021-02-04 Thread Raphael Hertzog
Hi,

On Thu, 04 Feb 2021, Mirco Bauer wrote:
> The fix is Smuxi's upstream git repo [0] and will be landing Debian
> unstable with the upcoming Smuxi 1.1 release in a few days.

Nice! But it might be late to get into bullseye without asking for an
unblock...

> Hope this restores the Smuxi user experience for you and others :)

To really restore a good user experience, https://bugs.debian.org/962290
would have to be fixed too. :-)

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS



Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2021-02-03 Thread Mirco Bauer
tags 962042 + confirmed bullseye fixed-upstream pending
thanks

Hello Raphael,

I tracked down the bug and turns out it is a regression in the Mono runtime
with version >= 6.6
This is why Victor and I could not reproduce it with the same Smuxi version
(1.0.7-5) on buster, as buster ships Mono 5.18.0.240+dfsg-3
while Unstable ships Mono 6.8.

The fix is Smuxi's upstream git repo [0] and will be landing Debian
unstable with the upcoming Smuxi 1.1 release in a few days.

Hope this restores the Smuxi user experience for you and others :)

 [0]:
https://github.com/meebey/smuxi/commit/a29efabca298c18b54dabcabd989044d37dd0cf2#diff-197a3ddb5d2a0dad47798f79bc751053026ff97d4c256a63114a7103d942da41R952

Best regards,

Mirco Bauer

Security Architect  mirco.ba...@bitgamelabs.com https://bgl.hk/
FOSS Hacker mee...@meebey.net  https://www.meebey.net/
Debian Developermee...@debian.org  http://www.debian.org/
GNOME Foundation Member mmmba...@gnome.org http://www.gnome.org/
.NET Foundation Advisory Council Memberhttp://www.dotnetfoundation.org/
PGP-Key ID  0x7127E5ABEEF946C8 https://meebey.net/pubkey.asc



On Mon, Jun 15, 2020 at 11:18 PM Raphael Hertzog  wrote:

> Hi,
>
> On Mon, 15 Jun 2020, Mirco Bauer wrote:
> > I can't reproduce this issue on buster with Google Chrome as the default
> > browser set in GNOME preferences.
>
> I have firefox as default browser.
>
> >
> > For opening any links Smuxi relies on Mono's
> > System.Diagnostics.Process.Start() implementation which then uses
> > /usr/bin/xdg-open and (others). From your strace it seems to pick
> xdg-open
> > as it is executable which is expected for GNOME desktop environments.
> >
> > Why it throws the exception, is not clear What happens if you run
> this
> > from a terminal:
> > /usr/bin/xdg-open '
> > https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small'
> > echo $?
>
> $ LANG=C /usr/bin/xdg-open '
> https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small'
> gio: file:///home/rhertzog/freexian/deblts/%0Ahttps:/
> pbs.twimg.com/media/ESpweBhXgAAefGF%3Fformat=jpg=small: Error when
> getting information for file ?/home/rhertzog/freexian/deblts/
> https:/pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small?: No
> such file or directory
> $ echo $?
> 4
>
> I have kept the leading newline character that you have put in the call...
> but without the newline character, it works fine.
>
> Regards,
> --
>   ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
>   ⣾⠁⢠⠒⠀⣿⡁
>   ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
>   ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS
>


Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2020-06-15 Thread Raphael Hertzog
Hi,

On Mon, 15 Jun 2020, Mirco Bauer wrote:
> I can't reproduce this issue on buster with Google Chrome as the default
> browser set in GNOME preferences.

I have firefox as default browser.

> 
> For opening any links Smuxi relies on Mono's
> System.Diagnostics.Process.Start() implementation which then uses
> /usr/bin/xdg-open and (others). From your strace it seems to pick xdg-open
> as it is executable which is expected for GNOME desktop environments.
> 
> Why it throws the exception, is not clear What happens if you run this
> from a terminal:
> /usr/bin/xdg-open '
> https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small'
> echo $?

$ LANG=C /usr/bin/xdg-open '
https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small'
gio: 
file:///home/rhertzog/freexian/deblts/%0Ahttps:/pbs.twimg.com/media/ESpweBhXgAAefGF%3Fformat=jpg=small:
 Error when getting information for file ?/home/rhertzog/freexian/deblts/
https:/pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small?: No such file 
or directory
$ echo $?
4

I have kept the leading newline character that you have put in the call...
but without the newline character, it works fine.

Regards,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS



Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2020-06-15 Thread Mirco Bauer
I can't reproduce this issue on buster with Google Chrome as the default
browser set in GNOME preferences.

For opening any links Smuxi relies on Mono's
System.Diagnostics.Process.Start() implementation which then uses
/usr/bin/xdg-open and (others). From your strace it seems to pick xdg-open
as it is executable which is expected for GNOME desktop environments.

Why it throws the exception, is not clear What happens if you run this
from a terminal:
/usr/bin/xdg-open '
https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small'
echo $?

Usually the xdg-open implementation just forks and returns 0. but the
output might help to understand why Mono thinks there was a problem.

Best regards,

Mirco Bauer

Security Architect  mirco.ba...@bitgamelabs.com https://bgl.hk/
FOSS Hacker mee...@meebey.net  https://www.meebey.net/
Debian Developermee...@debian.org  http://www.debian.org/
GNOME Foundation Member mmmba...@gnome.org http://www.gnome.org/
.NET Foundation Advisory Council Memberhttp://www.dotnetfoundation.org/
PGP-Key ID  0x7127E5ABEEF946C8 https://meebey.net/pubkey.asc



On Tue, Jun 2, 2020 at 8:57 PM Raphaël Hertzog  wrote:

> Package: smuxi-frontend-gnome
> Version: 1.0.7-5
> Severity: important
>
> I have been a happy smuxi user for years but for a few months now I'm no
> longer able to click on links... I can left click but nothing happens, the
> URL
> no longer opens in the web browser. Same goes with right click + selecting
> the open menu entry.
>
> I tried to strace it and saw this:
> [pid 779574] access("/usr/bin/xdg-open", X_OK) = 0
> [pid 779574] write(1, "2020-06-02 14:33:45,415 [Thread Pool Worker] ERROR
> Smuxi.Frontend.Gnome.Frontend - OpenLink(): opening URL: '
> https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small'
> failed\nSystem.ComponentModel.Win32Exception (0x80004005): Cannot find the
> specified file\n  at System.Diagnostics.Process.StartWithShellExecuteEx
> (System.Diagnostics.ProcessStartInfo startInfo) [0x00129] in
> :0 \n  at
> System.Diagnostics.Process.Start () [0x00038] in
> :0 \n  at (wrapper
> remoting-invoke-with-check) System.Diagnostics.Process.Start()\n  at
> System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
> startInfo) [0x0001e] in :0 \n  at
> System.Diagnostics.Process.Start (System.String fileName) [0x6] in
> :0 \n  at
> Smuxi.Frontend.Gnome.Frontend+c__AnonStorey6.<>m__0
> (System.Object ) [0xf] in
> /build/smuxi-1.0.7/src/Frontend-GNOME/Frontend.cs:945 \n", 992  ...>
>
> I have no idea why the code is generating this exception.
>
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers oldoldstable
>   APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'),
> (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
> LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages smuxi-frontend-gnome depends on:
> ii  libdbus-glib2.0-cil 0.6.0-1
> ii  libdbus2.0-cil  0.8.1-2
> ii  libglade2.0-cil 2.12.40-3
> ii  libglib2.0-02.64.2-1
> ii  libglib2.0-cil  2.12.40-3
> ii  libgtk2.0-0 2.24.32-4
> ii  libgtk2.0-cil   2.12.40-3
> ii  libgtkspell02.0.16-1.3
> ii  liblog4net1.2-cil   1.2.10+dfsg-7
> ii  libmessagingmenu12.10-cil   1.0.1-1
> ii  libmono-corlib4.5-cil   6.8.0.105+dfsg-3
> ii  libmono-posix4.0-cil6.8.0.105+dfsg-3
> ii  libmono-system-core4.0-cil  6.8.0.105+dfsg-3
> ii  libmono-system-web4.0-cil   6.8.0.105+dfsg-3
> ii  libmono-system4.0-cil   6.8.0.105+dfsg-3
> ii  libnotify0.4-cil0.4.0~r3032-7
> ii  librsvg2-common 2.48.4+dfsg-1
> ii  mono-runtime6.8.0.105+dfsg-3
> ii  smuxi-engine1.0.7-5
>
> Versions of packages smuxi-frontend-gnome recommends:
> ii  gnome-shell [notification-daemon]  3.36.2-1
> ii  notification-daemon3.20.0-4
> ii  ssh-askpass-gnome [ssh-askpass]1:8.2p1-4
>
> smuxi-frontend-gnome suggests no packages.
>
> -- no debconf information
>


Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2020-06-08 Thread Victor Seva
Package: smuxi-frontend-gnome
Followup-For: Bug #962042

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Works in my buster installation

- -- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'unstable'), (1, 
'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-0.bpo.2-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages smuxi-frontend-gnome depends on:
ii  libdbus-glib2.0-cil 0.6.0-1
ii  libdbus2.0-cil  0.8.1-2
ii  libglade2.0-cil 2.12.40-2
ii  libglib2.0-02.58.3-2+deb10u2
ii  libglib2.0-cil  2.12.40-2
ii  libgtk2.0-0 2.24.32-3
ii  libgtk2.0-cil   2.12.40-2
ii  libgtkspell02.0.16-1.2
ii  liblog4net1.2-cil   1.2.10+dfsg-7
ii  libmessagingmenu12.10-cil   1.0.1-1
ii  libmono-corlib4.5-cil   5.18.0.240+dfsg-3
ii  libmono-posix4.0-cil5.18.0.240+dfsg-3
ii  libmono-system-core4.0-cil  5.18.0.240+dfsg-3
ii  libmono-system-web4.0-cil   5.18.0.240+dfsg-3
ii  libmono-system4.0-cil   5.18.0.240+dfsg-3
ii  libnotify0.4-cil0.4.0~r3032-7
ii  librsvg2-common 2.44.10-2.1
ii  mono-runtime5.18.0.240+dfsg-3
ii  smuxi-engine1.0.7-5

Versions of packages smuxi-frontend-gnome recommends:
ii  ksshaskpass [ssh-askpass]   4:5.14.5-1
ii  notification-daemon 3.20.0-4
ii  plasma-workspace [notification-daemon]  4:5.14.5.1-1

smuxi-frontend-gnome suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQEzBAEBCgAdFiEEDmBQEMrYIhRFqKAgIXSmjn2oLMcFAl7d78MACgkQIXSmjn2o
LMcOUQf9GQDzDlpIfjU3fYMsWiZUDPKGSopA24tKh24kDp6bl3LTlChELfNvkrxf
PsKXRaBHQdFTwrnngq+itJU8cTjHaL6sGNkxI78NXusJGXl4s405VtMFADXq8Na5
L0r7FmwVZLNaqEvyB1re+WHpMynur8tMRpCyR46GmxvzgSuX9nIfz8FaBdIsy4qR
XhtEIZ9kWJAI+GVaacurYrr8T2OE6YJOsFEUwdd7m8RNdqEoqb4B8GtBoq4U5puh
TTbF/xgdMgY7/OqDMcmcLLshFExXTfG/uZr+RErtTcx0Wh2BkVdhw5FdFTly4ri2
sDdXPWtN3HG4I89r2fVS/CxXqcAKug==
=unlO
-END PGP SIGNATURE-



Bug#962042: smuxi-frontend-gnome: clicking on a link does not open it in the web browser

2020-06-02 Thread Raphaël Hertzog
Package: smuxi-frontend-gnome
Version: 1.0.7-5
Severity: important

I have been a happy smuxi user for years but for a few months now I'm no
longer able to click on links... I can left click but nothing happens, the URL
no longer opens in the web browser. Same goes with right click + selecting
the open menu entry.

I tried to strace it and saw this:
[pid 779574] access("/usr/bin/xdg-open", X_OK) = 0
[pid 779574] write(1, "2020-06-02 14:33:45,415 [Thread Pool Worker] ERROR 
Smuxi.Frontend.Gnome.Frontend - OpenLink(): opening URL: 
'https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg=small' 
failed\nSystem.ComponentModel.Win32Exception (0x80004005): Cannot find the 
specified file\n  at System.Diagnostics.Process.StartWithShellExecuteEx 
(System.Diagnostics.ProcessStartInfo startInfo) [0x00129] in 
:0 \n  at System.Diagnostics.Process.Start () 
[0x00038] in :0 \n  at (wrapper 
remoting-invoke-with-check) System.Diagnostics.Process.Start()\n  at 
System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo 
startInfo) [0x0001e] in :0 \n  at 
System.Diagnostics.Process.Start (System.String fileName) [0x6] in 
:0 \n  at 
Smuxi.Frontend.Gnome.Frontend+c__AnonStorey6.<>m__0 (System.Object ) 
[0xf] in /build/smuxi-1.0.7/src/Frontend-GNOME/Frontend.cs:945 \n", 992 


I have no idea why the code is generating this exception.

-- System Information:
Debian Release: bullseye/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages smuxi-frontend-gnome depends on:
ii  libdbus-glib2.0-cil 0.6.0-1
ii  libdbus2.0-cil  0.8.1-2
ii  libglade2.0-cil 2.12.40-3
ii  libglib2.0-02.64.2-1
ii  libglib2.0-cil  2.12.40-3
ii  libgtk2.0-0 2.24.32-4
ii  libgtk2.0-cil   2.12.40-3
ii  libgtkspell02.0.16-1.3
ii  liblog4net1.2-cil   1.2.10+dfsg-7
ii  libmessagingmenu12.10-cil   1.0.1-1
ii  libmono-corlib4.5-cil   6.8.0.105+dfsg-3
ii  libmono-posix4.0-cil6.8.0.105+dfsg-3
ii  libmono-system-core4.0-cil  6.8.0.105+dfsg-3
ii  libmono-system-web4.0-cil   6.8.0.105+dfsg-3
ii  libmono-system4.0-cil   6.8.0.105+dfsg-3
ii  libnotify0.4-cil0.4.0~r3032-7
ii  librsvg2-common 2.48.4+dfsg-1
ii  mono-runtime6.8.0.105+dfsg-3
ii  smuxi-engine1.0.7-5

Versions of packages smuxi-frontend-gnome recommends:
ii  gnome-shell [notification-daemon]  3.36.2-1
ii  notification-daemon3.20.0-4
ii  ssh-askpass-gnome [ssh-askpass]1:8.2p1-4

smuxi-frontend-gnome suggests no packages.

-- no debconf information