Review of "Dock folder" version 1

Details Page Preview

A sleek, responsive dock for GNOME Shell featuring mobile-style app folders, smart autohide, and smooth workspace integration. Key Highlights: • Mobile-Style App Folders: Bundle multiple applications directly on your dock with live 2×2 mini-icon previews. • Intuitive Drag-and-Drop: Drop one app onto another to instantly create a folder, or drag apps into existing folders. • Seamless Folder Management: Click to open a smooth popup grid; right-click for quick renaming, unbundling, or unpinning. • Intelligent Autohide (Intellihide): Keeps your screen clear by tucking the dock away whenever windows overlap it, with instant bottom-edge pressure reveal. • Window & Running Indicators: Multi-dot indicators show open windows at a glance, with middle-click new window launching and single-click window cycling. • Native GNOME Sync: Keeps your pinned favorites two-way synced with GNOME's native favorite-apps. • Fully Customizable: Personalize icon sizing, dock margins, background opacity, autohide behavior, and app grid button placement.

Extension Homepage
https://github.com/Imayavan-07/folddock.git

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 5

Shexli found 5 issues that may need reviewer attention.

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • extension.js:44
    this._file.load_contents(null)

EGO-L-002 warning

objects created by extension should be destroyed in disable()

Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.

Destroy all objects

  • extension.js:443
    this._edge = new St.Widget({reactive: true, track_hover: true, height: 1, x_align: Clutter.ActorAlign.CENTER, y_align: Clutter.ActorAlign.END, visible: false})

EGO-L-005 warning

owned object references should be released in disable()

Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.

Destroy all objects

  • extension.js:444
    this._container = new St.Widget({layout_manager: new Clutter.BinLayout(), clip_to_allocation: true})
  • extension.js:439
            this._dock = new FolderDock(this._store, this._settings, {
                onChanged: () => { this._writeFavorites(); this._updateGeometry(); },
                onStateChanged: () => this._queueSync((this._dock?.menuOpen || this._dock?.dragging) ? 0 : HIDE_DELAY_MS),
            })
  • extension.js:443
    this._edge = new St.Widget({reactive: true, track_hover: true, height: 1, x_align: Clutter.ActorAlign.CENTER, y_align: Clutter.ActorAlign.END, visible: false})
  • extension.js:434
    this._store = new LayoutStore()

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • extension.js:542
    this._pressure.connect('trigger', () => this._onPressure())
  • extension.js:417
    entry.clutter_text.connect('activate', submit)
  • extension.js:248
    btn.connect('clicked', () => this.hideLabel())
  • extension.js:247
    btn.connect('notify::hover', () => (btn.hover && !this.menuOpen && !this.dragging) ? this._showLabel(btn, getText()) : this.hideLabel())
  • extension.js:141
    button.connect('clicked', () => this._toggleAppGrid(button))
  • extension.js:204
    d.connect('drag-begin', () => this._dragBegin())
  • extension.js:205
    d.connect('drag-cancelled', () => this._dragEnd())
  • extension.js:206
    d.connect('drag-end', () => this._dragEnd())
  • extension.js:335
    menu.connect('destroy', () => { this._menus = this._menus.filter(m => m !== menu); this._setMenuOpen(false); })
  • extension.js:336
            menu.connect('open-state-changed', (_m, open) => {
                this._setMenuOpen(open);
                if (!open) GLib.idle_add(GLib.PRIORITY_DEFAULT, () => (this._menus.includes(menu) && menu.destroy(), GLib.SOURCE_REMOVE));
            })

EGO-L-004 warning

main loop sources should be removed in disable()

Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.

Remove main loop sources

  • extension.js:561
                this._revealPollId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 200, () => {
                    const [, py] = global.get_pointer();
                    if (this._container && py >= this._container.y) return GLib.SOURCE_CONTINUE;
                    this._pressureReveal = false;
                    this._
  • extension.js:580
    this._syncId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, delay, () => (this._syncId = 0, this._sync(), GLib.SOURCE_REMOVE))
  • extension.js:198
    GLib.idle_add(GLib.PRIORITY_DEFAULT, () => (this._dotUpdaters.includes(update) && update(), GLib.SOURCE_REMOVE))
  • extension.js:338
    GLib.idle_add(GLib.PRIORITY_DEFAULT, () => (this._menus.includes(menu) && menu.destroy(), GLib.SOURCE_REMOVE))

All Versions

Version Status
2 Unreviewed
1 Rejected

Previous Reviews on this Version

Imayavan auto- rejected
Auto-rejected because of new version 2 was uploaded