Bug#836170: evince: annoying Gtk-WARNING messages

2017-07-12 Thread Vincent Lefevre
Control: severity -1 normal
Control: tags -1 upstream fixed-upstream
Control: fixed -1 3.22.6-1
Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=774784

At least upstream agrees with me that it is a normal bug, not just
a wishlist (and this bug could yield failures in test suites, as
pointed in the upstream bug report). I can check that 3.22.16-1
is fixed in Debian, but according to

  https://download.gnome.org/sources/gtk+/3.22/gtk+-3.22.6.news

it was fixed in 3.22.6:

  774784 Failed to get desktop session proxy is not an error!

thus in the 3.22.6-1 Debian package.

Closing.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#836170: evince: annoying Gtk-WARNING messages

2016-12-06 Thread Vincent Lefevre
On 2016-12-05 20:22:30 -0700, Jaimos Skriletz wrote:
> On Wed, 23 Nov 2016 01:00:09 +0100 Vincent Lefevre  wrote:
> > On 2016-09-04 16:41:38 +0200, Michael Biebl wrote:
> > > It's like syslog messages which can have different severity level.
> >
> > This is not like syslog messages. Such messages go to log files.
> > They do not disturb the user. The Evince messages go to the terminal,
> > which is where the user is working.
> 
> You can redirect the messages to a log file if you want. I personally
> use evince filename.pdf 2>/dev/null as my logfile, though you may want
> to redirect to an actual logfile.

