Giter Club home page Giter Club logo

Comments (6)

mxcl avatar mxcl commented on September 2, 2024 2

Workbench 1.0.1 is available and I have confirmed you can now ⌘-drag.

To force an update hold ⌥ and click the cog menu, the item “Check for updates” will appear. The new version will download and restart, you can verify the version is 1.0.1 by looking in the bottom left of the popup.

from workbench.

mxcl avatar mxcl commented on September 2, 2024

We’re not doing anything non-standard.

If the Bartender developers want to investigate, our sources are available for them to read.

from workbench.

jariz avatar jariz commented on September 2, 2024

I'll shoot them a message, thanks.

from workbench.

bensurtees avatar bensurtees commented on September 2, 2024

Hi, I am the developer of Bartender, the issue is that Bartender uses the macOS default behaviour of ⌘+dragging menu items to reposition/order them in the menu bar (try this on other menu items, they should drag and reposition themselves, except Notification Center which isn't allowed to move).
This does not work with workbench (regardless of Bartender running) this is because in workbench you are overriding this behaviour by catching events before they go through the StatusItemWindow sendEvent (which handles this) by using a localeventmonitor (which gets the events first), which is okay, but you just want to check to see if ⌘ is pressed (check the event. modifierFlags) and allow that event to pass through (return event) without triggering self?.onStatusBarItemClicked()
You should then get the dragging behaviour back, and as an added bonus Bartender will work with it.

Let me know if you need more info or anything.

Ben

from workbench.

bensurtees avatar bensurtees commented on September 2, 2024

I created a pull request with what I believe should be a fix ( I didn't compile workbench to test it)

from workbench.

mxcl avatar mxcl commented on September 2, 2024

My bad, we were doing something non-standard. New build on its way.

from workbench.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.