Bug 146150

Summary: Incorrect window ordering after year rollover
Product: [Plasma] kwin Reporter: Olivier Vitrat <ovit.debian>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED REMIND    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Olivier Vitrat 2007-05-30 15:31:07 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian stable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405688

When leaving a session logged in across the new year, windows that are created anytime in the new year are placed behind windows created in the old year.  i.e. if a Konsole session has been open since 2006, any new apps started from the Quick Launch Bar or K menu in 2007 will be spawned behind the active konsole window.  Best guess is that KDE uses a "seconds since 01-Jan" method of calculating which windows are newest to determine the order in which they should appear on the desktop.  This should likely be referenced to UTC time instead.
Comment 1 Lubos Lunak 2007-05-30 17:12:40 UTC
That seems rather unlikely, there shouldn't be any date/time stored relatively to the current year, it's probably only the long time the session was active. Please try to reproduce the problem using the most recent KDE version.
Comment 2 Lubos Lunak 2007-12-17 19:05:41 UTC
Waiting for a response.