Giter VIP home page Giter VIP logo

gnome-shell-extension-transparent-window's Introduction

gnome-shell-extension-transparent-window

Summary

The extension will change the opacity of window through simple mouse/keyboard operation.

Usage

Move mouse cursor into the window you want to change, hover over the window, hold Alt key(or customized modifier key) and scroll to make the window transparent.

Environment

Tested on:

  1. Ubuntu 18.04 Gnome 3.28.
  2. Ubuntu 20.04 Gnome 3.36.

Motivation

Transparent window is a very useful feature that can improve work effeciency. It is implemented by software on multiple platforms. Even other Linux desktops like Ubuntu Unity can use Compiz to achieve this goal. There is no reason Gnome doesn't have this feature.

Design

Use GdkKeymap to monitor the hotkeys. When the modifier key is pressed, create an overlay actor that will monitor the scroll event. Once the scroll event is detected, modify the opacity of the mouse hovered window.

Limits

An overlay on top of all windows has to be created in order to monitor scroll event. Thus Alt+drag operation won't work anymore. Feel free to contact me or make a commit if you have a better idea to solve the problem.

Background knowledge

Gjs

Gjs is a JavaScript binding for GNOME and can be used to interact with Gtk

GTK

GTK is a widget toolkit for creating GUI on top of GDK.

GDK

The wrapper library of low-level window/graphics functions.

Clutter

Overview

Clutter is a GObject-based graphics library for creating user interfaces.

Actor

Actor is a basic element of Clutter. It encapsulates the postion/size/event of a node in the scene graph. In short, it is the abstraction of a window.

Mutter

Mutter is the default window manager of GNOME3 which uses Clutter as library.

Tips

Mutter is a portmanteau of "Metacity"(The deprecated window manger of GNOME2) and "Clutter".

GNOME Shell

GNOME Shell itself is a plugin of Mutter. This means when devloping shell extension, we are building plugin on plugin lol. Project location: https://gitlab.gnome.org/GNOME/gnome-shell/

ST(Shell Toolkit)

This is Gnome-shell's Clutter-based toolkit that defines useful actors. Examples are StBin, StButton, etc.

Debugging

Looking Glass

Looking Glass is GNOME Shell's integrated debugger and inspector tool. It would be helpful to debug any issue of the extension.

Usage

Press Alt-F2, type lg, then hit Enter.

Logs

Gnome shell extensions log to the standard location of Linux logs: /var/log/syslog

Use journalctl -b0 /usr/bin/gnome-shell |grep -i transparent.*window to inspect logs.

Logging Level

Different logging levels can be configured. Set "Log Verbose Level" to "Debug" to get detailed log.

Reload Gnome shell

You may need to reload gnome shell to test and debug extension changes. Press Alt-F2, type r, then hit Enter to reload gnome shell.

Reference

  1. https://wiki.gnome.org/Projects/GnomeShell/LookingGlass

LICENSE

MIT

gnome-shell-extension-transparent-window's People

Contributors

coadmunkee avatar igolskyi avatar melihaydogd avatar pashaigood avatar pbxqdown avatar salazarbarrera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnome-shell-extension-transparent-window's Issues

gnome 46.2

System information

  • OS Platform and Distribution ( ArchLinux):
  • GNOME version - 46.2:
  • Display Server(Wayland):

очень жду обнову брат не оставляй это расширения прошу без него жить не могу

Incompatible with gnome 40 (X11)

System information

  • OS Platform and Distribution: Manjaro 21.0
  • GNOME version: 40.3.0
  • Display Server(X11/Wayland): X11
  • Exact command to reproduce: Execute $ gnome-extensions-app and go to Transparent Window settings.

Describe the problem

Extension works fine, but modifier can't be edited via GUI, only by modifying an integer key "/org/gnome/shell/extensions/TransparentWindow/modifier-key" on an empty schema. This is particularly hard because the extension doesn't use standard key codes (e.g. the value 8 doesn't represent backspace, but the left Alt key when Num Lock is off).
This seems to be the same problem as #13, but it happens in X11, not only on Wayland as before.

Source code / logs

When one goes to settings, one is greeted by this error:

TypeError: Gdk.Keymap is undefined

Stack trace:
  @/home/$USER/.local/share/gnome-shell/extensions/transparentwindows.mdirshad07/prefs.js:17:16
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:206:33
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Only works on main screen

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 18.04.3):
  • GNOME version 3.28.2:
  • Exact command to reproduce:

