Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216065 - x11-plugins/wmcliphist-0.6 doesn't launch in the slit properly
Summary: x11-plugins/wmcliphist-0.6 doesn't launch in the slit properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 17:36 UTC by Tom Dexter
Modified: 2008-08-18 13:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make new wmcliphist dock properly (wmcliphist-0.6.patch,3.48 KB, patch)
2008-05-02 14:51 UTC, Sean O'Leary
Details | Diff
Ebuild for above patch (wmcliphist-0.6-r1.ebuild,828 bytes, text/plain)
2008-05-02 14:52 UTC, Sean O'Leary
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Dexter 2008-04-03 17:36:52 UTC
wmcliphist-0.6, rather than launching in the slit (my slit is in the lower right) launches as a regular window with borders etc in the default upper right location.

This occurs under fluxbox as well as kde.

I've gotten as far as determining that the wmcliphist-0.6-Makefile.patch, which among other things changes it to use gtk-2.0, is causing this.  If I simply compile it from the original source with make it functions correctly.


Reproducible: Always

Steps to Reproduce:
1. emerge wmcliphist
2. run wmcliphist


Actual Results:  
Opens in an ordinary window with borders/decorations etc.

Expected Results:  
Expected to open as a dockable app in the slit.
Comment 1 Tom Dexter 2008-04-03 18:26:17 UTC
I just tried a test with the example from the foodock library used by wmcliphist:

http://freshmeat.net/projects/foodock/

The example app compiled with the following:

gcc -Wall -O2 -ansi -pedantic `gtk-config --cflags` -I. -Ifoodock -g   -c -o foodock.o foodock.c
gcc -Wall -O2 -ansi -pedantic `gtk-config --cflags` -I. -Ifoodock -g -c -o example.o example.c `gtk-config --cflags`
gcc `gtk-config --libs` -o example example.o foodock.o

...will launch in the slit.  The following does not:

cc -Wall -ansi -pedantic `pkg-config --cflags gtk+-2.0` -I . -c -o foodock.o foodock.c
cc -Wall -ansi -pedantic `pkg-config --cflags gtk+-2.0` -I. -c -o example.o example.c
cc example.o foodock.o `pkg-config --libs gtk+-2.0` -o example

Comment 2 Tom Dexter 2008-04-03 18:41:10 UTC
I've been able to get a working copy of this compiled with gtk+-2.0 using the patch referenced in this Debian bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437433

Comment 3 Sean O'Leary 2008-05-02 14:51:03 UTC
Created attachment 151625 [details, diff]
Patch to make new wmcliphist dock properly
Comment 4 Sean O'Leary 2008-05-02 14:52:03 UTC
Created attachment 151627 [details]
Ebuild for above patch
Comment 5 Sean O'Leary 2008-05-02 14:53:38 UTC
The patch and ebuild above work properly, at least for me in WindowMaker.

Can we get this into the tree soonish?

Thanks,

Sean.
Comment 6 Michele Noberasco (RETIRED) gentoo-dev 2008-08-18 13:04:15 UTC
In Portage as new package revision, thanks for the submission!