https://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2011-01-28T12:50:38ZRedmineU++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=172011-01-28T12:50:38ZJan Dolinárdolik.rce@gmail.com
<ul><li><strong>File</strong> <a href="/redmine/attachments/download/1/urgenthint.zip">urgenthint.zip</a> added</li><li><strong>Assignee</strong> changed from <i>Jan Dolinár</i> to <i>Miroslav Fidler</i></li></ul><p>Here are the changed files for testing. I believe it is now ready for inclusion. What do you think?</p> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=192011-01-29T19:34:49ZMiroslav Fidlercxl@ntllib.org
<ul><li><strong>Status</strong> changed from <i>Ready for QA</i> to <i>In Progress</i></li></ul> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=222011-01-31T11:19:45ZMiroslav Fidlercxl@ntllib.org
<ul><li><strong>Assignee</strong> changed from <i>Miroslav Fidler</i> to <i>Jan Dolinár</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>Was not working in Win7. There I was able to fix it.</p>
<p>Is not working in ubuntu/gnome. Unable to fix it there...</p>
<p>Testing with this</p>
<pre>
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
TopWindow win, win2;
win.Title("xxx");
win.Open();
win2.OpenMain();
win2.Run();
win.Urgent();
win2.Run();
}
</pre>
<p>It is committed to the trunk now, it is possible that the problem is only Gnome specific... Well, at least it works in Win, but could investigate why it does not work in Ubuntu please?</p> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=232011-01-31T13:09:23ZJan Dolinárdolik.rce@gmail.com
<ul><li><strong>File</strong> <a href="/redmine/attachments/download/2/TopWinX11.cpp">TopWinX11.cpp</a><a href="/redmine/attachments/2/TopWinX11.cpp"><img alt="Magnifier" src="/redmine/images/magnifier.png" /></a> added</li><li><strong>Assignee</strong> changed from <i>Jan Dolinár</i> to <i>Miroslav Fidler</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>90</i></li></ul><p>Thanks for the Win7 patch.</p>
<p>It appears that Gnome (Metacity more precisely) ignores XUrgencyHint and uses _NET_WM_STATE_DEMANDS_ATTENTION instead. In my Xfce it works just fine. Attached code should fix it for most window managers, by using both ways. Unfortunately I don't have any distro with Gnome right now and virtualization stopped working (crashes my computer, grrr :-/ )... Can you test it yourself? Thanks.</p>
<p>Honza</p> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=442011-02-16T12:24:44ZAndrei Natanael Cosmaandreincx@gmail.com
<ul></ul><p>Miroslav Fidler wrote:</p>
<blockquote>
<p>Was not working in Win7. There I was able to fix it.</p>
<p>Is not working in ubuntu/gnome. Unable to fix it there...</p>
<p>Testing with this</p>
<p>[...]</p>
<p>It is committed to the trunk now, it is possible that the problem is only Gnome specific... Well, at least it works in Win, but could investigate why it does not work in Ubuntu please?</p>
</blockquote>
<p>It works for me in Ubuntu, it flashes the taskbar entry. If you test with ubuntu default theme you will not see it flashing (maybe there is a theme issue) but if you test with clearlooks theme the taskbar entry changes to blue/white/blue etc.</p> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=462011-02-17T18:53:22ZJan Dolinárdolik.rce@gmail.com
<ul><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul><p>Andrei Natanael Cosma wrote:</p>
<blockquote>
<p>It works for me in Ubuntu, it flashes the taskbar entry. If you test with ubuntu default theme you will not see it flashing (maybe there is a theme issue) but if you test with clearlooks theme the taskbar entry changes to blue/white/blue etc.</p>
</blockquote>
<p>If it works with one theme and not the other than the problem is probably not in the code but in the theme. I think that the change can go to svn now, Mirek could you commit it please?</p> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=472011-02-17T19:10:41ZMiroslav Fidlercxl@ntllib.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Ready for QA</i></li><li><strong>Assignee</strong> changed from <i>Miroslav Fidler</i> to <i>Jan Dolinár</i></li></ul><p>..make a last check, then approve the task... :)</p> U++ - Feature #19: Urgent hint (X11) & Flashing (win) for TopWindowhttps://www.ultimatepp.org/redmine/issues/19?journal_id=522011-02-18T14:51:02ZJan Dolinárdolik.rce@gmail.com
<ul><li><strong>Status</strong> changed from <i>Ready for QA</i> to <i>Approved</i></li></ul>