Review of "Adwita Square" version 1.0.2 (3)

Details Page Preview

Square GTK theme and GNOME Shell styling based on Adwaita

Extension Homepage
https://github.com/Mikolaj75/adwita-square

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-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

  • browserTheme.js:256
    cssFile.load_contents(null)
  • browserTheme.js:325
    cssFile.load_contents(null)
  • browserTheme.js:281
    userJsFile.load_contents(null)
  • browserTheme.js:431
    file.load_contents(null)
  • iconThemeGenerator.js:518
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:575
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:681
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:1048
    GLib.file_get_contents(normalIcon)
  • iconThemeGenerator.js:1223
    GLib.file_get_contents(app.desktopPath)
  • themeGenerator.js:132
    GLib.file_get_contents(path)
  • themeGenerator.js:4235
    cssFile.load_contents(null)
  • themeGenerator.js:4301
    cssFile.load_contents(null)

EGO-A-004 warning

extension files should not contain excessive ungated console logging

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

No excessive logging

  • extension.js:882
    console.warn('[adwita-square] Failed to update icon alignment:', e)
  • extension.js:967
    console.warn('Could not launch video wallpaper renderer:', e)
  • extension.js:1073
    console.warn('Error managing live wallpaper window:', e)
  • extension.js:1377
    console.warn(`[${this.uuid}] Error synchronizing accent color from wallpaper:`, e)
  • extension.js:1397
    console.warn(`[${this.uuid}] Error synchronizing accent color from system:`, e)
  • extension.js:1414
    console.warn(`[${this.uuid}] Error writing accent color to system:`, e)
  • extension.js:1477
    console.warn(`[${this.uuid}] Failed to auto-regenerate icons:`, e)
  • extension.js:1663
    console.warn(`[${this.uuid}] Skipped saving GTK CSS (e.g. in GDM session):`, e)
  • extension.js:1705
    console.warn(`[${this.uuid}] Failed to set Main.panel style:`, e)
  • extension.js:1779
    console.warn(`[${this.uuid}] Failed to unload previous shell stylesheet:`, e)

EGO-X-002 warning

extensions should not use synchronous subprocess APIs in shell code

Shell code should avoid synchronous subprocess APIs like `GLib.spawn_command_line_sync()` and `GLib.spawn_sync()`.

Complete Examples

  • wallpaperManager.js:138
    GLib.spawn_sync(null, cmd, null, GLib.SpawnFlags.SEARCH_PATH, null)
  • wallpaperManager.js:154
    GLib.spawn_sync(null, fallbackCmd, null, GLib.SpawnFlags.SEARCH_PATH, null)

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

  • videoWallpaperRenderer.js

EGO-M-004 error

metadata shell-version must only include plausible stable releases and at most one development release

Field `shell-version` contains invalid values, more than one development release, or implausible future releases.

metadata.json must be well-formed

  • metadata.json
    shell-version=['45', '46', '47', '48', '49', '50', '51', '52']

All Versions

Version Status
1.0.3 (4) Unreviewed
1.0.2 (3) Unreviewed
1.0.1 (2) Rejected
1.0.0 (1) Rejected