Giter Site home page Giter Site logo

Comments (8)

Leleat avatar Leleat commented on May 30, 2024

Which version/commit of the extension are you using (from EGO or from github)?

from tiling-assistant.

chrisirwin avatar chrisirwin commented on May 30, 2024

The one published on extensions.gnome.org

from tiling-assistant.

Leleat avatar Leleat commented on May 30, 2024

For may understanding for example:

You have monitor 1 (on the left) and monitor 2 (on the right). If you tile a window to the right half on monitor 2, the dash (popup selector) appears on monitor 2 in the left screen half. But if you activate a window, it will be tiled to monitor 1? Did I get it right?

from tiling-assistant.

chrisirwin avatar chrisirwin commented on May 30, 2024

Not exactly. This bug is just about the "dash" popup specifically:

  1. Tile monitor to right half of monitor 2
  2. Dash appears on left half of monitor 2
  3. However, there are multiple firefox windows, so when you hover over firefox it pops up a window selector to pick a specific window. This appears on the right half of monitor 1 (wrong half and wrong monitor)

This doesn't seem to have any effect on where the window is maximized, although that is sometimes broken as well, though I haven't figured out exactly how. sometimes it works, sometimes it doesn't. Sometimes windows snap to where you expect only to immediately be unsnapped back to where they came from. Ultimately, it also isn't a feature I desire, so I haven't spent a lot of time narrowing it down.

from tiling-assistant.

Leleat avatar Leleat commented on May 30, 2024
Tile monitor to right half of monitor 2
Dash appears on left half of monitor 2
However, there are multiple firefox windows, so when you hover over firefox it pops up a window selector to pick a specific window. This appears on the right half of monitor 1 (wrong half and wrong monitor)

I just tried out the EGO version. Tried with Monitor 1 as my main monitor and then with monitor 2 but I can't reproduce it. For me the window preview always appears correctly under the app dash. Can you try the master branch and see if the problem persists?

Also please tell me your:

  • Distro (incl. version)
  • GNOME version
  • X11 or Wayland

from tiling-assistant.

chrisirwin avatar chrisirwin commented on May 30, 2024
  • Fedora 33
  • Gnome 3.38
  • Wayland

Tried master branch, but it didn't work:

$ cd tmp
$ git clone https://github.com/Leleat/Tiling-Assist.git
$ cp -a Tiling-Assist/tiling-assistant@leleat-on-github/ ~/.local/share/gnome-shell/extensions/
$ restorecon -r ~/.local/share/gnome-shell/extensions/

This is the error in the system journal:

Jan 25 13:13:08 t460 gnome-shell[5066]: JS ERROR: Error: GSettings key show-label not found in schema org.gnome.shell.extensions.tiling-assistant
                                                           _checkKey@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:580:23
                                                           createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:532:30
                                                           open@/home/cirwin/.local/share/gnome-shell/extensions/tiling-assistant@leleat-on-github/extension.js:1218:119
                                                           openDash@/home/cirwin/.local/share/gnome-shell/extensions/tiling-assistant@leleat-on-github/extension.js:583:10
                                                           tileWindow/sID<@/home/cirwin/.local/share/gnome-shell/extensions/tiling-assistant@leleat-on-github/extension.js:256:11

This is the on-screen error if I try to display the settings:

Error: Expected type string for argument 'property' but got type undefined

Stack trace:
  createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:533:46
  _init/<@/home/cirwin/.local/share/gnome-shell/extensions/tiling-assistant@leleat-on-github/prefs.js:41:20
  _init@/home/cirwin/.local/share/gnome-shell/extensions/tiling-assistant@leleat-on-github/prefs.js:39:37
  wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
  buildPrefsWidget@/home/cirwin/.local/share/gnome-shell/extensions/tiling-assistant@leleat-on-github/prefs.js:8:15
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132: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:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Reverting back to the EGO version works.

from tiling-assistant.

Leleat avatar Leleat commented on May 30, 2024

Wayland did cause some unexpexted trouble in the past (which didn't appear when using X11). I'll test it on Wayland as well once I get a chance.

$ cp -a Tiling-Assist/tiling-assistant@leleat-on-github/ ~/.local/share/gnome-shell/extensions/
$ restorecon -r ~/.local/share/gnome-shell/extensions/

I am not used to working in the terminal (not sure what the -a argument for cp or what restorecon does).

GSettings key show-label not found

I removed that option from the settings already. I guess there was some problem when replacing the files in the extensions folder. So just delete the original tiling-assistant@leleat-on-github folder completely and move the new one in. That should work.

from tiling-assistant.

Leleat avatar Leleat commented on May 30, 2024

I could reproduce it now. Issue should be fixed in master.

from tiling-assistant.

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.