Review of "Dash2Dock Animated" version 92

Details Page Preview

The Animated & Effectful Dock

Extension Homepage
https://github.com/icedman/dash2dock-lite

No comments.

Diff Against

Files

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

Shexli (experimental) error 1 warning 4

Shexli found 5 issues that may need reviewer attention.

EGO-A-004 warning

extension files should not contain excessive ungated console logging

File contains 6 ungated console.log/warn/error calls (threshold: 5).

No excessive logging

  • animator.js:116
    console.log('unable to layout()')
  • animator.js:1084
    console.log(err)
  • animator.js:1112
    console.log(err)
  • animator.js:1139
    console.log(err)
  • animator.js:1170
    console.log(err)
  • animator.js:1183
    console.log(err)
  • services.js:404
    console.log(`checking ${path}`)
  • services.js:530
    console.log('checking recent manager')
  • services.js:542
    console.log(err)
  • services.js:561
    console.log('not exists')
  • services.js:578
    console.log(err)
  • services.js:617
    console.log(err)

EGO-C49-004 error

extensions targeting GNOME 49 must not call Meta.Window.get_maximized

This extension explicitly targets GNOME Shell 49 but still calls removed `Meta.Window.get_maximized()`.

Meta.Window

  • dock.js:1405
    focusedWindow.get_maximized()

EGO-A-004 warning

extension files should not contain excessive ungated console logging

File contains 9 ungated console.log/warn/error calls (threshold: 5).

No excessive logging

  • extension.js:236
    console.log('dash2dock-lite enabled')
  • extension.js:282
    console.log('dash2dock-lite disabled')
  • extension.js:359
    console.log(err)
  • extension.js:399
    console.log(`loading icon ${file.get_path()}`)
  • extension.js:413
    console.log(`loading icon ${file.get_path()}`)
  • extension.js:420
    console.log(err)
  • extension.js:458
    console.log(err)
  • extension.js:477
    console.log(err)
  • extension.js:930
    console.log(err)

EGO-P-007 warning

JavaScript files should be reachable from extension.js or prefs.js

Some JavaScript files are not reachable from `extension.js` or `prefs.js` imports.

Don't include unnecessary files

  • apps/overlay.js
  • apps/recents.js
  • effects/blur_effect.js
  • effects/color_effect.js

EGO-L-006 warning

preferences classes should not retain window-scoped objects on instance fields without close-request cleanup

Preferences code stores window-scoped objects on the exported prefs class without `close-request` cleanup.

Destroy all objects

  • prefs.js:226
    this._monitorsConfig = new MonitorsConfig()

All Versions

Previous Reviews on this Version

JustPerfection waiting for author
Still using try-catch wrappers for just changing property values. Couldn't find a fix for that?
icedman posted a review
I removed several of the try-catch, osme users report crashes. I had to out them back.
JustPerfection active
Approved but it should be fixed at some point without these try-catch wrappers.