You can obtain the GNOME version by:

  1. Open the Activities overview and start typing About.
  2. Click on About to open the panel. A window appears showing information about your system, including your distribution's name and the GNOME version.

Describe the problem

This extension only seems to work on the main display. If I change my main display it will change which screen is able to make things transparent.

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem.
First, in the preference, Set the log verbose level to "Debug";
Then you can view gnome shell extension's log via:

journalctl /usr/bin/gnome-shell -r |grep TransparentWindow

To view logs dynamically:

journalctl /usr/bin/gnome-shell -f |grep TransparentWindow

No relevant logs.

windows transparency does not stay after changing workspaces or alt + tabbing

System information

  • arch linux:
  • GNOME version: 3.30:
  • **
    the problem
    Describe the problem here, including the steps to reproduce the problem.
    change transparency by using alt + scroll wheel, change workspace, then change workspace back, and the window(s) are no longer transparent, same with using alt + tab

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem.
You can view gnome shell extension's log via:
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967294" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967294" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967273" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967273" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967272" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967272" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967282" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967282" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967293" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'
Oct 01 18:14:44 booger gnome-shell[6118]: value "4294967293" of type 'guint' is invalid or out of range for property 'opacity' of type 'guint'

journalctl /usr/bin/gnome-shell -r

To view logs dynamically:

journalctl /usr/bin/gnome-shell -f

Incompatible with 3.38 desktop

The tweener library has been moved from imports.ui.tweener to imports.tweener.tweener. However after fixing the local reference I am able to load the extension, but it seems that even with this fix the extension is no longer able to capture the scroll actions to change transparency levels. Unfortunately, I am not skilled enough to capture any better troubleshooting information.

Save settings?

Is there a way to save the setting for a window type? For examply I have to set the transparency for every Nautilus window I open, it would be nice if they all had the same transparency automatically

ImportError: No JS module 'tweener'

System information

Describe the problem

Describe the problem here, including the steps to reproduce the problem.

Installing fails, "On" slider displays "ERROR".

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem.
First, in the preference, Set the log verbose level to "Debug";

journalctl -f has this entry:

Nov 07 15:35:18 tpxy gnome-shell[922]: JS ERROR: Extension [email protected]: ImportError: No JS module 'tweener' found in search path
                                       @/home/myuser/.local/share/gnome-shell/extensions/[email protected]/extension.js:3:17
                                       _callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:420:13
                                       _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:145:18
                                       _onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:491:35
                                       _onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:491:14
                                       createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:533:46
                                       enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:194:29
                                       callback@resource:///org/gnome/shell/ui/extensionDownloader.js:223:44
                                       gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:106:13

incompatible after upgrade system ( upgraded gnome-shell to version 44.1)

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Manjaro 23.0.0
  • GNOME version: 44.1
  • Display Server (X11/Wayland): Wayland
  • Exact command to reproduce: incompatible after update system

You can obtain the GNOME version by:

  1. Open the Activities overview and start typing About.
  2. Click on About to open the panel. A window appears showing information about your system, including your distribution's name and the GNOME version.

Describe the problem

Describe the problem here, including the steps to reproduce the problem.

extension is not work after upgrade (pamac update|upgrade). adding "44.1" in metadata.json did not solve the issue.

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem.
First, in the preference, Set the log verbose level to "Debug";
Then you can view gnome shell extension's log via:

journalctl -b0 /usr/bin/gnome-shell |grep -i transparent.*window

To view logs dynamically:

journalctl /usr/bin/gnome-shell -f |grep -i transparent.*window

Not work for some windows under wayland

System information

  • OS Platform and Distribution: linux Arch
  • GNOME version: 42.2
  • Display Server(X11/Wayland): Wayland
  • Exact command to reproduce:

Describe the problem

