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

Empty folder, mixed order, mixed pages #66

Open
ismslv opened this issue Jun 30, 2024 · 0 comments
Open

Empty folder, mixed order, mixed pages #66

ismslv opened this issue Jun 30, 2024 · 0 comments

Comments

@ismslv
Copy link

ismslv commented Jun 30, 2024

When loading saved config from yml, order of icons is incorrect, notably folder are put in the middle of other icons.
Empty folder

Config BEFORE: what is saved first time
  apps:
  pages:
    - number: 1
      items:
        - folder: apple
          pages:
            - number: 1
              items:
                - Siri
                - System Settings
                - Screen Sharing
                - Print Center
                - Calculator
                - App Store
                - Photo Booth
                - Dictionary
                - Chess
                - Grapher
                - QuickTime Player
                - TV
                - Music
                - Time Machine
                - Home
                - Stocks
                - Shortcuts
                - Clock
                - Voice Memos
                - Maps
                - Disk Utility
                - Font Book
                - Mission Control
                - Image Capture
                - VoiceOver Utility
                - AirPort Utility
                - Migration Assistant
                - Terminal
                - System Information
                - Activity Monitor
                - Console
                - Keychain Access
                - Automator
                - Script Editor
                - Screenshot
                - Bluetooth File Exchange
                - Audio MIDI Setup
                - Safari
                - Preview
                - Pages
                - Numbers
                - Keynote
            - number: 2
              items:
                - Mail
                - ColorSync Utility
                - Digital Color Meter
                - TextEdit
                - Contacts
                - Stickies
        - folder: menubar
          pages:
            - number: 1
              items:
                - BetterDisplay
                - BatFi
                - BetterTouchTool
                - Logitech G HUB
                - Calendr
                - Lunar
                - JetBrains Toolbox
        - folder: utils
          pages:
            - number: 1
              items:
                - KeyboardCleanTool
                - Ukelele
                - TopNotch
                - AppCleaner
                - CleanMyMac X
                - Transmission
                - SideQuest
                - IINA
                - VNC Viewer
                - peazip
                - Virtual Desktop Streamer
                - Wineskin Winery
                - balenaEtcher
                - Moonlight
        - folder: Developer Tools
          pages:
            - number: 1
              items:
                - Android Studio
                - Rider
                - Xcode
                - Poedit
                - PyCharm Professional Edition
                - PhpStorm
        - Calendar
        - Reminders
        - Notes
        - FaceTime
        - Messages
        - Find My
        - Photos
        - Podcasts
        - Weather
        - Books
        - Parsec
        - Commander One
        - Firefox
        - Simple Comic
        - Affinity Photo 2
        - Steam
        - iTerm
        - Parallels Desktop
        - UTM
        - Affinity Designer 2
        - RetroArch
        - Minecraft
        - Vivaldi
        - VCMI
        - Blender
        - Godot
        - VSCodium
        - Brave Browser
        - OBS
        - LM Studio
        - ONLYOFFICE
        - Arc
        - calibre
        - Obsidian
        - Craft
        - Things
        - Ulysses
    - number: 2
widgets:
  pages: []
dock_items:
  apps:
    - /System/Applications/Launchpad.app
    - /System/Applications/Mail.app
    - /Applications/Firefox.app
    - /System/Applications/Calendar.app
    - /System/Applications/Reminders.app
    - /System/Applications/Notes.app
    - /System/Applications/System Settings.app
  others:
    - path: ~/Downloads
      view: 1
      sort: 1
  settings:
    autohide: true
    largesize: null
    magnification: false
    minimize-to-application: false
    mru-spaces: false
    show-recents: true
    tilesize: 64
desktop: {}

Note empty - number: 2 that is added at the end, though there is only one page. Not sure if it's normal.

