Git Product home page Git Product logo

Comments (5)

roeybiran avatar roeybiran commented on September 26, 2024 1

After some research I discovered that BBEdit is not the only app that behaves this way, and I think some apps exhibit this behavior partially, to some of their menu items.

So, going forward and in the Finbar update released today, I decided to simply let users select disabled menu items. If an item is “truly” disabled, Finbar will notify you. Read more here.

If you have any suggestion to introduce settings to control the behavior of disabled menu (dimmed or not, sorted differently etc.) items in Finbar, I’d love to hear them.

from finbar-issues.

roeybiran avatar roeybiran commented on September 26, 2024

Hi Ed!

I did some poking around and it seems that BBEdit is extremely vigilant about whether its truly the focused app or not.

Notice the color of the controls in while actively using BBEdit:

Screenshot 2023-08-04 at 11 39 40

And when Finbar is activated:

Screenshot 2023-08-04 at 11 50 40

They’re slightly dimmed.

I guess BBEdit sees that it’s not really the focused app and dynamically disables any menu items that require this context; or perhaps when focus is lost then text selection is invalidated, consequently disabling any menu items that depend on that (like “Process Lines”). To be honest, this is quite a peculiar behavior I haven’t seen in other text editors and it would be best to consult BBEdit’s developers about this, but I wouldn’t want to bother them with quirks related to my little app. However, BBEdit is such a canonical app that I’d make every effort for it to be supported properly by Finbar.

When I tell Finbar to ignore an item’s disabled state, selection works well. Here are my suggestions:

  1. Pressing down a modifier key while executing an item temporarily overrides its disabled state.
  2. Introduce a setting that ignores item’s disabled state for a given app. The upside of this compared to the first approach is that if an item is disabled, it won’t affect the sorting stage.

Please tell me what you think!

P. S. - I checked, and this happens with Finbar’s competitors as well — the items don’t even appear.

from finbar-issues.

ecormany avatar ecormany commented on September 26, 2024

Interesting! I dug through BBEdit's excellent documentation of their super-advanced preferences only accessible by defaults write and didn't turn up anything that could help on that side.

I think of your two proposals, I like 2️⃣ better.

from finbar-issues.

roeybiran avatar roeybiran commented on September 26, 2024

Great! Do you think this option should be a part of the rule editor, or should it reside in a section of its own?

I’m partial to the latter, as the rule editor deals with a menu item’s “intrinsic” properties (title, depth…), and our goal here is to deliberately override them in a per-app basis.

Looking forward to your input!

from finbar-issues.

ecormany avatar ecormany commented on September 26, 2024

Yes, it makes sense to me that the rule editor would have two functions: exclude overrides and include or always enable overrides.

from finbar-issues.

Related Issues (19)

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.