Bug#836170: evince: annoying Gtk-WARNING messages

Vincent Lefevre vincent at vinc17.net
Tue Dec 6 08:55:04 UTC 2016


On 2016-12-05 20:22:30 -0700, Jaimos Skriletz wrote:
> On Wed, 23 Nov 2016 01:00:09 +0100 Vincent Lefevre <vincent at vinc17.net> 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 <file.pdf>" 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 <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnome-maintainers mailing list