FLTK logo

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 | SVN ⇄ GIT ]

STR #3396

Application:FLTK Library
Status:1 - Closed w/Resolution
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:AlbrechtS
Fix Version:1.4.0
Fix Commit:0c712e50bc182bbda5a87704473459ccb2a67c6d
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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 */
 
 
#3 AlbrechtS
10:15 Dec 13, 2023
Fixed in Git repository.

Git commit: 0c712e50bc182bbda5a87704473459ccb2a67c6d.

Thank you for the report and the patch - and sorry for the late reply and fix.

I could not test with the configuration you mentioned but I verified the patch using this specification:
https://specifications.freedesktop.org/wm-spec/1.3/ar01s03.html#idm45692415179280

If there is anything not working, please open a GitHub issue and refer to this STR. TIA.
 
     

Return to Bugs & Features ]

 
 

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