By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2038

Summary: Review/improve desktop lock code
Product: TDE Reporter: Michele Calgaro <michele.calgaro>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: normal CC: bugwatch, kb9vqf
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Michele Calgaro 2014-04-28 01:09:56 CDT
The code in tdebase/kdesktop/lock looks very messy.
There are several variables named "trinity_desktop_lock_*", macros as ENABLE_CONTINUOUS_LOCKDLG_DISPLAY and DISABLE_CONTINUOUS_LOCKDLG_DISPLAY and processes and timers named "mHack*".
All these things give the impression the code was heavily/poorly hacked from the KDE 3.5.10 days and from a first analysis I wonder if all that stuff is or was really necessary.

Cleaning up the code is the minimum that has to be done (for example replacing those macros with proper functions). Possibly analyze and remove unused/unnecessary code would be a plus.

This should be done after v14.0.0 is out (perhaps for v14.1.0) to avoid introducing potential new bugs at this time.
Comment 1 Timothy Pearson 2014-04-28 01:20:55 CDT
It *is* very messy.  It was bad enough in the KDE 3.5.x days (all the mHack* stuff), and it has only gotten worse now that there are essentially two completely different lock systems crammed into one executable.