It works fine when using Xorg(with WaylandEnable=false), but when using Wayland, some windows work, some not.
For example, Chrome works, gnome-terminal not.

Source code / logs

No any debug log when trying to scroll on windows that do not work, and normal logs for those work fine.

Suddenly stopped working after minimizing window

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04.1 LTS
  • GNOME version: 3.28.2
  • Exact command to reproduce: nothing

Describe the problem

This was perfect until somehow it stopped working :( I had a transparent window. I minimized it and on maximazing it was now all solid again and alt scroll won't do anything I even reinstalled the extension but it won't work.

Source code / logs

-- Logs begin at Tue 2018-08-07 23:48:16 +04, end at Tue 2018-08-21 19:15:30 +04. --
Օգս 07 23:48:20 hayk-ThinkPad-E580 gnome-shell[1884]: Telepathy is not available, chat integration will be disabled.
Օգս 07 23:48:20 hayk-ThinkPad-E580 gnome-shell[1884]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/appIcons.js 1027]: unreachable code after return statement
Օգս 07 23:48:21 hayk-ThinkPad-E580 gnome-shell[1884]: [AppIndicatorSupport-DEBUG] Reload detected, destroying old watchdog
Օգս 07 23:48:22 hayk-ThinkPad-E580 gnome-shell[1884]: Object St.BoxLayout (0x55f3929262d0), has been already deallocated - impossible to connect to signal. This might be caused by the fact that the object has be
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: == Stack trace for context 0x55f390e90340 ==
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #0 0x7ffe75bd84e0 I   /usr/share/gnome-shell/extensions/[email protected]/utils.js:76 (0x7f85d00ce9a0 @ 68)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #1 0x7ffe75bd8540 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f85d3db5de0 @ 71)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #2 0x7ffe75bd8610 b   /usr/share/gnome-shell/extensions/[email protected]/utils.js:35 (0x7f85d00ce780 @ 139)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #3 0x7ffe75bd8680 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f85d3db5de0 @ 71)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #4 0x55f391238270 i   /usr/share/gnome-shell/extensions/[email protected]/docking.js:1270 (0x7f85d00ca890 @ 115)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #5 0x7ffe75bd9350 b   self-hosted:913 (0x7f85d3df12b8 @ 346)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #6 0x55f3912381e0 i   /usr/share/gnome-shell/extensions/[email protected]/docking.js:1259 (0x7f85d00cab38 @ 65)
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #7 0x7ffe75bda0a0 b   self-hosted:917 (0x7f85d3df12b8 @ 394)
Օգս 07 23:48:22 hayk-ThinkPad-E580 gnome-shell[1884]: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by 
Օգս 07 23:48:22 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1a00011 (gnome-init)
Օգս 07 23:48:23 hayk-ThinkPad-E580 gnome-shell[1884]: GNOME Shell started at Tue Aug 07 2018 23:48:20 GMT+0400
Օգս 07 23:48:23 hayk-ThinkPad-E580 gnome-shell[1884]: Object Meta.Background (0x55f391429420), has been already deallocated - impossible to access to it. This might be caused by the fact that the object has been
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: == Stack trace for context 0x55f390e90340 ==
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #0 0x55f3912384c0 i   resource:///org/gnome/shell/ui/background.js:718 (0x7f85e800f450 @ 22)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #1 0x55f391238438 i   resource:///org/gnome/shell/ui/tweener.js:113 (0x7f85d3dc7e68 @ 37)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #2 0x7ffe75bd7f10 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (0x7f85d3dd3b38 @ 54)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #3 0x7ffe75bd8060 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:337 (0x7f85d3dd3bc0 @ 1626)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #4 0x7ffe75bd8110 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:350 (0x7f85d3dd3c48 @ 100)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #5 0x55f3912383c0 i   resource:///org/gnome/gjs/modules/tweener/tweener.js:365 (0x7f85d3dd3cd0 @ 10)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #6 0x55f3912382f0 i   resource:///org/gnome/gjs/modules/signals.js:128 (0x7f85d3dd3230 @ 386)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #7 0x55f391238260 i   resource:///org/gnome/shell/ui/tweener.js:245 (0x7f85d3dcf808 @ 159)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #8 0x7ffe75bda130 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f85d3db5de0 @ 71)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #9 0x55f3912381e0 i   resource:///org/gnome/shell/ui/tweener.js:220 (0x7f85d3dcf780 @ 15)
Օգս 07 23:48:23 hayk-ThinkPad-E580 gnome-shell[1884]: Object Meta.Background (0x55f392de7d10), has been already deallocated - impossible to access to it. This might be caused by the fact that the object has been
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: == Stack trace for context 0x55f390e90340 ==
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #0 0x55f3912384c0 i   resource:///org/gnome/shell/ui/background.js:718 (0x7f85e800f450 @ 22)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #1 0x55f391238438 i   resource:///org/gnome/shell/ui/tweener.js:113 (0x7f85d3dc7e68 @ 37)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #2 0x7ffe75bd7f10 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (0x7f85d3dd3b38 @ 54)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #3 0x7ffe75bd8060 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:337 (0x7f85d3dd3bc0 @ 1626)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #4 0x7ffe75bd8110 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:350 (0x7f85d3dd3c48 @ 100)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #5 0x55f3912383c0 i   resource:///org/gnome/gjs/modules/tweener/tweener.js:365 (0x7f85d3dd3cd0 @ 10)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #6 0x55f3912382f0 i   resource:///org/gnome/gjs/modules/signals.js:128 (0x7f85d3dd3230 @ 386)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #7 0x55f391238260 i   resource:///org/gnome/shell/ui/tweener.js:245 (0x7f85d3dcf808 @ 159)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #8 0x7ffe75bda130 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f85d3db5de0 @ 71)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #9 0x55f3912381e0 i   resource:///org/gnome/shell/ui/tweener.js:220 (0x7f85d3dcf780 @ 15)
Օգս 07 23:48:23 hayk-ThinkPad-E580 gnome-shell[1884]: Object Meta.Background (0x55f392e28310), has been already deallocated - impossible to access to it. This might be caused by the fact that the object has been
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: == Stack trace for context 0x55f390e90340 ==
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #0 0x55f3912384c0 i   resource:///org/gnome/shell/ui/background.js:718 (0x7f85e800f450 @ 22)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #1 0x55f391238438 i   resource:///org/gnome/shell/ui/tweener.js:113 (0x7f85d3dc7e68 @ 37)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #2 0x7ffe75bd7f10 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (0x7f85d3dd3b38 @ 54)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #3 0x7ffe75bd8060 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:337 (0x7f85d3dd3bc0 @ 1626)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #4 0x7ffe75bd8110 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:350 (0x7f85d3dd3c48 @ 100)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #5 0x55f3912383c0 i   resource:///org/gnome/gjs/modules/tweener/tweener.js:365 (0x7f85d3dd3cd0 @ 10)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #6 0x55f3912382f0 i   resource:///org/gnome/gjs/modules/signals.js:128 (0x7f85d3dd3230 @ 386)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #7 0x55f391238260 i   resource:///org/gnome/shell/ui/tweener.js:245 (0x7f85d3dcf808 @ 159)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #8 0x7ffe75bda130 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f85d3db5de0 @ 71)
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: #9 0x55f3912381e0 i   resource:///org/gnome/shell/ui/tweener.js:220 (0x7f85d3dcf780 @ 15)
Օգս 07 23:48:23 hayk-ThinkPad-E580 gnome-shell[1884]: Object Meta.Background (0x55f392e47920), has been already deallocated - impossible to access to it. This might be caused by the fact that the object has been
Օգս 07 23:48:23 hayk-ThinkPad-E580 org.gnome.Shell.desktop[1884]: == Stack trace for context 0x55f390e90340 ==

