GithubHelp home page GithubHelp logo

Comments (25)

G-dH avatar G-dH commented on August 20, 2024 1

I know and I have explained to you why the AATWS won't show up in this situation. AATWS needs the input, unlike a dock. I will find a way around this.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024 1

I'm always running my virtual machines in full-screen mode and in that case AATWS with the previously mentioned update shows up even if a vm has focus. However, now I've noticed that if the vm is in windowed mode, AATWS still can't grab the input. GS 42, X11.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024 1

I came up with a workaround, please try to update from GitHub and let me know if that works for you too.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024 1

Try it again, but clean before the pull.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024 1

This workaround can crash AATWS in certain situations, leaving it open and bocking input. I'll try to handle the exception.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024 1

That potential crash is also now fixed and the workaround has been simplified. Thanks for pushing me to solve my own inconvenience πŸ‘πŸ»

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

AATWS can pop up on any monitor and can be moved between them using hotkeys. Also the hot edge trigger can be set for all monitors. But if you want AATWS showing on all monitors at once, that will not be possible.

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Thanks , but when i'm using virtualbox machine and focus inside it nothing from outside of that machine can access .

Something like this option in dash to dock ext:
Screenshot from 2022-10-18 11-00-53

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

VBox machine grabs all input events when focused, AATWS needs to do the same to work. You can press and release right Ctrl key (default VBox hotkey) to release the input and allow AATWS to pop up. The hot edge trigger works but I need to find a usable way to temporarily steal the input from the VBox.

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

I'm talking about bottom menu that appear with mouse hover to bottom of screen .
something like dash to dock that i send to you .

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Thanks alot !

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

@alirezaimi Can you please try the current github version and tell me if it helped?

git clone https://github.com/G-dH/advanced-alttab-window-switcher.git
cd advanced-alttab-window-switcher/
make install

Don't forget to restart GNOME Shell.

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Hi
I'm tested it , and when i'm focused in virtual machine hot edge menu not work and not shown at all .
Thanks for your support .

And this log when i'm trying :

ct 30 11:31:40 debian gnome-shell[2639]: [[email protected]] Error: Unable to release input for successful Main.pushModal(), AATWS cannot start.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

Thanks. Interesting, works for me.
X11 or Wayland session?

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Thank you,
I'm using X11 .

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Hi
I pull last changes and make install it but :

$ make clean
rm -rf [email protected] \
       schemas/gschemas.compiled \

$ make install 
Packing zip file...
  adding: switcherList.js (deflated 73%)
  adding: extension.js (deflated 73%)
  adding: prefs.js (deflated 80%)
  adding: settings.js (deflated 77%)
  adding: actions.js (deflated 74%)
  adding: winTmb.js (deflated 75%)
  adding: captionLabel.js (deflated 65%)
  adding: switcherItems.js (deflated 76%)
  adding: windowMenu.js (deflated 76%)
  adding: windowSwitcherPopup.js (deflated 80%)
  adding: schemas/org.gnome.shell.extensions.advanced-alt-tab-window-switcher.gschema.xml (deflated 87%)
  adding: metadata.json (deflated 50%)
  adding: stylesheet.css (deflated 77%)
  adding: LICENSE (deflated 66%)
gnome-extensions install "[email protected]" --force

and after enabling it this error happened :

GLib.FileError: Failed to open file β€œ/home/alireza/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled”: open() failed: No such file or directory

Stack trace:
  getSettings@resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:226:31
  Options@/home/alireza/.local/share/gnome-shell/extensions/[email protected]/settings.js:111:42
  init@/home/alireza/.local/share/gnome-shell/extensions/[email protected]/prefs.js:66:16
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:24:25
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
  async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
  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

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

It's working.
In maximized mode and not maximized worked perfectly .
Thanks for your support .

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Thank you very much for your support .

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Hi again
I install extension on another debian stable 11 and i got this error and when i hover on menu on bottom of my display it's jumping and i can't choose anything :

keep showing this error :

Nov 29 09:30:35 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x55788e7d01a0), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 29 09:30:35 debian gnome-shell[2613]: == Stack trace for context 0x55788c7ab2e0 ==
Nov 29 09:30:35 debian gnome-shell[2613]: #0   7ffc8fd637d0 b   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1468 (2325d9688c90 @ 361)

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

