Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 332613

Summary: sci-electronics/kicad: Group selection does not work on fluxbox, windowmaker
Product: Gentoo Linux Reporter: Heiko Rosemann <heiko.rosemann>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The patch required for kicad to work on fluxbox, fvwm, windowmaker
A small code cleanup patch - referred to in ebuild
An ebuild file for building kicad from svn plus patches

Description Heiko Rosemann 2010-08-13 14:21:35 UTC
When running kicad - both the current stable and the unstable from SVN - on fluxbox, windowmaker, or fvwm - according to http://tech.dir.groups.yahoo.com/group/kicad-users/message/7780 - the selection of a group of objects does not work. Running it on xfce, everything is fine.

Reproducible: Always

Steps to Reproduce:
1. Install and run kicad
2. Open eeschema or pcbnew
3. Press and hold left mouse button while dragging mouse around in canvas

Actual Results:  
Cursor moves around as if left mouse button was not pressed.

Expected Results:  
A rectangle should open, allowing the user to select a group of objects. Similar to the way it behaves when dragging the mouse with middle button clicked.

This is happening on fluxbox 1.0.0, kicad from svn (rev 2518) and current stable (rev 2458) with wxGTK 2.8.10.1-r5. It might be a bug not in kicad but in either (fluxbox, windowmaker, fvwm) or wxGTK, but I found it easier to work around it in kicad. Please see my upstream bug report for more details: https://lists.launchpad.net/kicad-developers/msg05171.html

I hope this will be fixed in upstream, but since I took the effort to create patches and an ebuild for myself, I thought I'd share :)
Comment 1 Heiko Rosemann 2010-08-13 14:22:37 UTC
Created attachment 242777 [details, diff]
The patch required for kicad to work on fluxbox, fvwm, windowmaker
Comment 2 Heiko Rosemann 2010-08-13 14:23:47 UTC
Created attachment 242779 [details, diff]
A small code cleanup patch - referred to in ebuild

...while I was trying to understand the code, I took the liberty to replace some magic numbers with the appropriate symbolic constants. No functional change, but referred to in the ebuild.
Comment 3 Heiko Rosemann 2010-08-13 14:24:31 UTC
Created attachment 242781 [details]
An ebuild file for building kicad from svn plus patches
Comment 4 Heiko Rosemann 2010-08-13 14:48:36 UTC
Just got the message from the upstream maintainer: Looks like he has been winding down the SVN repo and switched over to bazaar on launchpad.

Will check that and see if the bug is still present there.

Gotta run,
Heiko
Comment 5 Michael Weber (RETIRED) gentoo-dev 2012-05-25 14:20:45 UTC
Version 20120119_p3256 is now in tree and stable.

Please test this issue on the current version and reopen/comment if the issue still exists.