Scrolling ncurses app in xfce4-terminal with mouse wheel not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfce4-terminal (Ubuntu) |
Fix Released
|
Undecided
|
RaduStoica |
Bug Description
Affects: oneiric ocelot, precise pangolin
vte which xfce4-terminal is based on has a feature to send an application which is using the alternate screen a few cursor up and down keystrokes when the mouse wheel is activated. Most prominent application is the pager ("more" or "less") and in particular when used by "man" for manpage viewing.
Now not all ncurses applications are happy with that feature, e.g. when running "screen" and a shell inside screen, activating the mouse wheel would scroll the shell history instead. That resulted in a patch to vte (still present in vte3_0.31.0, patches/
It also changes the default behaviour by (probably accidentally) setting the feature to off. The result of the patch
simply is an new function that can be called to toggle the feature.
Now every package in ubuntu that uses vte needs a patch to eventually call that new function, otherwise its behaviour will differ from upstream.
gnome terminal does so, the patch is still in precise (patch 20_add_
xfce4-terminal should as well.
The provided patch will add a "hidden" Property, that can only be set manually be editing ~/.config/
MiscScrollAlt
The old version of my patch made xfce4-terminal segfault when closing the Preferences screen. This version fixes that. The new version also uses a different name because the new version of xfce4-terminal insists on using the "Misc" Prefix for hidden preferences (i.e. not changeable via the GUI) The patch is tested with no ill effects on my desktop and I do use terminals a lot.
Please include this patch into precise, so the LTS release does not suffer from this bug.
Related branches
- Iain Lane: Approve
- David Henningsson (community): Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 456 lines (+93/-322)6 files modified.pc/applied-patches (+0/-1)
.pc/xubuntu_fix-invalid-anchor.patch/terminal/terminal-dialogs.c (+0/-313)
debian/changelog (+14/-0)
debian/patches/scroll-alternate-src-togglable.patch (+77/-0)
debian/patches/series (+1/-0)
terminal/terminal-dialogs.c (+1/-8)
Changed in xfce4-terminal (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in xfce4-terminal (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → RaduStoica (radumstoica) |
The attachment "Make scroll alternate screen toggleable for xfce4-terminal" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]