Compare commits

...

13 Commits

Author SHA1 Message Date
Jeremy Bícha b7168f8956 releasing package gnome-shell-extensions version 48.3-1 2025-08-12 19:19:35 -04:00
Jeremy Bícha d772e27d9c d/control, d/gbp.conf: update branch for forky 2025-08-12 19:18:35 -04:00
Simon McVittie 4a5d4adb55 New upstream release 2025-07-28 10:26:06 +01:00
Simon McVittie 8e55027061 Update upstream source from tag 'upstream/48.3'
Update to upstream version '48.3'
with Debian dir 9dc43a912c
2025-07-28 10:21:41 +01:00
Simon McVittie d70eb1cb72 New upstream version 48.3 2025-07-28 10:21:40 +01:00
Simon McVittie 11ca31c7cb d/control, d/gbp.conf, d/watch: Track only 48.x branch for trixie
This should be reverted when we are ready to package GNOME 49 in forky.
2025-07-28 10:21:18 +01:00
Florian Müllner 2dd9ae80ca Bump version to 48.3
Update NEWS.
2025-06-29 12:56:57 +02:00
Florian Müllner 00b30c1a47 cleanup: Remove unused eslint-disable directives
The 'camelcase' rule only applies to variables and properties,
not to function names are getter/setter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/413>
(cherry picked from commit 9e11ec9940)
2025-06-29 01:52:59 +02:00
Florian Müllner 5f68dd5645 cleanup: Remove unused catch bindings
Optional catch bindings have been supported for quite a while now,
so we can treat unused error bindings in catch statements like
any other unused variable.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/413>
(cherry picked from commit 3a76b9eec4)
2025-06-29 01:52:53 +02:00
Florian Müllner 752ed054fe workspace-indicator: Remove left-over variable
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
(cherry picked from commit 53ba3ce620)
2025-06-29 01:52:39 +02:00
Florian Müllner 88c420f8f2 lint: Require dangling comma in multi-line imports
This keeps the config in line with gjs, which added the option
in gjs@f7d3b5d4c8.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/411>
(cherry picked from commit 301017904b)
2025-06-29 01:52:34 +02:00
Florian Müllner 0e31708227 window-list: Only remove fullscreen tracking in overview
Since commit 981e8e42e2, we untrack chrome in the overview to avoid
fullscreen tracking interfering with hiding the window list in the
overview.

However this also means that we no longer contribute to the struts
while in the overview, which can lead to unwanted window resizes
around the transition.

So instead of fully untracking the actor, retrack without fullscreen
tracking.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/409>
(cherry picked from commit 0ad959de1e)
2025-06-29 01:52:20 +02:00
Florian Müllner 5ec6daa8e5 Revert "window-list: Fix initial visibility"
Since we no longer track fullscreen state in the overview,
the workaround is no longer necessary.

