Mouse wheel doesn't scroll location bar in Caja any longer

Bug #1688687 reported by Matthew Miller
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
caja (Ubuntu)
Fix Released
Low
Unassigned
Zesty
Fix Released
Low
Unassigned

Bug Description

[Impact]

Mousewheel scrolling over the pathbar buttons in Caja does nothing. It should switch between the buttons in case when not all of them are visible in the window, for example, when window isn't wide enough. It worked that way in GTK+2 builds of Caja, but stopped with migration to GTK+3 (in 1.18).

The patch attached to this report fixes the issue.

The fix is already present in Artful and tested by developers and users. Would be nice to backport it to Zesty as well, as it's a regression compared to previous Caja versions.

[Test Case]

Steps to reproduce:
- launch Caja
- move to some directory 4-5 levels deep (so that
  the pathbar has enough buttons to test)
- reduce width of Caja window to make some pathbar
  buttons disappear
- use mousewheel scroll over any pathbar button

The scroll will do nothing. To see what it should actually do, use left/right arrow buttons on the sides of the pathbar.

[Regression Potential]

Between low and none. The patch only affects the processing of scroll events in the pathbar.

[Other Info]

The patch is included into the debdiff attached to
bug 1680604.

The debdiff contains patches to fix bug 1680604,
bug 1683653, bug 1688687. See other reports for the
corresponding SRU templates.

[Original Description]

In previous versions of Ubuntu, if the breadcrumbs in the location bar in Caja were wider than the window, I could hover over the location bar and scroll left to right with the mouse wheel. As of 17.04, this no longer works. The mouse wheel doesn't scroll the location bar.

Vlad Orlov (monsta)
affects: ubuntu-mate → caja (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in caja (Ubuntu):
status: New → Confirmed
Revision history for this message
Vlad Orlov (monsta) wrote :

Fixed upstream in Caja 1.18.4. It will probably reach Ubuntu 17.10 repos soon.

Attaching the patch that can be applied in Ubuntu 17.04 or 17.10.

tags: added: artful zesty
tags: removed: caja
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix mousewheel scrolling on pathbar" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package caja - 1.18.4-0ubuntu1

---------------
caja (1.18.4-0ubuntu1) artful; urgency=medium

  * New upstream release. (LP: #1688687)

 -- Martin Wimpress <email address hidden> Sun, 27 Aug 2017 11:22:33 +0100

Changed in caja (Ubuntu):
status: Confirmed → Fix Released
Vlad Orlov (monsta)
tags: removed: artful
Vlad Orlov (monsta)
tags: added: ubuntu-mate-zesty-sru
Changed in caja (Ubuntu Zesty):
status: New → Triaged
Changed in caja (Ubuntu):
importance: Undecided → Low
Changed in caja (Ubuntu Zesty):
importance: Undecided → Low
Revision history for this message
Vlad Orlov (monsta) wrote :

[Impact]

Mousewheel scrolling over the pathbar buttons in
Caja does nothing. It should switch between the
buttons in case when not all of them are visible
in the window, for example, when window isn't wide
enough. It worked that way in GTK+2 builds of Caja,
but stopped with migration to GTK+3 (in 1.18).

The patch attached to this report fixes the issue.

The fix is already present in Artful and tested by
developers and users. Would be nice to backport it
to Zesty as well, as it's a regression compared to
previous Caja versions.

[Test Case]

Steps to reproduce:
- launch Caja
- move to some directory 4-5 levels deep (so that
  the pathbar has enough buttons to test)
- reduce width of Caja window to make some pathbar
  buttons disappear
- use mousewheel scroll over any pathbar button

The scroll will do nothing.
To see what it should actually do, use left/right
arrow buttons on the sides of the pathbar.

[Regression Potential]

Between low and none. The patch only affects the
processing of scroll events in the pathbar.

[Other Info]

The patch is included into the debdiff attached to
bug 1680604.

The debdiff contains patches to fix bug 1680604,
bug 1683653, bug 1688687. See other reports for the
corresponding SRU templates.

Simon Quigley (tsimonq2)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Matthew, or anyone else affected,

Accepted caja into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/caja/1.18.1-0ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-zesty to verification-done-zesty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-zesty. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in caja (Ubuntu Zesty):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-zesty
Revision history for this message
Brian Murray (brian-murray) wrote :

While I've accepted this the "Regression Potential" section is rather weak. What kinds of testing should be done to ensure the fix didn't break anything else?

Revision history for this message
Vlad Orlov (monsta) wrote :

There's not much to say, really. Adding scroll event to the set of events that a widget will receive doesn't affect other types of events on it (mouse button press, key press and others).

Revision history for this message
Vlad Orlov (monsta) wrote :

Testing in Zesty. It's done after testing the fix for bug 1680604, so the packages are already updated to version 1.18.1-0ubuntu2.1 from zesty-proposed.

- launched Caja
- changed to /usr/lib/x86_64-linux-gnu/mate-notification-daemon/engines/
- reduced the window's width so that some pathbar buttons would be hidden
- used mousewheel scroll over all pathbar buttons
- used mousewheel scroll over left/right arrow buttons on the sides of the pathbar
- clicked on arrow buttons as well - they do the same as mousewheel scrolling
- also checked that all pathbar buttons work properly (they do)

The scrolling works. It does the same as the arrow buttons on the sides of the pathbar.
Scrolling down or clicking on right arrow reveals hidden buttons at the end of the pathbar.
Scrolling up or clicking on left arrow does the same at the start of the pathbar.

tags: added: verification-done verification-done-zesty
removed: verification-needed verification-needed-zesty
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package caja - 1.18.1-0ubuntu2.1

---------------
caja (1.18.1-0ubuntu2.1) zesty; urgency=medium

  * Added patches:
    + fix-list-view-zoom.patch - fixes visual issues with zoom in
      list view (LP: #1680604)
    + restore-dbus-init.patch - restores DBus initialization to fix
      Firefox freeze when opening download folder (LP: #1683653)
    + fix-mousewheel-scroll.patch - fixes mousewheel scrolling over
      pathbar buttons (LP: #1688687)

 -- Vlad Orlov <email address hidden> Mon, 06 Nov 2017 22:00:31 +0300

Changed in caja (Ubuntu Zesty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for caja has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.