Bug 230380

Summary: background image of khangman's desert theme is broken
Product: [Applications] khangman Reporter: Martin Walch <walch.martin>
Component: generalAssignee: Anne-Marie Mahfouf <annma>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot of khangman

Description Martin Walch 2010-03-11 23:22:52 UTC
Version:           2.4 (using KDE 4.4.1)
Compiler:          gcc 4.4.3
 gcc (Gentoo 4.4.3 p1.0) 4.4.3
OS:                Linux
Installed from:    Gentoo Packages

The background image of khangman's desert theme does not fit the window and its elements (I will attach a screenshot). Especially switching between themes makes the problem obvious.

I tried to take a closer look at the problem, but it was not possible to build khangman as described in 


$ mkdir khangman-build
$ cd khangman-build
$ cmake ../khangman
CMake Error at src/CMakeLists.txt:15 (kde4_add_ui_files):
  Unknown CMake command "kde4_add_ui_files".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

$ sed s/"\(project.*\)"/"\1\nfind_package( KDE4 REQUIRED )"/g ../khangman/CMakeLists.txt
$ cmake ../khangman
$ make -j1
In file included from /home/neo/kdeedu-4.4.1/khangman/src/khangman.cpp:22:                                                                                                          
/home/neo/kdeedu-4.4.1/khangman/src/khangman.h:24:25: error: KXmlGuiWindow: No such file or directory
In file included from /home/neo/kdeedu-4.4.1/khangman/src/khangman.h:26,
                 from /home/neo/kdeedu-4.4.1/khangman/src/khangman.cpp:22:
/home/neo/kdeedu-4.4.1/khangman/src/khangmanview.h:33:18: error: QImage: No such file or directory
/home/neo/kdeedu-4.4.1/khangman/src/khangmanview.h:34:19: error: QPixmap: No such file or directory
/home/neo/kdeedu-4.4.1/khangman/src/khangmanview.h:36:21: error: KLineEdit: No such file or directory

And so on. I finally stopped trying this as I also could not get a debugging build configuration (with -O0). Does it make sense to open bug reports for those problems as well?
Comment 1 Martin Walch 2010-03-11 23:25:48 UTC
Created attachment 41546 [details]
screenshot of khangman

This is what can be seen when switching from Sea theme to Desert theme. Notice the right border that does not get re-initialised and still shows the Sea theme.
Comment 2 Anne-Marie Mahfouf 2010-05-30 11:10:01 UTC
SVN commit 1132306 by annma:

repaired Desert theme, thanks to Deri who answered my blog question! 

 M  +2914 -2908 khangman_desert.svg  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1132306
Comment 3 Anne-Marie Mahfouf 2010-05-30 11:16:00 UTC
SVN commit 1132310 by annma:

repaired Desert background, thanks to Deri
4.4 branch commit

 M  +2914 -2908 khangman_desert.svg  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1132310