This reverts commit 6ee4205f1e.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/409>
(cherry picked from commit a3ff3c79b2)
2025-06-29 01:51:57 +02:00
10 changed files with 52 additions and 17 deletions
+7
View File
@@ -1,3 +1,10 @@
48.3
====
* Misc. bug fixes and cleanups [Florian; !409, !411, !405, !413]
Contributors:
Florian Müllner
48.2 48.2
==== ====
* windowsNavigator: Fix handling keyboard shortcuts [Daniel; !395] * windowsNavigator: Fix handling keyboard shortcuts [Daniel; !395]
+20
View File
@@ -1,3 +1,23 @@
gnome-shell-extensions (48.3-1) unstable; urgency=medium
[ Simon McVittie ]
* d/control, d/gbp.conf, d/watch: Track only 48.x branch for trixie
* New upstream bugfix release
- window-list: Avoid unwanted window resizes around transition between
overview and normal mode
(gnome-shell-extensions!409 upstream)
- workspace-indicator: Remove an unused variable
(gnome-shell-extensions!405 upstream)
- apps-menu: Remove an unused variable binding when catching an error
(gnome-shell-extensions!405 upstream)
- Lint fixes
(gnome-shell-extensions!411, gnome-shell-extensions!413 upstream)
[ Jeremy Bícha ]
* d/control, d/gbp.conf: update branch for forky
-- Jeremy Bícha <jbicha@ubuntu.com> Tue, 12 Aug 2025 19:19:18 -0400
gnome-shell-extensions (48.2-1) unstable; urgency=medium gnome-shell-extensions (48.2-1) unstable; urgency=medium
* New upstream bugfix release * New upstream bugfix release
+1 -1
View File
@@ -11,7 +11,7 @@ Build-Depends: debhelper-compat (= 13),
sassc sassc
Standards-Version: 4.7.0 Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-shell-extensions Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-shell-extensions
Vcs-Git: https://salsa.debian.org/gnome-team/gnome-shell-extensions.git Vcs-Git: https://salsa.debian.org/gnome-team/gnome-shell-extensions.git -b debian/forky
Homepage: https://wiki.gnome.org/Projects/GnomeShell/Extensions Homepage: https://wiki.gnome.org/Projects/GnomeShell/Extensions
Package: gnome-shell-extensions Package: gnome-shell-extensions
+2 -2
View File
@@ -1,7 +1,7 @@
[DEFAULT] [DEFAULT]
pristine-tar = True pristine-tar = True
debian-branch = debian/latest debian-branch = debian/forky
upstream-branch = upstream/latest upstream-branch = upstream/48.x
[buildpackage] [buildpackage]
sign-tags = True sign-tags = True
+1 -1
View File
@@ -1,4 +1,4 @@
version=4 version=4
opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/, downloadurlmangle=s|cache.json||" \ opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/, downloadurlmangle=s|cache.json||" \
https://download.gnome.org/sources/@PACKAGE@/cache.json \ https://download.gnome.org/sources/@PACKAGE@/cache.json \
[\d.]+/@PACKAGE@-([\d.]+\.?(?:beta|rc)?[\d.]*)@ARCHIVE_EXT@ 48/@PACKAGE@-([\d.]+\.?(?:beta|rc)?[\d.]*)@ARCHIVE_EXT@
+1 -1
View File
@@ -488,7 +488,7 @@ class ApplicationsButton extends PanelMenu.Button {
let id; let id;
try { try {
id = entry.get_desktop_file_id(); // catch non-UTF8 filenames id = entry.get_desktop_file_id(); // catch non-UTF8 filenames
} catch (e) { } catch {
continue; continue;
} }
let app = appSys.lookup_app(id); let app = appSys.lookup_app(id);
+18 -9
View File
@@ -432,12 +432,10 @@ class BaseButton extends DashItemContainer {
return this._button.has_style_class_name('focused'); return this._button.has_style_class_name('focused');
} }
// eslint-disable-next-line camelcase
get ignore_workspace() { get ignore_workspace() {
return this._ignoreWorkspace; return this._ignoreWorkspace;
} }
// eslint-disable-next-line camelcase
set ignore_workspace(ignore) { set ignore_workspace(ignore) {
if (this._ignoreWorkspace === ignore) if (this._ignoreWorkspace === ignore)
return; return;
@@ -983,11 +981,20 @@ class WindowList extends St.Widget {
() => this._onWorkspaceMenuSet(), this); () => this._onWorkspaceMenuSet(), this);
this._onWorkspaceMenuSet(); this._onWorkspaceMenuSet();
const chromeOptions = { const inOverview = Main.overview.visible ||
(Main.layoutManager._startingUp && Main.sessionMode.hasOverview);
const overviewChromeOptions = {
affectsStruts: true, affectsStruts: true,
};
const chromeOptions = {
...overviewChromeOptions,
trackFullscreen: true, trackFullscreen: true,
}; };
Main.layoutManager.addChrome(this, chromeOptions); Main.layoutManager.addChrome(this, inOverview
? overviewChromeOptions
: chromeOptions);
Main.uiGroup.set_child_above_sibling(this, Main.layoutManager.panelBox); Main.uiGroup.set_child_above_sibling(this, Main.layoutManager.panelBox);
Main.ctrlAltTabManager.addGroup(this, _('Window List'), 'start-here-symbolic'); Main.ctrlAltTabManager.addGroup(this, _('Window List'), 'start-here-symbolic');
@@ -1024,20 +1031,17 @@ class WindowList extends St.Widget {
Main.overview.connectObject( Main.overview.connectObject(
'showing', () => { 'showing', () => {
Main.layoutManager.untrackChrome(this); this._retrackChrome(overviewChromeOptions);
this.hide(); this.hide();
this._updateKeyboardAnchor(); this._updateKeyboardAnchor();
}, },
'hidden', () => { 'hidden', () => {
Main.layoutManager.trackChrome(this, chromeOptions); this._retrackChrome(chromeOptions);
this.visible = !this._monitor.inFullscreen; this.visible = !this._monitor.inFullscreen;
this._updateKeyboardAnchor(); this._updateKeyboardAnchor();
}, this); }, this);
global.display.connectObject('in-fullscreen-changed', () => { global.display.connectObject('in-fullscreen-changed', () => {
// Work-around for initial change from unknown to !fullscreen
if (Main.overview.visible)
this.hide();
this._updateKeyboardAnchor(); this._updateKeyboardAnchor();
}, this); }, this);
@@ -1103,6 +1107,11 @@ class WindowList extends St.Widget {
this._monitor.y + this._monitor.height - this.height); this._monitor.y + this._monitor.height - this.height);
} }
_retrackChrome(options) {
Main.layoutManager.untrackChrome(this);
Main.layoutManager.trackChrome(this, options);
}
_updateWorkspaceIndicatorVisibility() { _updateWorkspaceIndicatorVisibility() {
let workspaceManager = global.workspace_manager; let workspaceManager = global.workspace_manager;
let hasWorkspaces = this._mutterSettings.get_boolean('dynamic-workspaces') || let hasWorkspaces = this._mutterSettings.get_boolean('dynamic-workspaces') ||
@@ -459,8 +459,6 @@ export class WorkspaceIndicator extends PanelMenu.Button {
this._thumbnails = new WorkspacePreviews(); this._thumbnails = new WorkspacePreviews();
container.add_child(this._thumbnails); container.add_child(this._thumbnails);
this._workspacesItems = [];
workspaceManager.connectObject( workspaceManager.connectObject(
'workspace-switched', this._onWorkspaceSwitched.bind(this), GObject.ConnectFlags.AFTER, 'workspace-switched', this._onWorkspaceSwitched.bind(this), GObject.ConnectFlags.AFTER,
this); this);
+1
View File
@@ -30,6 +30,7 @@ rules:
- error - error
- arrays: always-multiline - arrays: always-multiline
objects: always-multiline objects: always-multiline
imports: always-multiline
functions: never functions: never
comma-spacing: comma-spacing:
- error - error
+1 -1
View File
@@ -4,7 +4,7 @@
project( project(
'gnome-shell-extensions', 'gnome-shell-extensions',
version: '48.2', version: '48.3',
meson_version: '>= 1.1.0', meson_version: '>= 1.1.0',
license: 'GPL-2.0-or-later', license: 'GPL-2.0-or-later',
) )