STR #3396

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Post Text | Post File | Prev | Next ]

STR #3396

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Subsystem:X11
Summary:Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0
Version:1.4.0
Created By:chris
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files


Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 chris
07:39 Aug 15, 2017
With Ubuntu 17.04/Metacity there are warning messages written to console, like:

Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4a00003 (win1)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

Noticed with the test programs 'twowin' (when clicking on buttons b1/b2) and 'windowfocus' (when entering text).


These come from Fl_x.cxx line 2228, where 0 is used as timestamp.
I tried using fl_event_time instead, which seems to work.
 
 
#2 chris
05:51 Feb 06, 2018
Can still be observed with Ubuntu 17.10 when running with Gnome-Session-Flashback/Metacity (XDG_SESSION_DESKTOP="gnome-flashback-metacity").

It occurs only, when Metacity is configured to run non-compositing (this can be achieved with: metacity --replace --no-composite &).


Here is change mentioned in #1 in diff format:


Index: src/Fl_x.cxx
===================================================================
--- src/Fl_x.cxx (Revision 12646)
+++ src/Fl_x.cxx (Arbeitskopie)
@@ -2226,7 +2226,7 @@
   }
 
   send_wm_event(w, fl_NET_ACTIVE_WINDOW, 1 /* application */,
-                0 /* timestamp */, prev /* previously active window */);
+                fl_event_time /* timestamp */, prev /* previously active window */);
 }
 
 /* Change an existing window to fullscreen */
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2023 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.