Load command output
Load launchpad config '~/Library/Application Support/lporg/config.yml'? Yes
   • Loading launchpad settings
      • parsing launchpad config YAML path=~/Library/Application Support/lporg/config.yml
   • PARSE LAUCHPAD DATABASE
      • found launchpad database  database=/var/folders/69/8hvl2c4d05b4c56d1lt05ks00000gn/0/com.apple.dock.launchpad/db/db
         • removed old DB file       path=/var/folders/69/8hvl2c4d05b4c56d1lt05ks00000gn/0/com.apple.dock.launchpad/db/db
         • removed old DB file       path=/var/folders/69/8hvl2c4d05b4c56d1lt05ks00000gn/0/com.apple.dock.launchpad/db/db-shm
         • removed old DB file       path=/var/folders/69/8hvl2c4d05b4c56d1lt05ks00000gn/0/com.apple.dock.launchpad/db/db-wal
      • restarting Dock
      • clear out groups
      • disabling SQL update triggers
      • add root and holding pages
      • creating App folders and adding apps to them
         • page added                number=1
            • folder added              group=
               • folder page added         number=1
               • folder page added         number=2
            • folder added              group=menubar
               • folder page added         number=1
            • folder added              group=utils
               • folder page added         number=1
            • folder added              group=Developer Tools
               • folder page added         number=1
         • page added                number=2
      • enabling SQL update triggers
      • restarting Dock
      • setting dock apps
         • adding to dock            app=/System/Applications/Launchpad.app
         • adding to dock            app=/System/Applications/Mail.app
         • adding to dock            app=/Applications/Firefox.app
         • adding to dock            app=/System/Applications/Calendar.app
         • adding to dock            app=/System/Applications/Reminders.app
         • adding to dock            app=/System/Applications/Notes.app
         • adding to dock            app=/System/Applications/System Settings.app
         • adding to dock            other={~/Downloads 0 1 2}
         • unloading Dock launch agent
         • writing temp dock plist   plist=/var/folders/69/8hvl2c4d05b4c56d1lt05ks00000gn/T/dock.plist3561936311
         • importing dock plist
         • restart Dock launch agent
  
Config AFTER: what is written if save again what has been loaded
  apps:
  pages:
    - number: 1
      items:
        - Calendar
        - Reminders
        - Notes
        - FaceTime
        - Messages
        - Find My
        - Photos
        - Podcasts
        - Weather
        - Books
        - Freeform
        - folder: apple
          pages:
            - number: 1
              items:
                - Siri
                - System Settings
                - Screen Sharing
                - Print Center
                - Calculator
                - App Store
                - Photo Booth
                - Dictionary
                - Chess
                - Grapher
                - QuickTime Player
                - TV
                - Music
                - Time Machine
                - Home
                - Stocks
                - Shortcuts
                - Clock
                - Voice Memos
                - Maps
                - Disk Utility
                - Font Book
                - Mission Control
                - Image Capture
                - VoiceOver Utility
                - AirPort Utility
                - Migration Assistant
                - Terminal
                - System Information
                - Activity Monitor
                - Console
                - Keychain Access
                - Automator
                - Script Editor
                - Screenshot
                - Bluetooth File Exchange
                - Audio MIDI Setup
                - Safari
                - Preview
                - Pages
                - Numbers
                - Keynote
            - number: 2
              items:
                - Mail
                - ColorSync Utility
                - Digital Color Meter
                - TextEdit
                - Contacts
                - Stickies
        - folder: menubar
          pages:
            - number: 1
              items:
                - BetterDisplay
                - BatFi
                - BetterTouchTool
                - Logitech G HUB
                - Calendr
                - Lunar
                - JetBrains Toolbox
        - folder: utils
          pages:
            - number: 1
              items:
                - KeyboardCleanTool
                - Ukelele
                - TopNotch
                - AppCleaner
                - CleanMyMac X
                - Transmission
                - SideQuest
                - IINA
                - VNC Viewer
                - peazip
                - Virtual Desktop Streamer
                - Wineskin Winery
                - balenaEtcher
                - Moonlight
        - folder: Developer Tools
          pages:
            - number: 1
              items:
                - Android Studio
                - Rider
                - Xcode
                - Poedit
                - PyCharm Professional Edition
                - PhpStorm
        - Parsec
        - Commander One
        - Firefox
        - Simple Comic
        - Affinity Photo 2
        - Steam
        - iTerm
        - Parallels Desktop
        - UTM
        - Affinity Designer 2
        - RetroArch
        - Minecraft
        - Vivaldi
        - VCMI
        - Blender
        - Godot
        - VSCodium
        - Brave Browser
        - OBS
        - LM Studio
        - ONLYOFFICE
        - Arc
        - calibre
        - Obsidian
        - Craft
        - Things
    - number: 2
      items:
        - Ulysses
widgets:
  pages: []
dock_items:
  apps:
    - /System/Applications/Launchpad.app
    - /System/Applications/Mail.app
    - /Applications/Firefox.app
    - /System/Applications/Calendar.app
    - /System/Applications/Reminders.app
    - /System/Applications/Notes.app
    - /System/Applications/System Settings.app
  others:
    - path: ~/Downloads
      view: 1
      sort: 1
  settings:
    autohide: true
    largesize: null
    magnification: false
    minimize-to-application: false
    mru-spaces: false
    show-recents: true
    tilesize: 64
desktop: {}
  

Note how Ulysses is now on page 2 and that folders are between apps instead of in the beginning.
Also there is an empty (!) folder named "Other" that is not reflected in the saved config, but visible in the Launchpad before "apple" folder.

macOS version: Sonoma 14.5
lporg version: 20.4.32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant