"Layout is Ambiguous" / The purple windows

13»

Comments

  • Can still reproduce when I try to Quick Look 1Password documents

  • ag_kevinag_kevin Junior Member

    Team Member

    Hi @gboudreau ,

    Is it all quicklook documents or just a specific type? (e.g. images, PDF, word doc, etc.)

    Thanks,
    Kevin

  • Getting this message as well on the latest beta

  • ag_anaag_ana

    Team Member

    @agilerabbit:

    Do you get this message all the time or just when you try to quicklook 1Password documents?

  • All the time!

  • ag_anaag_ana

    Team Member

    Thank you for the confirmation :+1: We will continue looking into this.

  • MaForischMaForisch
    edited February 24

    AgileBits Update: Please don't do this. Details on why are outlined in this post. - Thanks.

    Folks,

    TL;DR: Skip to Solution below
    I see this on:
    1Password 7, Version 7.4.4.BETA-0 (70404000) 1Password Beta
    on mac os 10.14.6 on the main 1password window.

    I thought that there may be a way to fix this via the command-line along the lines of this post for Apple Photos
    https://discussions.apple.com/thread/7259036

    There the command mentioned there is:
    defaults delete com.apple.Photos NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints

    The help window (ie the ? top right) says something similar
    The domains where this default is set are: NSRegistrationDomain (volatile) defaults delete «domain» NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints

    Dumping all defaults from my user context to a with
    defaults read >alldefaults.out.txt

    shows only one case where "NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints" shows up
    for com.agilebits.onepassword7-updater

    So: Experimenting, quit one password completely, I execute
    defaults delete com.agilebits.onepassword7-updater NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints
    both
    defaults read com.agilebits.onepassword7-updater NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints
    and a dump defaults read >alldefaults.out.txt confirm the key is gone,
    however not even rebooting it avoids the issue.

    After some head-scratching, i conclude it is set as a debug flag in the app code at runtime in the (volatile==in memory NSRegistrationDomain)
    Further googling reveals this stackoverflow answer:
    https://stackoverflow.com/a/23157051

    Solution:
    1. quit 1Password completely,
    2. execute from a terminal:
    defaults write -globalDomain NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints NO
    4. Start 1Password
    5. Problem solved.

    From what I understand this sets the flag GLOBALLY for ALL programs, so perhaps not the solution for developers, bc this will suppress it for all users and all programs.

    Better solution perhaps to set it at the app level by using:
    defaults write -app 1Password\ 7 NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints NO
    However this might mean it crops up on sub modules, like the Updater?
    Depending on a users tastes the global setting may be preferable.

    Best regards,
    Martin

    PS:
    Further experimentation reveals that both
    defaults write -app 1Password\ 7 NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints -bool false
    and
    defaults write -globalDomain NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints -bool false
    work just as well, & set the type to the proper boolean value & the help does in the top right does change once the default value is set on the app level.
    Also
    defaults read com.agilebits.onepassword7 NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints
    and
    defaults read -app 1Password\ 7 NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints
    So I learned something about the mac today.
    ;-)
    PPS:
    one more item to track this down to the actual code:
    Clicking on the purple frame yields the following entries in Console.app

    The first with the sidebar expanded

    default 22:25:36.630932 +0100 1Password 7 Clicked on visualized constraint: (
    "= 200 (active)> (Actual Distance - pixels):400"
    )

    The second with the sidebar collapsed

    default 22:25:56.322669 +0100 1Password 7 Clicked on visualized constraint: (
    " (Actual Distance - pixels):156"
    )

  • BenBen AWS Team

    Team Member

    @MaForisch

    We would really prefer people not do that, as then we won't get valuable feedback about UI issues. The reason we publish beta builds is so we can get that kind of feedback. Without that feedback there isn't much incentive to provide betas.

    Ben

  • I just got this issue

    From the about screen:
    1Password 7
    Version 7.4.4.BETA-0 (70404000)

    1Password Beta

    I have the same issue when I select help from the menu bar.

  • skarchmitskarchmit
    edited March 1

    Although I'm trying to get steps to reproduce it, but so far cannot.
    Here's a better look at the purple window:

  • I found how to reproduce it.
    Open up the help menu and start typing something you are searching for. (1 Character is enough). Then backspace all the way. It will immediately pop up.

  • rudyrudy

    Team Member
    edited March 2

    @skarchmit,

    Thanks for reporting this issue. That one is unfortunately not one that we'll be able to directly solve as that is an issue with Apple's help menu search field.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file