Menu

#1141 Clicking on Workspace name switches to previous Workspace

v1.3.6
open
nobody
None
5
2016-08-27
2016-03-17
Postmodern
No

Noticed that if one clicks on the Workspace name it has the same effect as clicking on the Workspace Back button.

Discussion

  • Mathias Gumz

    Mathias Gumz - 2016-04-06

    please provide your .fluxbox/keys file. i predict, that there will be something like OnToolbar MouseN :NextWorkspace

     
  • Postmodern

    Postmodern - 2016-04-07

    https://raw.githubusercontent.com/postmodern/dotfiles/master/.fluxbox/keys

    Only have OnDesktop Mouse5 :NextWorkspace and OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no). Mouse4 and Mouse5 are the scroll wheel and my scroll wheel is locked to prevent accidental scrolling.

     
  • Thomas Luebking

    Thomas Luebking - 2016-07-07

    The left/right click behavior is actually hardcoded into ToolFactory.cc
    Looks intended, do you consider it a bug?

     
  • Postmodern

    Postmodern - 2016-07-07

    It is definitely inconsistent and surprising. I would expect left/right click to only work on the buttons. Or left-click to only work on the left-half, and right-click to work on the right-half. I don't understand why left-click works on the workspace name as well as the workspace-left button.

     
  • Thomas Luebking

    Thomas Luebking - 2016-07-07

    commit 0810d7db5e87d9541daabac98a4b8b2d0f431b69
    Author: Soeren Beye
    Date: Wed Feb 27 09:44:49 2013 +0100

    Workspace switching on the toolbar via the mouse buttons
    

    It's actually also documented (and technically the thing is a button), but there's no explanation on why this was added. Not sure whether it's "definitely inconsistent" - I assume it was meant to substitute the prev/next buttons.

    Maybe Mathias recalls the change?

    Fyi and since you seem to "insist" on the left button, it actually covers left and right button.
    In case your desire is some dead space to click (to just deactivate any window), there's another bugreport that points towards adding a stretch element to the toolbar.

     
  • Thomas Luebking

    Thomas Luebking - 2016-08-13

    In case this is about the dead space only, https://github.com/luebking/fluxbox/commits/the_iconbar adds a spacer item (ie. you can add random amounts of dead space everywhere ;-)

     
  • Thomas Luebking

    Thomas Luebking - 2016-08-27
     

Log in to post a comment.