Skip to content

[RoundedCorners@klangman] V1.0.2 new features and some fixes - #1244

Merged
rcalixte merged 1 commit into
linuxmint:masterfrom
klangman:RoundedCorners-1.0.2
Nov 22, 2026
Merged

rcalixte merged 1 commit into
linuxmint:masterfrom
klangman:RoundedCorners-1.0.2

Conversation

@klangman

Copy link
Copy Markdown
Contributor
  1. Added code to allow "and" and "or" operators in settings JSON files.
  2. Improved Cinnamon 6.8 support.
  3. Added coloured, gradient and rainbow animated shadows.
  4. Added border colour option to match the theme's accent colour.
  5. Fix the effects on scaled display (thanks to thebrickmaster626-bit for the fix).
  6. Fix for window size tracking when expanding the window (the issue was particularly visible on left side window resizing).
  7. Fix an issue when unminimizing an electron applications.
  8. Fix missed rounding when an XWayland surface attaches late (thanks to Geequlim for the fix).
  9. Fixed an issue where the windows border and shadow is drawn before the windows first frame is drawn (happens for slow starting applications).

1. Added code to allow "and" and "or" operators in settings JSON files.
2. Improved Cinnamon 6.8 support.
3. Added coloured, gradient and rainbow animated shadows.
4. Added border colour option to match the theme's accent colour.
5. Fix the effects on scaled display (thanks to thebrickmaster626-bit for the fix).
6. Fix for window size tracking when expanding the window (the issue was particularly visible on left side window resizing).
7. Fix an issue when unminimizing an electron applications.
8. Fix missed rounding when an XWayland surface attaches late (thanks to Geequlim for the fix).
9. Fixed an issue where the windows border and shadow is drawn before the windows first frame is drawn (happens for slow starting applications).
@github-actions

Copy link
Copy Markdown

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.

This check is not perfect and will not replace a normal review.


Found 6 potential issue(s):

⚠️ WARNING

⚠️ require_usage

RoundedCorners@klangman/files/RoundedCorners@klangman/6.0/corner.js:12

// Cinnamon 6.7.6+ deprecates require() in favour of the extension's native importer (see extension.js)

(Cinnamon 6.8) require() is deprecated. Use the native CJS importer instead:

  • For local xlet modules: const Extension = imports.ui.extension;
    const Me = Extension.getCurrentExtension(); then Me.imports.myModule
  • For GI bindings: const St = imports.gi.St;
  • For Cinnamon modules: const Main = imports.ui.main;

RoundedCorners@klangman/files/RoundedCorners@klangman/6.0/corner.js:18

return (Me && Me.imports) ? Me.imports.effect_base : require("./effect_base");

(Cinnamon 6.8) require() is deprecated. Use the native CJS importer instead:

  • For local xlet modules: const Extension = imports.ui.extension;
    const Me = Extension.getCurrentExtension(); then Me.imports.myModule
  • For GI bindings: const St = imports.gi.St;
  • For Cinnamon modules: const Main = imports.ui.main;

RoundedCorners@klangman/files/RoundedCorners@klangman/6.0/extension.js:69

// Cinnamon 6.7.6+ loads xlet modules with the native importer and deprecates require() (it logs a

(Cinnamon 6.8) require() is deprecated. Use the native CJS importer instead:

  • For local xlet modules: const Extension = imports.ui.extension;
    const Me = Extension.getCurrentExtension(); then Me.imports.myModule
  • For GI bindings: const St = imports.gi.St;
  • For Cinnamon modules: const Main = imports.ui.main;

RoundedCorners@klangman/files/RoundedCorners@klangman/6.0/extension.js:70

// warning and evaluates the module twice). Older versions only have require().

(Cinnamon 6.8) require() is deprecated. Use the native CJS importer instead:

  • For local xlet modules: const Extension = imports.ui.extension;
    const Me = Extension.getCurrentExtension(); then Me.imports.myModule
  • For GI bindings: const St = imports.gi.St;
  • For Cinnamon modules: const Main = imports.ui.main;

RoundedCorners@klangman/files/RoundedCorners@klangman/6.0/extension.js:73

const CornerEffect = (Me && Me.imports) ? Me.imports.corner : require("./corner");

(Cinnamon 6.8) require() is deprecated. Use the native CJS importer instead:

  • For local xlet modules: const Extension = imports.ui.extension;
    const Me = Extension.getCurrentExtension(); then Me.imports.myModule
  • For GI bindings: const St = imports.gi.St;
  • For Cinnamon modules: const Main = imports.ui.main;

⚠️ gtk_forbidden

RoundedCorners@klangman/files/RoundedCorners@klangman/6.0/extension.js:219

// colour variant. The theme's CSS is read directly rather than through a Gtk.StyleContext: under

Most Gtk APIs cannot be used in the Cinnamon runtime.
Use St (Shell Toolkit) equivalents instead.
Allowed Gtk APIs: IconTheme, DirectionType, TextDirection, PositionType,
accelerator_parse, accelerator_get_label, accelerator_name,
Settings, Widget.get_default_direction.


Automated pattern check.

@klangman

Copy link
Copy Markdown
Contributor Author

The require issues are only for the pre 6.8 paths. The gtk-forbidden issue is just catching a code comment.

@rcalixte
rcalixte merged commit 2fcbd96 into linuxmint:master Nov 22, 2026
4 checks passed
@rcalixte

Copy link
Copy Markdown
Member

I don't know if the colour/color switches were intentional but just to note. 😅

@klangman

Copy link
Copy Markdown
Contributor Author

Oh.. I guess Claude did that because I am setup for British/Canadian English. I should fix that for the next release. Thanks for pointing that out.

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

Successfully merging this pull request may close these issues.

2 participants