Comments (7)
Note that v27 introduced a fairly significant re-write in order to support gnome-shell v3.34 -- this issue may no longer occur.
from gnome-shell-extension-transmission-daemon.
This is still happening. I have Gnome 3.34.3 and this extension at version v27. It's present both on wayland and X11.
I've tried to debug this a bit, I've figured that this happens when "Always show the indicator" is false and transmission isn't running (PanelMenu
is not visible).
I've tracked down that changing TransmissionDaemonIndicatorClass.hide
to (add this.visible
check):
if (!this._always_show && this.visible) {
this.visible = false;
}
fixes the bug.
I've also noticed that it's not the only bug related to focus. In the not connected state the operation "click transmission indicator to show menu, click to hide it" toggles the focus of window:
- Window A has focus.
- Click indicator, menu shows up
- Click indicator, menu hides and windows A loses focus (under X, focus has window with id 0, checked with
xprop -root _NET_ACTIVE_WINDOW
) - Click indicator, menu shows up
- Click indicator, menu shows hides and windows A (not any random window) regains focus.
This doesn't happen with any other extensions that use PanelMenu
eg. OpenWeather.
Now, I have not clue about developing Gnome extensions, thus I don't know how the proper fix looks like. Above snippet looks more like a workaround to me, but I hope that this description is helpful 😉.
from gnome-shell-extension-transmission-daemon.
@p2004a this bug has been a nightmare-and-a-half to track down, so thank you for all your efforts! I've just submitted v28 to extensions.gnome with your suggested fix -- even if it doesn't fix the problem entirely, hopefully it improves things a bit!
Thanks for the additional debugging info as well -- that gives me a good direction to focus efforts, at least. I'll dig into the OpenWeather codebase and see if that sparks any joy ideas. If you find anything else, I'd love to hear about it!
I don't know what it is about this bug, but I've just never been able to replicate it no matter what I try. I'm sure its something simple I'm missing, but isn't that always the case...
from gnome-shell-extension-transmission-daemon.
It seems that this bug has re-appeared in Gnome Shell 3.36: If I play a video (I tested it with MPV and VLC), while in window mode everything works fine, but if I double click or press F to change to full screen mode, the window losses the focus and I must do a click to be able to continue to manage it with the keyboard.
(but I don't remember problems with Gnome Shell 3.34 or previous)
from gnome-shell-extension-transmission-daemon.
I found how to fix it. I uploaded a patch.
from gnome-shell-extension-transmission-daemon.
I've pushed release v29 with @rastersoft's fix (thanks again!). Hopefully this is the last of it (crossed fingers).
from gnome-shell-extension-transmission-daemon.
We've not received a report of this in two months -- closing this as resolved. Thanks again for contributing the various fixes here, folks!
from gnome-shell-extension-transmission-daemon.
Related Issues (14)
- "Add Torrent" dialog should allow file uploads
- GDBus.Error:org.gnome.Shell.LoadExtensionError: SyntaxError: illegal character HOT 7
- Broken on Gnome Shell 3.32 HOT 2
- processList and processSession return errors HOT 4
- JS ERROR: TypeError: transmissionDaemonIndicator.connectionError is not a function HOT 1
- Create "Sort By" feature
- Error meta is null on Gnome 3.38 HOT 2
- Not all the translations applied HOT 4
- Add support for v42 HOT 2
- Support Request for Gnome v43
- Fix `Soup.get_message` usage HOT 1
- Too many arguments to method.. HOT 3
- Just a question HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-transmission-daemon.