Review of "Adwita Square" version 1.0.0 (1)

Details Page Preview

Square GTK theme and GNOME Shell styling based on Adwaita

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

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) error 1 warning 5

Shexli found 6 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:519
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:576
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:682
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:1029
    GLib.file_get_contents(normalIcon)
  • iconThemeGenerator.js:1204
    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-I-002 error

Gtk, Gdk and Adw must not be imported in shell process files

GTK library `Gdk` must not be imported in extension process files.

Do not import GTK libraries in GNOME Shell

  • iconThemeGenerator.js:17
    import Gdk from 'gi://Gdk?version=4.0';

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

extensions using unlock-dialog must document it in disable() comments

Extensions using `unlock-dialog` should document the reason in `disable()` comments.

Session Modes

  • extension.js:1878
        disable() {
            console.log(`[${this.uuid}] Disabling adwita-square extension...`);
    
            if (this._blurManager) {
                this._blurManager.disable();
                this._blurManager = null;
            }
    
            // I restore GNOME Shell to default factory state
            if (this._dynamicP

All Versions

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

Previous Reviews on this Version

EMikolaj auto- rejected
Auto-rejected because of new version 1.0.1 (2) was uploaded