dublicates itself on panel #90

Closed
Kolcha opened this Issue Feb 21, 2013 · 20 comments

Projects

None yet

7 participants

Kolcha commented Feb 21, 2013

I using Ubuntu 12.10 amd 64, GNOME 3.6 updated from gnome3 team ppa. I updated your extension from your ppa. package version is gnome-shell-extension-weather - 0.2-0+20130221~quantal1.
Problem is:
when screen is down (by timeout or I closed lid on my notebook) and I 'wake up' it extension copies itself many times.
It creates copies on screen with edit to enter password too.
You can see problem on attached screenshot.

P.S. Sorry for my English, I hope you understand me correctly.

Screenshot from 2013-02-21 21:43:06

Owner
Neroth commented Feb 21, 2013

I have change the uuid this morning, look in the /usr/share/gnome-shell/extensions directory : you should have weather-extension@xeked.com and no weather@extension.gnome.org ;).

Kolcha commented Feb 21, 2013

I have weather-extension@xeked.com and no weather@extension.gnome.org in /usr/share/gnome-shell/extensions. I don't have any other weather extensions in other folders.

Kolcha commented Feb 21, 2013

sorry. bug is appeared in previous package (gnome-shell-extension-weather_0.2-0+20130220~quantal1) not very last. I install this package on clean system and bug reproduced (this package was in my cache). In last package bug exists too.

Owner
Neroth commented Feb 22, 2013

I haven't Ubuntu ... But in Fedora everything looks good with a generic installation.

Try to compile the package : Generic installation in README.

Kolcha commented Feb 22, 2013

I compiled it from source... and show it again...
P.S. First of all I tried to install it to $HOME/.local ... and I got to folders weather-extension@xeked.com and weather@extension.gnome.org together. in weather-extension@xeked.com was some .js in weather@extension.gnome.org was schema and locales. extension didn't work too.
When I install it to /usr (as in README) I have only 1 folder.

Owner
Neroth commented Feb 22, 2013

You must remove the weather@extension.gnome.org directory ;). Try it and tell me if it work ;).

Kolcha commented Feb 23, 2013

I removed this directory and it has no effect - locally installed extension doesn't work.
I installed it from deb package again and reproduce bug again. If I see this bug gnome tweak tool shows that extension failed to load (ALT + F2 lg shows that extension loaded with errors, but no any error messages).
I can suggest help to debug this problem (maybe this problem is Ubuntu specific), but I don't know anything about gnome extensions and JavaScript (I am c++ and python programmer). If you talk to me how I can get useful info about what happened with extension in my system I will happy to help.
P.S. I tried to install some other weather extensions. They work correctly (such as well local and system wide).
Screenshot from 2013-02-23 16:39:44

@Kolcha Kolcha closed this Feb 23, 2013
@Kolcha Kolcha reopened this Feb 23, 2013
Kolcha commented Feb 23, 2013

Sorry, I clicked wrong button :)

Kolcha commented Feb 23, 2013

I see your commit history and found next lines :
weatherMenu._settings.disconnect("changed");
weatherMenu._settingsInterface.disconnect("changed");
in next commit I found weatherMenu.stop()
I commented this line (stop() ) and bug disappears...

Owner
Neroth commented Feb 23, 2013

Ok ! Try to change name of the fonction "stop" to "teststop".

Change "weatherMenu.stop()" => "weatherMenu.teststop()" line 1536 and "stop : function()" => "teststop : function()" line 227

@Neroth Neroth added a commit that referenced this issue Feb 23, 2013
@Neroth Neroth #90 300c8c5
Kolcha commented Feb 24, 2013

Sorry, I answer to late, I have some problems with internet connection :).
I renamed function (as in your diff). It has no result, bug exists.

Reinis commented Feb 25, 2013

I had the same issue on Gentoo - got an extra icon for each enabled extension besides weather whenever screen was locked or computer suspended (it showed weather icons even when the screen was locked). Disabling all other shell extensions in gnome-tweak-tool and then re-enabling them again seems to have fixed the issue.

Kolcha commented Feb 25, 2013

@Reinis It seems to have fixed the issue for me too. Thanks.
This is strange, but it works...

I had the same issue on Ubuntu gnome 12.10 after unlocking my screen. What helps is restarting gnome-shell - "ALT+F2" + "r".

Kolcha commented Feb 26, 2013

I think there are no serious bug. I close this issue.

@Kolcha Kolcha closed this Feb 26, 2013
ildar commented Feb 27, 2013

What do you mean no serious bug? It IS while it is reproducible and behaves
that way

@mareknovotny you have the issue after unlocking or after locking?. Because in my case when I lock the screen I see how the weather indicator clones itself.

Before/After lock screenshot:
kat_weather_bug

@injcristianrojas Yep, it is exactly after locking up, the exactly same case like your second picture

OK. This needs reopening.

Kostazk commented Mar 6, 2013

Also got this issue on a fully updated Fedora 18. Installed the extension from extensions.gnome.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment