Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed problem with split view not scrolling #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

r-barnes
Copy link

As mentioned in Issue #4, the bottom window of the split view does not scroll in response to keyboard commands.

As it turns out this is because the view is added to a GtkScrolledWindow using add_with_viewport(). This is wrong. If the child element has native scrolling (which is the case here), it should be added with add().

This documentation ("http://www.pygtk.org/docs/pygtk/class-gtkscrolledwindow.html#method-gtkscrolledwindow--add-with-viewport") supports my conclusion, as does the fact that it resolves Issue #4... at least in Gedit 3.6.2.

… child element has native scrolling capabilities and therefore should not be added with add_with_viewport() as per this ("http://www.pygtk.org/docs/pygtk/class-gtkscrolledwindow.html#method-gtkscrolledwindow--add-with-viewport") documentation of GtkScrolledWindow.
@bjfar
Copy link

bjfar commented Aug 12, 2013

I can confirm that this fixes the problem in Gedit 3.4.1 as well, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants