Bug 118113

Summary: X Error: BadWindow (invalid Window parameter) 3
Product: [Applications] kmenuedit Reporter: jg
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor CC: christian.gonzalez
Priority: LO    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description jg 2005-12-11 13:58:07 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
OS:                Linux

Hi, I see this X error when I try and add KWrite to Utilities->Editors

============
$ kmenuedit
kmenuedit: WARNING: Could not read /home/now3d/.config/menus/applications-kmenuedit.menu
now3d@now2g:~$ X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x2e00940
Comment 1 Philip Rodrigues 2005-12-11 19:03:49 UTC
Does everything else work fine? If so, the error is just debug output and you don't need to worry about it
Comment 2 jg 2005-12-11 19:43:08 UTC
Hi, It does not crash, it seems to work, but this is the first time I have used it so I do not know if all features are working

To reproduce just right click and select "New Item".  I tried this and saved and it seems to work.

Kind regards
JG
Comment 3 Philip Rodrigues 2005-12-15 15:22:34 UTC
I get the same message, but unless something in the functionality of kmenuedit fails, there's no bug.
Comment 4 jg 2005-12-16 00:59:02 UTC
Hi,
Perhaps it is a bug in the component kmenuedit uses to interface with X, please reasign the bug to the GUI component if you agree with me on this.
Kind regards
JG
Comment 5 Philip Rodrigues 2005-12-19 13:27:26 UTC
I would assume that this isn't considered a bug by the developers, but I'm not one, so I'll leave it to them to comment :-).
Comment 6 Philip Rodrigues 2006-08-09 22:45:12 UTC
I don't get the warning message any more, and no word from the developer, so I'll close. FWIW, the X level messages can be caused by XIM/SCIM, I'm told.
Comment 7 Craig Jackson 2007-11-25 23:58:44 UTC
I cannot save changes with the menu editor.  The changes show up when editing it, and saving appears to work, but when exiting the menu editor, the changes are not reflected in the kde menu or in kmenuedit.  I have seen many threads regarding this, and many workarounds have been suggested, and none of them resolve my issue.  I have re-created my user account and folder many times.  I have removed /etc/kde/xdg/menus and still no change.  I am using a freshly compiled kdebase-3.5.8 and kdelibs-3.5.8.  I am not on a distribution, I am using Linux From Scratch, so no special configuration is in place, this is a strict reference implementation of kde-3.5.8.  The issue also is produced with 3.5.6.  The only output I get on the console when performing these steps in kmenuedit is:

-----Upon creating a new menu item and giving it a name-----
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x1c001c2

-----Upon choosing an icon I want and pressing "OK"-----
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x1c0099d

-----Upon clicking the save button-----
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x1c00d56

Please let me know if I need to do additional debugging.

Thank you,

Craig Jackson
Comment 8 Christian González 2014-05-28 07:50:33 UTC
IMHO this is neither resolved nor worksforme. It displays an error message, and just because "everything works as intended", meaning "I can not find any not working issue" this does not imply that there is no bug. There is a bug, because else this message would not be displayed. Maybe it is a pretty small one, and maybe it is not related to kmenuedit (it can be found as well in e.g. konsole 2.13.1), so at least it should be reassigned to the right package (kdelibs?).

What can we do to resolve this?
Comment 9 Christoph Feck 2014-06-10 20:52:30 UTC
Please create a new bug with steps to reproduce.