But this will hide real error messages too (such as X related errors).
And filtering wrappers have drawbacks and increase the risk of bugs
(to distinguish between what is really important to know and what
isn't).

> Also if you run these from Fvwm using Exec in a binding, menu,
> FvwmConsole, etc, they should be redirected to ~/.xsession-errors.

Using "vince " is often more practical.

> > > This is a warning, informing the user that this integration with the
> > > gnome or xfce Session Manager will be missing.
> >
> > I don't understand. I use neither the GNOME nor the XFCE Session Manager.
> > So, I don't see what integration is missing.
> 
> Evince doesn't need these to run, but it is warning the user that some
> features may be missing. My best guess is something in the session
> management to recall the placement of windows. This of course is not
> vital to the program running, but gives people who use GNOME or XFCE
> integration with their session management. These are also coming from
> gtk3 I believe since I see them from other programs.

Then these warnings should be given only for such users.
I suppose that there should be something in the environment
to be able to detect whether GNOME or XFCE or whatever desktop
envionment is supported is used.

> I agree that GTK can be very noisy about its warnings. This is also
> not just evince that gives these warnings. I get them from libreoffice
> gtk as well. But this is not a bug and has nothing to do with FVWM.
> Since you don't seem to want this bug closed the best place I think it
> can rot is a wishlist bug in GTK3 to include an option to either
> disable these warnings, or to put them in a log file.

OK.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#836170: evince: annoying Gtk-WARNING messages

2016-12-05 Thread Jaimos Skriletz
On Wed, 23 Nov 2016 01:00:09 +0100 Vincent Lefevre  wrote:
> On 2016-09-04 16:41:38 +0200, Michael Biebl wrote:
> > It's like syslog messages which can have different severity level.
>
> This is not like syslog messages. Such messages go to log files.
> They do not disturb the user. The Evince messages go to the terminal,
> which is where the user is working.
>

You can redirect the messages to a log file if you want. I personally
use evince filename.pdf 2>/dev/null as my logfile, though you may want
to redirect to an actual logfile.

Also if you run these from Fvwm using Exec in a binding, menu,
FvwmConsole, etc, they should be redirected to ~/.xsession-errors.

> > This is a warning, informing the user that this integration with the
> > gnome or xfce Session Manager will be missing.
>
> I don't understand. I use neither the GNOME nor the XFCE Session Manager.
> So, I don't see what integration is missing.
>

Evince doesn't need these to run, but it is warning the user that some
features may be missing. My best guess is something in the session
management to recall the placement of windows. This of course is not
vital to the program running, but gives people who use GNOME or XFCE
integration with their session management. These are also coming from
gtk3 I believe since I see them from other programs.

> > I obviously can't do anything about you finding that annoying. But this
> > is useful information for users in case there are problems.
>
> To debug things when there are problems, there should be options
> like --debug or --trace.
>

I agree that GTK can be very noisy about its warnings. This is also
not just evince that gives these warnings. I get them from libreoffice
gtk as well. But this is not a bug and has nothing to do with FVWM.
Since you don't seem to want this bug closed the best place I think it
can rot is a wishlist bug in GTK3 to include an option to either
disable these warnings, or to put them in a log file.

jaimos



Bug#836170: evince: annoying Gtk-WARNING messages

2016-11-22 Thread Vincent Lefevre
On 2016-09-04 16:41:38 +0200, Michael Biebl wrote:
> It's like syslog messages which can have different severity level.

This is not like syslog messages. Such messages go to log files.
They do not disturb the user. The Evince messages go to the terminal,
which is where the user is working.

> This is a warning, informing the user that this integration with the
> gnome or xfce Session Manager will be missing.

I don't understand. I use neither the GNOME nor the XFCE Session Manager.
So, I don't see what integration is missing.

> I obviously can't do anything about you finding that annoying. But this
> is useful information for users in case there are problems.

To debug things when there are problems, there should be options
like --debug or --trace.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#836170: another reason why this needs to be resolved: warnings are confusing if there is another problem

2016-11-21 Thread Joachim Wuttke

I get similar messages when starting evince:

Gtk-WARNING **: Failed to get the GNOME session proxy: The name 
org.gnome.SessionManager is not owned


This is not only annoying. It can be badly confusing.

Today, at each attempt to start evince, it printed twice the
above message, then crashed. I did not realize that these
messages were not new, but had annoyed me since long. So
naturally, I assumed the cause of the crash to be somehow
related to the messages. This badly diverted me from the
real cause of the crash (/usr/lib/evince/evinced running
as a zombie), which had nothing at all to do with GNOME.
Once the evinced process was killed, I could start evince,
which then printed exactly the same warnings as before,
and worked.

Therefore, maintainers: Please deliver us from these warnings.



smime.p7s
Description: S/MIME Cryptographic Signature


Bug#836170:

2016-09-24 Thread Thomas Adam
This has nothing to do with FVWM at all.  FVWM has no concept of how
another application should be working.

-- Thomas Adam


Bug#836170: evince: annoying Gtk-WARNING messages

2016-09-04 Thread Michael Biebl
Am 04.09.2016 um 02:28 schrieb Vincent Lefevre:
> On 2016-09-03 21:02:02 +0200, Michael Biebl wrote:
>> Those are warning messages. So no, there is no bug. But shrug, do
>> whatever you like
> 
> There are two cases: either the D-Bus services should be there
> but they are not there, so there is a bug, or the warnings are
> pointless because the D-Bus services do not have to be there,
> in which case this is also a bug.

D-Bus services allow loose-coupling and often provide additional
integration. If those are missing in your environment, that doesn't
necessarily mean that evince becomes non-functional of that.
It's like syslog messages which can have different severity level. This
is a warning, informing the user that this integration with the gnome or
xfce Session Manager will be missing.

I obviously can't do anything about you finding that annoying. But this
is useful information for users in case there are problems.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#836170: evince: annoying Gtk-WARNING messages

2016-09-03 Thread Vincent Lefevre
On 2016-09-03 21:02:02 +0200, Michael Biebl wrote:
> Those are warning messages. So no, there is no bug. But shrug, do
> whatever you like

There are two cases: either the D-Bus services should be there
but they are not there, so there is a bug, or the warnings are
pointless because the D-Bus services do not have to be there,
in which case this is also a bug.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#836170: evince: annoying Gtk-WARNING messages

2016-09-03 Thread Michael Biebl
Am 03.09.2016 um 20:33 schrieb Vincent Lefevre:
> Control: reopen -1
> Control: reassign -1 fvwm 1:2.6.5.ds-4.1
> 
> On 2016-09-03 19:44:15 +0200, Michael Biebl wrote:
>> On Wed, 31 Aug 2016 10:12:46 +0200 Vincent Lefevre 
>> wrote:
>>> Package: evince
>>> Version: 3.20.1-1
>>> Severity: normal
>>>
>>> When I run evince from a terminal, I get the following annoying
>>> Gtk-WARNING messages:
>>>
>>> (evince:25632): Gtk-WARNING **: Failed to get the GNOME session proxy: The 
>>> name org.gnome.SessionManager is not owned
>>>
>>> (evince:25632): Gtk-WARNING **: Failed to get the Xfce session proxy: The 
>>> name org.xfce.SessionManager is not owned
>>>
>>> (evince:25632): Gtk-WARNING **: Failed to get an inhibit portal proxy: The 
>>> name org.freedesktop.portal.Desktop is not owned
>>>
>>> For the first two, this is completely stupid: I use neither GNOME,
>>> nor Xfce! I don't know about the third one (I just use fvwm as my
>>> window manager).
>>
>> evince tries to access those D-Bus services. As they are not provided in
>> your environment, evince logs those errors.
>>
>> This is not a bug.
> 
> Since there are errors, there is a bug. So, I assume that the bug is
> in fvwm.

