Giter Site home page Giter Site logo

Add option to change menu app animation speed (or disable animations) and option to disable icon bounce and popup animation about betterdisplay HOT 7 CLOSED

waydabber avatar waydabber commented on May 27, 2024 1
Add option to change menu app animation speed (or disable animations) and option to disable icon bounce and popup animation

from betterdisplay.

Comments (7)

smvueno avatar smvueno commented on May 27, 2024 2

Works fantastic, I disabled it just to gain 0.2ms extra speed 😂👌

from betterdisplay.

andremacola avatar andremacola commented on May 27, 2024 1

In my case, it's not about the extra speed but rather about maintaining the OSX standard in the sidebar menus' operation. It's more of a UI/UX obsession I have.

I'm glad the developer found it interesting to include it as an option, even though it's somewhat "irrelevant" to most people.

from betterdisplay.

waydabber avatar waydabber commented on May 27, 2024
Screenshot 2023-11-04 at 13 22 39

from betterdisplay.

waydabber avatar waydabber commented on May 27, 2024

@andremacola - meanwhile here is an interim build with this feature implemented: https://github.com/waydabber/BetterDisplay/releases/download/v2.0.0-pre-release/BetterDisplay-v2.1.0-b24931-pre.zip

from betterdisplay.

waydabber avatar waydabber commented on May 27, 2024

Interestingly, macOS GUI standards are getting somewhat murky nowadays as even Apple deviates from them. Take a look at how Control Center and Control Center menus work, they do everything slightly differently - animations, colors, transitions, GUI elements, sliders etc - than anything else in macOS. Interestingly none of those GUI elements are available in any public APIs to be reused by app developers - the sliders in BetterDisplay for example were built from ground up by me to replicate the Control Center look - originally made them MonitorControl (note: since then many other developers copied that code, for which I am glad). BetterDisplay v2.x takes some liberties and gets some of the ideas from the Control Center's UI but adapts them to its own needs while tries to provide some continuity with the v1.x versions which were Cocoa.

from betterdisplay.

andremacola avatar andremacola commented on May 27, 2024

You are right. The Control Center has its transitions, but they are internal transitions. What I'm drawing attention to is more focused on the initial opening click/first click of the tool.

I still make a recommendation that, whether animation is enabled or not, when closing the tool, it should not transition by scaling and fading to the center, but rather just a gentle fadeout like all the others.

Again, it's just an observation that won't make a difference for 99.9% of users. 😁

from betterdisplay.

waydabber avatar waydabber commented on May 27, 2024

Oh, so it's about the entire menu itself? Now that in fact is fully macOS compliant. There are two kinds of MenuBar Extra apps - one that uses NSMenu (that will just appear and fade out) and one that uses NSPopover - that has this opening/closing animation (built-in, non customizable but can be disabled). The v1.4.x used NSMenu but since that is very limited, the new app uses NSPopover entirely the way Apple's own best practice code demonstrates (except that thanks to a hack, the popover's anchor is removed as that looks super bad).

Unfortunately with NSPopover it is not possible to nicely fade away the menu upon close (I wanted that as well), the outgoing scaling animation is the default implementation which cannot be changed easily (ok, with some low level hacking it is probably possible).

from betterdisplay.

Related Issues (20)

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.