Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items in the panel being covered by pinned items on panel show up #862

Closed
2 tasks done
AnotiaWang opened this issue Sep 5, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@AnotiaWang
Copy link

AnotiaWang commented Sep 5, 2024

Before Submitting Your Bug Report

  • I have verified that there isn't already an issue reporting the same bug to prevent duplication.
  • I have seen the FAQ.

Maccy Version (see 'About' window)

2.0.0.beta.13

macOS Version

Sequoia 15.0 Beta(24A5331b)

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Preferred Position Item-0" = 554;
    "NSStatusItem Visible Item-0" = 1;
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame SUStatusFrame" = "535 589 400 134 0 0 1470 919 ";
    "NSWindow Frame SUUpdateAlert" = "446 409 620 398 0 0 1512 944 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "101 103 528 419 0 0 1470 919 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "-1013 676 510 473 -1512 314 1512 944 ";
    SUEnableAutomaticChecks = 0;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-09-05 06:56:17 +0000";
    SUSendProfileInfo = 0;
    WebKitDefaultFontSize = 13;
    WebKitJavaScriptEnabled = 0;
    WebKitPluginsEnabled = 0;
    WebKitStandardFont = "-apple-system-font";
    WebKitUserStyleSheetEnabledPreferenceKey = 1;
    WebKitUserStyleSheetLocationPreferenceKey = "/Applications/Maccy.app/Contents/Frameworks/Sparkle.framework/Resources/ReleaseNotesColorStyle.css";
    enabledPasteboardTypes =     (
        "public.html",
        "public.png",
        "public.tiff",
        "public.utf8-plain-text",
        "public.file-url",
        "public.rtf"
    );
    historySize = 1000;
    ignoreAllAppsExceptListed = 0;
    ignoredPasteboardTypes =     (
        "com.typeit4me.clipping",
        "de.petermaurer.TransientPasteboardType",
        "net.antelle.keeweb",
        "Pasteboard generator type",
        "com.agilebits.onepassword"
    );
    maxMenuItemLength = 56;
    menuIcon = maccy;
    migrations =     {
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
        "2020-09-01-ignore-keeweb" = 1;
        "2021-02-20-allow-to-customize-supported-types" = 1;
        "2021-06-28-add-title-to-history-item" = 1;
        "2021-10-16-remove-dynamic-pasteboard-types" = 1;
        "2022-08-01-rename-suppress-clear-alert" = 1;
        "2022-11-14-add-html-rtf-to-supported-types" = 1;
        "2023-01-22-add-regexp-search-mode" = 1;
        "2024-07-01-version-2" = 1;
    };
    pasteByDefault = 0;
    playSounds = 0;
    previewDelay = 1500;
    removeFormattingByDefault = 0;
    searchMode = exact;
    showFooter = 1;
    showInStatusBar = 1;
    showRecentCopyInMenuBar = 0;
    showSearch = 1;
    showTitle = 1;
    sortBy = lastCopiedAt;
    suppressClearAlert = 0;
    windowPosition = "[0.6613756613756614,0.8135593220338984]";
    windowSize = "[400,800]";
}

Description

When there're pinned items and many other items (more than 1 page) in the panel, and before closing the panel it's scrolled from the top, the next time you open the panel, some items will be covered by pinned ones.

Steps to Reproduce

  1. Copy several of times to fill the panel, making the list scrollable
  2. Open the panel
  3. Pin some items
  4. Scroll down a bit
  5. Close the panel
  6. Open the panel again

Expected behavior:
The first unpinned item should be selected and visible

Actual behavior:
The first unpinned item is selected but not visible, which may be confusing. The actual visible item is the n+1th one (here n is the amount of pinned items)

@AnotiaWang AnotiaWang added the bug Something isn't working label Sep 5, 2024
@p0deje
Copy link
Owner

p0deje commented Sep 6, 2024

Fixed in beta 14

@p0deje p0deje closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants