Gnome Workspace Switche Preferences: Number of workspaces number-field arrow buttons don't work

Bug #83334 reported by Andreas Haller
78
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-panel

When i right-click on the workspace-switcher in the panel and click settings a dialog window comes up where i can set the number of virtual desktops/workspaces. The actual number-field "Number of workspaces" does not work properly:
When i click on an up- or down-arrow symbol next to the input field, the value does not change!

First i thought there could be something wrong with the gtk theme, but changing it did not fix the problem.
I can use the keyboard and type in value. That works. I can also use the mouse wheel to alter the value (i have to wheel-up three times to higher the value).
I am using workspace-switcher version 2.17.90 on ubuntu Feisty Fawn.

ProblemType: Bug
Date: Mon Feb 5 00:34:35 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gnome-panel
Package: gnome-panel 2.17.90-0ubuntu1
ProcCmdline: gnome-panel --sm-client-id default1
ProcCwd: /home/ahaller
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-panel
Uname: Linux ahaller-laptop 2.6.20-6-generic #2 SMP Wed Jan 31 20:53:39 UTC 2007 i686 GNU/Linux

Revision history for this message
Andreas Haller (ahaller) wrote :
Revision history for this message
Áron Sisak (asisak) wrote :

Tried to confirm and failed.

Changed in gnome-panel:
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

Confirmed, several clicks are required to increment by 1, that's probably due to the change for http://bugzilla.gnome.org/show_bug.cgi?id=336731

Changed in gnome-panel:
assignee: nobody → desktop-bugs
status: Needs Info → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've commented on the upstream bug about that

Revision history for this message
Philip Wyett (philwyett) wrote :

Attached patch gives desired functionality of the spin control.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Philip, thank you for your work on that. Why do you use "100.0" for the page increment?

Revision history for this message
Philip Wyett (philwyett) wrote :

Force of habit using the 100.0 for the page i.e. increments for a button two press to jump straight to either the max or or min value depending on the spin arrow clicked on. This can be easily changed to 1.0 for single stepping or another value e.g. the maximum workspace allowable which I think is 36.

Revision history for this message
Sebastien Bacher (seb128) wrote :

changing to 1.0 will make the spin buttons switch between values fast again

Revision history for this message
Philip Wyett (philwyett) wrote :

Setting the page value to 1.0 in conjunction with step of 1.0 is fine here. You get correct changes for single clicks and a speed up if click and hold.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Have you read the upstream bug pointed previously? http://bugzilla.gnome.org/show_bug.cgi?id=336731

Revision history for this message
Philip Wyett (philwyett) wrote :

Having read through the contents of the link, I am more confused than before and am suspicious of how the spin button may have been set up. I am going to have a dig deeper into this and see what's going on. I will post more comments etc. as this progresses.

Revision history for this message
Philip Wyett (philwyett) wrote :

If adjustment is made to the spin button step and page values we see the following bug appear. Though the single stepping works fine, when you click and hold down the mouse button for faster stepping, metacity crashes after a visible refresh of the whole dialog box.

https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/86436

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in gnome-panel:
status: Confirmed → Fix Committed
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

fresh install of feisty herd4 still has this bug.
cant use up/down keys or click with the mouse.
only typing the number works.

Revision history for this message
Paul_Blank (einkleineraccount) wrote :

problem still exists in Workspace Switcher-Applet 2.17.91 (Ubuntu Feisty last updated on 2007-02-23)

I can change the number of workspaces only either
- by typing (entering a number via keyboard) or
- pressing & holding down the left mouse button on the up/down keys

Revision history for this message
Sebastien Bacher (seb128) wrote :

That bug has been identified, confirmed and fixed upstream, no need to describe it again. The fix will be uploaded to Ubuntu next week with the new GNOME

Revision history for this message
Sebastien Bacher (seb128) wrote :

That upload fixes the bug:

 gnome-panel (2.17.92-0ubuntu1) feisty; urgency=low
 .
   * New upstream version:
     Panel:
     - Fix wrong initial position of menu (Ubuntu: #30146)
     - Code cleanups
     - Add missing mnemonics in main menu
     - Don't show multiple times a dialog about an applet failing to load
     - Don't try to load again in the same session an applet that failed to
       load before
     - Get localized names when starting a launcher so that the startup
       notification use the translated name
     - Fix image size on the run dialog so that it's always the correct size
     - Set automatic gravity for the labels in the menubar, so that japanese
       and other scripts are correctly displayed on vertical panels
     Workspace Switcher Applet:
     - Make mouse scrolling correctly work in RTL environments
     - Performance improvement when a workspace is renamed/added/removed.
       This has an important impact when accessibility is turned on.
     - Fix speed of the spin button for number of workspaces (Ubuntu: #83334)
     Clock Applet:
     - Set automatic gravity for the clock label, so that japanese and other
       scripts are correctly displayed on vertical panels
     - Make it possible to use markup for the clock text, which is useful
       with custom format
     - Don't wake up every second if it's not necessary
     Misc:
     - Add missing check for gconf for libpanel-applet
     - Require pango 1.15.4
     - Distribute MAINTAINERS
     Docs:
     - Update fish screenshot
   * debian/control.in:
     - Build-Depends on libgconf2-dev (>= 2.6.1), libpango1.0-dev (>= 1.15.4)
     - package maintainer by the Ubuntu Desktop Team
   * debian/patches/07_use_beagle.patch:
     - dropped the patch changing the search menu item, beagle users want to
       use gnome-search-tools also and beagle is to the applications menu
   * debian/patches/09_lpi_src.patch:
     - updated
   * debian/patches/11_panel_addto_dialog.patch:
     - updated
   * debian/patches/12_autoreconf.patch:
     - renamed to reflect the right command and updated

Changed in gnome-panel:
status: Fix Committed → Fix Released
Revision history for this message
TBOL3 (tbol314) wrote :

This may be a different bug, based on the date stamp, but the effect is very similar. When I click on the preferences menu for the virtual desktop app, I see two 0. I can change the number, and hit the buttons, but when I hit the buttons, the number of desktops, and rows, stay at zero. When I type a number into the box, nothing happens.

Thanks.

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.