Open Bugs | New Bug anonymous
Login/Register

Equi4 SoftwareEdit Bug

Title: too much binding in localmode wikit in X11 Status: closed
Product: Wikit Severity: minor
Version: Type: bug
Assign to:
Platform:
unix X11 scrollmouse
Message:

File:
Description:

Messages

2003/05/31
Dear Jean-Claude,
I run wikit in localmode on a linux-box. My scrollmouse is supported
by generating mouseclicks on button 4 and 5.
when I use the mousewheel to scroll inside a wikitpage and the text
scrolls by is a link, then that link is fired and the page switches.
in wikit.vfs/lib/wikit/gui.tcl line 60 proc Expand_Tk {str} {
...
if {$a == "g"} {
set id [LookupPage $c]
$D tag bind $tag <ButtonPress> "Wikit::showLinkedPage $id"
}
should be changed to
...
$D tag bind $tag <ButtonPress-1> "Wikit::showLinkedPage $id"
Of cource you could check for the platform or put lines for
binding button-2 and button-3, but I dont think that is necessary
Thank you for all your great programs
Albrecht Mucha<[email protected]>
Bad Salzdetfurth Germany
2003/06/05 jcw
thank you - I've applied your fix

Files

2003/05/31 gui.tcl application/x-tcl

Bug Tracker © 2002 McMillan Enterprises, Inc.