Closed 13r0ck closed 2 years ago
This fix does work on Gnome 41.4 (Debian bookworm)
Thank you for this :heart:
The fix is not complete, as it crashes the extension, when e.g. the lock screen activates:
gnome-shell[2341]: JS ERROR: Extension vertical-overview@RensAlthuis.github.com: TypeError: WorkspacesView.SecondaryMonitorD isplay is undefined#012reset@
The reset() method still references WorkspacesView.SecondaryMonitorDisplay, which is no longer there. Removing this reference seems to work fine, no more crashes on my end.
@@ -26,7 +23,6 @@ function override() {
function reset() {
Util.overrideProto(WorkspacesView.WorkspacesView.prototype, global.vertical_overview.GSFunctions['WorkspacesView']);
- Util.overrideProto(WorkspacesView.SecondaryMonitorDisplay.prototype, global.vertical_overview.GSFunctions['SecondaryMonitorDisplay']);
if (global.vertical_overview.default_old_style_enabled) {
Main.overview._overview._controls._workspacesDisplay.remove_style_class_name("vertical-overview");
}
This has been change to hopefully fix https://github.com/RensAlthuis/vertical-overview/pull/101#issuecomment-1083059270 & https://github.com/RensAlthuis/vertical-overview/issues/98#issuecomment-1084227148
After apply this patch and modify metadata.js(for support gnome 42) I have bug:
Update: revert overviewControls.js fixed this issue
manually installing this and getting my mental desktop management back in the groove today was the highlight of my morning. thanks for all the work y'all.
@RensAlthuis This PR was merged but issue described in https://github.com/RensAlthuis/vertical-overview/pull/101#issuecomment-1084872250 is still there.
Only way to fix: git checkout 02bf3c4a646037ad65423a23d728108bcc9a892a -- overviewControls.js
use the correct protoype Caused by gnome javascript PR: https://gitlab.gnome.org/GNOME/gjs/-/commit/e74701596c2ff9880cd39289b9649bb490951091#03566cbfedf849175708a56bfbbc92fe4cd7a28f
merge upstream changes Caused by gnome-shell PR: https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/5d1d4b56c6a804aec324ca8e97f7e045ce49e958