The extension is incompatible with the current GNOME version 42.1

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): SK Arch Linux 0.4.1
  • GNOME version: 42.1
  • Display Server(X11/Wayland): Wayland
  • Exact command to reproduce: Manually install

You can obtain the GNOME version by:

  1. Open the Activities overview and start typing About.
  2. Click on About to open the panel. A window appears showing information about your system, including your distribution's name and the GNOME version.

Describe the problem

Downloaded from extensions page(latest) (latest) and manually installed

Source code / logs

`Error: No property margin on GtkBox

Stack trace:
  _init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:55:50
  _init@/home/wz/.local/share/gnome-shell/extensions/[email protected]/prefs.js:62:26
  wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
  buildPrefsWidget@/home/wz/.local/share/gnome-shell/extensions/[email protected]/prefs.js:98:16
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
  `

Gnome 3.36: `TypeError: Keymap is null` and `assignment to undeclared variable`

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux 5.7.5-arch1-1 #1 SMP PREEMPT Mon, 22 Jun 2020 08:10:02 +0000 x86_64 GNU/Linux
  • GNOME version: 3.36.3
  • Exact command to reproduce: /usr/lib/gdm-wayland-session /usr/bin/gnome-session (login by GDM to Wayland)

Describe the problem

The extension does not start. Running Alt+F2 “lg” to get the error logs shows this error:
TypeError: Keymap is null

