Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332613 - sci-electronics/kicad: Group selection does not work on fluxbox, windowmaker
Summary: sci-electronics/kicad: Group selection does not work on fluxbox, windowmaker
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 14:21 UTC by Heiko Rosemann
Modified: 2012-05-25 14:20 UTC (History)
0 users

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


Attachments
The patch required for kicad to work on fluxbox, fvwm, windowmaker (fluxbox_events.patch,1.97 KB, patch)
2010-08-13 14:22 UTC, Heiko Rosemann
Details | Diff
A small code cleanup patch - referred to in ebuild (magic_numbers_cleanup.patch,859 bytes, patch)
2010-08-13 14:23 UTC, Heiko Rosemann
Details | Diff
An ebuild file for building kicad from svn plus patches (kicad-99999999-r1.ebuild,3.89 KB, text/plain)
2010-08-13 14:24 UTC, Heiko Rosemann
Details

Note You need to log in before you can comment on or make changes to this bug.
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.