Those are warning messages. So no, there is no bug. But shrug, do
whatever you like


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#836170: evince: annoying Gtk-WARNING messages

2016-09-03 Thread Vincent Lefevre
Control: reopen -1
Control: reassign -1 fvwm 1:2.6.5.ds-4.1

On 2016-09-03 19:44:15 +0200, Michael Biebl wrote:
> On Wed, 31 Aug 2016 10:12:46 +0200 Vincent Lefevre 
> wrote:
> > Package: evince
> > Version: 3.20.1-1
> > Severity: normal
> > 
> > When I run evince from a terminal, I get the following annoying
> > Gtk-WARNING messages:
> > 
> > (evince:25632): Gtk-WARNING **: Failed to get the GNOME session proxy: The 
> > name org.gnome.SessionManager is not owned
> > 
> > (evince:25632): Gtk-WARNING **: Failed to get the Xfce session proxy: The 
> > name org.xfce.SessionManager is not owned
> > 
> > (evince:25632): Gtk-WARNING **: Failed to get an inhibit portal proxy: The 
> > name org.freedesktop.portal.Desktop is not owned
> > 
> > For the first two, this is completely stupid: I use neither GNOME,
> > nor Xfce! I don't know about the third one (I just use fvwm as my
> > window manager).
> 
> evince tries to access those D-Bus services. As they are not provided in
> your environment, evince logs those errors.
> 
> This is not a bug.

Since there are errors, there is a bug. So, I assume that the bug is
in fvwm.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#836170: evince: annoying Gtk-WARNING messages

2016-08-31 Thread Vincent Lefevre
Package: evince
Version: 3.20.1-1
Severity: normal

When I run evince from a terminal, I get the following annoying
Gtk-WARNING messages:

(evince:25632): Gtk-WARNING **: Failed to get the GNOME session proxy: The name 
org.gnome.SessionManager is not owned

(evince:25632): Gtk-WARNING **: Failed to get the Xfce session proxy: The name 
org.xfce.SessionManager is not owned

(evince:25632): Gtk-WARNING **: Failed to get an inhibit portal proxy: The name 
org.freedesktop.portal.Desktop is not owned

For the first two, this is completely stupid: I use neither GNOME,
nor Xfce! I don't know about the third one (I just use fvwm as my
window manager).

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages evince depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-1
ii  evince-common3.20.1-1
ii  gsettings-desktop-schemas3.21.4-2
ii  libatk1.0-0  2.20.0-1
ii  libc62.23-5
ii  libcairo-gobject21.14.6-1+b1
ii  libcairo21.14.6-1+b1
ii  libevdocument3-4 3.20.1-1
ii  libevview3-3 3.20.1-1
ii  libgdk-pixbuf2.0-0   2.34.0-1
ii  libglib2.0-0 2.49.6-1
ii  libgnome-desktop-3-123.20.2-1
ii  libgtk-3-0   3.21.5-1
ii  libpango-1.0-0   1.40.2-1
ii  libsecret-1-00.18.5-1
ii  shared-mime-info 1.6-1

Versions of packages evince recommends:
ii  dbus-x11  1.10.10-1

Versions of packages evince suggests:
ii  gvfs  1.29.91-1
pn  nautilus  
ii  poppler-data  0.4.7-7
pn  unrar 

-- no debconf information