Bug 333104

Summary: When invoked from a command line, kdeui complains (see detail)
Product: [Applications] krusader Reporter: Peter C. Trenholme <PTrenholme>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: minor CC: bruce.oy, davide, krusader-bugs-null
Priority: NOR    
Version First Reported In: 2.4.0-beta3 "Single Step"   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Peter C. Trenholme 2014-04-05 23:50:57 UTC
The first two are, I assume, because a desktop system has no power management system.
The third one is what prompted this report.
The last one (the X complaint) should also be considered.
# krusader 
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
krusader(3285)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x227d980 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x30000e2

Reproducible: Always

Steps to Reproduce:
1. Start krusader from a command line
2. Work a bit
3. exit krusader
Actual Results:  
See details

Expected Results:  
No error or warning messages

I flagged his as "minor" because it is.

And, as far as I could see, there was no need of a "work around" since krusader seemed to work properly.

The presence of these warnings does seem, to me, to suggest somewhat sloppy coding, or (more likely) changes in upstream standards which -- since they don't affect functionality -- could be "deferred."
Comment 1 Bruce Ouyang 2014-04-23 14:49:15 UTC
sometimes i also met this issue. when i close a krusader window, krusader alert a window and say "X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty)".  in my situation it's not about the way to lauch krusader because i started it from lancelot launcher.
if i restart krusader this alert window may never popped up again.
Comment 2 Davide Gianforte 2021-08-24 06:29:03 UTC
This version of Krusader is unmantained, please update to 2.7.2 and reopen the bug if the issue is still present.