Hi, I can't reproduce this bug on my VBox installation of Sid. Are you sure there is no conflict with another extension?

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

I disable all other extensions ,
Better log:

Nov 29 16:48:38 debian gnome-shell[2613]: AATWS - Advanced Alt-Tab Window Switcher: enabled
Nov 29 16:48:45 debian gnome-shell[2613]: pushModal: invocation of begin_modal failed
Nov 29 16:48:45 debian gnome-shell[2613]: pushModal: invocation of begin_modal failed
Nov 29 16:48:45 debian gnome-shell[2613]: pushModal: invocation of begin_modal failed
Nov 29 16:48:45 debian gnome-shell[2613]: pushModal: invocation of begin_modal failed
Nov 29 16:48:45 debian gnome-shell[2613]: pushModal: invocation of begin_modal failed
Nov 29 16:48:45 debian gnome-shell[2613]: [[email protected]] Error: Unable to grab input, AATWS cannot start.
Nov 29 16:48:45 debian gnome-shell[2613]: JS ERROR: Error: incorrect pop
                                          popModal@resource:///org/gnome/shell/ui/main.js:581:15
                                          _popModal@resource:///org/gnome/shell/ui/switcherPopup.js:309:18
                                          _onDestroy@resource:///org/gnome/shell/ui/switcherPopup.js:333:14
                                          show/this._pushModalTimeoutId<@/home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:303:30
Nov 29 16:48:46 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x557891005790), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 29 16:48:46 debian gnome-shell[2613]: == Stack trace for context 0x55788c7ab2e0 ==
Nov 29 16:48:46 debian gnome-shell[2613]: #0   55788ee08688 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1468 (2325d9688c90 @ 361)
Nov 29 16:48:46 debian gnome-shell[2613]: #1   55788ee085f8 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1212 (2325d96890b0 @ 34)
Nov 29 16:48:46 debian gnome-shell[2613]: == Stack trace for context 0x55788c7ab2e0 ==
Nov 29 16:48:46 debian gnome-shell[2613]: #0   55788ee08688 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1468 (2325d9688c90 @ 396)
Nov 29 16:48:46 debian gnome-shell[2613]: #1   55788ee085f8 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1212 (2325d96890b0 @ 34)
Nov 29 16:48:46 debian gnome-shell[2613]: == Stack trace for context 0x55788c7ab2e0 ==
Nov 29 16:48:46 debian gnome-shell[2613]: #0   55788ee08688 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1468 (2325d9688c90 @ 410)
Nov 29 16:48:46 debian gnome-shell[2613]: #1   55788ee085f8 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1212 (2325d96890b0 @ 34)
Nov 29 16:48:46 debian gnome-shell[2613]: == Stack trace for context 0x55788c7ab2e0 ==
Nov 29 16:48:46 debian gnome-shell[2613]: #0   55788ee08688 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1473 (2325d9688c90 @ 596)
Nov 29 16:48:46 debian gnome-shell[2613]: #1   55788ee085f8 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1212 (2325d96890b0 @ 34)
Nov 29 16:48:46 debian gnome-shell[2613]: == Stack trace for context 0x55788c7ab2e0 ==
Nov 29 16:48:46 debian gnome-shell[2613]: #0   55788ee08688 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1473 (2325d9688c90 @ 631)
Nov 29 16:48:46 debian gnome-shell[2613]: #1   55788ee085f8 i   /home/a/.local/share/gnome-shell/extensions/[email protected]/windowSwitcherPopup.js:1212 (2325d96890b0 @ 34)
Nov 29 16:48:46 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x557891005790), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 29 16:48:46 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x557891005790), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 29 16:48:46 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x557891005790), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 29 16:48:46 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x557891005790), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Nov 29 16:48:48 debian gnome-shell[2613]: Object .Gjs_advanced-alt-tab_G-dH_github_com_switcherList_SwitcherList (0x557891005790), has been already deallocated β€” impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

Did you install the latest github version?

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

I installed from https://extensions.gnome.org/

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

I didn't yet release the latest fix that handles the pop error and simplifies the workaround.

from advanced-alttab-window-switcher.

alirezaimi avatar alirezaimi commented on August 20, 2024

Ok , thanks .

from advanced-alttab-window-switcher.

Related Issues (20)

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.