New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification styles #623
Notification styles #623
Conversation
We were supposed to be updating the notification's title when the window title changes, but we didn't actually bother to re-format the title and body, effectively leaving the notification unchanged.
@rat4 I could add the setting in cinnamon-settings, I see it's a gsettings key, what names should I give to options 0, 1, and 2? (think I'll probably make a dropdown box of it if that's OK) |
@AlbertJP something like this: dropdown box is ok :-) |
@rat4 It took some time as the GSettingsComboBox wouldn't accept gsettings keys with type "i" - it expected a string. Or do you think we can better change the GSettings key into one of type "s" to keep the python code clean? Personally I prefer the latter as it's done that way everywhere in the code. |
@AlbertJP It's not a problem, change as you need. |
@rat4 Please add me as a collaborator in your Cinnamon repo configuration, then I can commit it there. Then we can keep one pull request and don't need two that depend on each other. Also, I have already notified clem that this pull request can't yet be pulled. |
Done |
@rat4 It seems like your work somehow breaks dropdown menus in Firefox. |
@AlbertJP any examples? |
@rat4 The "firefox /" button which is displayed when the menu bar is not enabled, and live bookmarks such as the "News" one which is present by default |
@AlbertJP See http://i.imgur.com/wIunS.png |
@rat4 It's probably a bug unrelated to your code which was fixed in master after notification_style branched off. The menu does not appear at all when clicking "Firefox" but I can click on the invisible menu items. |
@rat4 Confirmed. This was a bug in Cinnamon master not related to your code. I think this code is ready to be pulled. (I haven't tested all the notification styles however, just made sure that cinnamon-settings sets the right thing in the GSettings key) |
@rat4 Do you think this is ready to be pulled? |
@AlbertJP It's ready, if you have tested your changes. |
Please merge this as Skype is completely unusable with Cinnamon otherwise! |
ditto giesse. This makes Skype and QtCreator extremely annoying to use under Cinnamon. Please get into the next release. |
Is this the bug that makes Skype steal focus anytime someone types a row in chat? |
A lot of work went into this so this is going to come as bad news. I should have reacted to it much earlier. I don't like the idea of this being configurable.. mainly because this isn't a question of preference but a question of fixing a bug. The focus should always be taken when the user launches a new app and never be taken on his behalf when he doesn't trigger the creation of new content. For Skype, I fixed the bug with this c5bbcad For other apps which face a similar issue, I'd like people to insert the following code at line 27 in /usr/share/cinnamon/js/ui/windowAttentionHandler.js: global.log_error("Focus stolen by : " + window.get_wm_class()); Then restart cinnamon, and when the focus is stolen from you, click on the ^ applet, troubleshoot, looking glass, click on the error tab, and you should see the wm class name of the app which stole your focus. Give me that wm class name, and we'll add it to Cinnamon. |
@clefebvre No problem, though I'd have liked to hear this earlier. |
On Sat, Jun 9, 2012 at 3:46 PM, Clement Lefebvre
I must wonder though, how did Gnome 2 handle this? Did they have to If it's not just skype, wouldn't it make much more sense to have the |
I'm afraid the problem doesn't come from the showDesktop applet but from the WM itself (mutter/muffin)... because if you manually minimize Gimp, it should minimize its other windows as well. Gimp is a bit of a special case because these windows aren't tightly related to the main Gimp window. For instance, if you have two main Gimp windows (i.e. if you open two images), you only have one set of Gimp utility windows... so I guess that's where muffin/mutter fail to see that these windows "belong" to the one you're minimizing, and so they just don't minimize them as well. I think there's two problems here:
|
Clement, was your last comment on the wrong pull request? |
Yes... it looks like I posted in the wrong place there :)) |
discussed in #233
It lacks a gui configuration because I'm not familiar with python in which cinnamon-settings written
upd: default setting doesn't change current behaviour