User forums > Using Code::Blocks

Mouse wheel in editor

<< < (2/4) > >>

Ceniza:
It also works fine here in Gentoo 64 bits.

BTW, have you noticed you can also right click on the editor and drag everywhere? Maybe that feature is old, but I only found about it when testing the new Scintilla.

DrewBoo:
If it helps, I also have all plugins and all contrib plugins enabled.

Edit:  I tried codeblocks --safe-mode and the problem persists.  Not a plugin thing.

Left, right, and middle clicks work as expected.  It's just the mouse wheel signals that get eaten by the editor window.

It looks like someone left a (sparse) bug report: http://developer.berlios.de/bugs/?func=detailbug&bug_id=15054&group_id=5358

FWIW, my wxWidgets-2.8.9 is built against gtk-2.6.  Perhaps the conflict is between that new scintilla and the (relatively old) gtk-2.6

Jenna:

--- Quote from: Ceniza on January 14, 2009, 07:04:13 pm ---BTW, have you noticed you can also right click on the editor and drag everywhere? Maybe that feature is old, but I only found about it when testing the new Scintilla.

--- End quote ---

That should be done my the drag/scroll-plugin.


--- Quote from: DrewBoo on January 14, 2009, 04:54:34 pm ---It's probably worth noting that scintilla changebar functionality was added during this time.

--- End quote ---
The changebar-feature should not be able to affect the mousewheel, but you can try what happens if you disable it with unchecking "Settings -> Editor... -> Margins and caret -> Use changebar".

The part affecting the mousewheelevent in scintilla did also not change with the scintiulla update as far as I know.


If you use a self-compiled C::B it would be interesting to see what happens if the plugins are not even loaded (--safe-mode only disables them).
You can run "make uninstall" to remove all the C::B stuf (the configuration will remain) and use "./configure" without the parameter "--with-contrib-plugins=...".
And maybe you get some usefull error-messages if you change the first line in OnInit() (app.cpp about line 468) from "wxLog::EnableLogging(true);" to "wxLog::EnableLogging(true);" before recompiling (there are some messages that are "normal").


--- Quote from: travonz on January 05, 2009, 11:05:55 am ---since several days mouse wheel doesn't work any more in editor. It work only if cursor is over scroll bar, which is not comfortable. It also work on other widgets (combobox, ...).
Font size change is also disable if ctrl pressed.

--- End quote ---
What happens in the ThreadSearch preview window or in the SyntaxHighlighting example window ?


By the way:
It would be of interest if anything else was updated the same time on the systems that have these problems.

DrewBoo:
Update:  I rebuilt wxWidgets-2.8.9 using gtk-2.12 instead of gtk-2.6.  The same bug exists.   :(


--- Quote from: jens on January 14, 2009, 10:18:31 pm ---The changebar-feature should not be able to affect the mousewheel, but you can try what happens if you disable it with unchecking "Settings -> Editor... -> Margins and caret -> Use changebar".

--- End quote ---

Good idea.  I tried it and the same bug exists.   :(


--- Quote from: jens on January 14, 2009, 10:18:31 pm ---It would be of interest if anything else was updated the same time on the systems that have these problems.

--- End quote ---

My system is heavily locked down.  It's one of those Solaris ZFS file systems where my whole company is effectively running from one giant networked hard drive.

In this setup, new libraries are installed in their own unique directories, so it's unlikely that the libraries I've been pointing to have changed.

I will be able to confirm this when I have the time to spare by pulling down an older build from svn.  I could even narrow the issue down to the specific checkin, but that will be tedious.  I may have to demand animated sparkles next to my name on this forum...if I'm right about this, of course.


My bet is that some specific combination of libraries became poisonous recently without the majority of users seeing the problem.  Jens (or anyone), do you know offhand if command-line svn leaves any kind of log where I could see what revision number my prior pull was from?  That would help narrow down the search. 


 

Jenna:
Another question:

Can you scroll the starthere-page?

If yes, could you put some debug-statements ("printf"'s for example) inside wxScintillas "OnMouseWheel"-handler, to see if it is reached ?
"src/sdk/wxscintilla/src/wxscintilla.cpp:3835" (OnMouseWheel) and "src/sdk/wxscintilla/src/ScintillaWX.cpp:855" (Do MouseWheel)

Did you try tu do a "make clean" or a "make distclean" before building ?

And did you run  "./bootstrap" with the new sources, because some (many ?) of the "Makefile.am"' are changed ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version