Source code / logs

After setting the log level top “Debug”, I get that:

$ journalctl -b0 /usr/bin/gnome-shell -r |grep -i Transparent.window
juin 24 22:04:14 sedentaire gnome-shell[909]: JS ERROR: Extension [email protected]: TypeError: Keymap is null
                                              enable@/home/yves/.local/share/gnome-shell/extensions/[email protected]/extension.js:150:3
juin 24 22:04:14 sedentaire gnome-shell[909]: JS WARNING: [/home/yves/.local/share/gnome-shell/extensions/[email protected]/extension.js 48]: assignment to undeclared variable gnome_at_least_3_34
juin 24 22:04:14 sedentaire gnome-shell[909]: JS WARNING: [/home/yves/.local/share/gnome-shell/extensions/[email protected]/extension.js 24]: assignment to undeclared variable lis

How to use?

I installed but I did not understand how to change the opacity.
Nothing happens while trying ALT + scroll mouse.

Update to Gnome 45

I love your extension however unable to use it after upgrading :-(

System information

  • OS Name: Fedora Linux 39 (Workstation Edition)
  • GNOME Version: 45.3
  • Windowing System: Wayland
  • Kernel Version: Linux 6.6.14-200.fc39.x86_64

Describe the problem

The extension is not compatible with Gnome 45

Incompatible with Gnome Shell 43...

...but it can be fixed by adding "43" to the list of supported shell versions. It will still present the issue #15, but at least it will work without the possibility to change the shortcut via settings.

overlay takeover

System information

  • OS Platform and Distribution Linux Ubuntu 22.04
  • GNOME version 42.9
  • Display Server: Wayland
  • Exact command to reproduce

Describe the problem

In some situations (multiple times every hour), when switching to a virtual desktop, the overlay takes over:

  • I can't focus any window on said virtual desktop anymore using the mouse
  • I can launch the debugger "F2 > lg", but I can't even click its buttons
  • mouse clicks are basically inoperative
  • mouse scrolling changes transparency even though the "Alt" key isn't pressed

Also:

  • It only happen if the focused window (on the virtual desktop I switch to) is of a certain kind: Eg some Firefox or GTK boxes (but never xterm/urxvt)
  • As soon as I Alt-Tab (to focus another window on the same virtual desktop), the focus/window-grabbing behavior is restored
  • If no other window exist on that desktop, I must create an xterm or similar (using keybinding) in order restore the correct behavior
  • It's a new bug. It started happening a week or two ago.
  • It switch desktops using Alt-1, Alt-2, Alt-3, ...

Source code / logs

août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay created
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 0
août 02 00:12:04 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay destroyed
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay created
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 0
août 02 00:12:05 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay destroyed
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay created
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 0
août 02 00:12:07 acer gnome-shell[2829]: [DEBUG][TransparentWindow] overlay destroyed
août 02 00:12:09 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Hot key pressed
août 02 00:12:09 acer gnome-shell[2829]: [DEBUG][TransparentWindow] 8
août 02 00:12:09 acer gnome-shell[2829]: [DEBUG][TransparentWindow] Modifier key pressed, listening to scroll

Any race/conflict over the "Alt" key ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.