<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Dan,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Thanks for sharing the info. That does sound like a pain in the behind. :-)</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 29, 2017, at 12:20 PM, Daniel P Farrell <<a href="mailto:danpf@uw.edu" class="">danpf@uw.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hey Eric,<br class=""><br class=""></div>Finally figured this out.<br class=""></div>Apparently
this is a 'feature' of KWin (KDE window manager), and exists to not
allow windows to randomly take focus when you're working on something
else.<br class=""></div>So KWin has special settings to tweak this, I'm sure there's something similar for SuSE.</div><div class=""><br class=""></div><div class="">You have 2 options:</div><div class="">Completely disable this feature from KWin. (they don't recommend, but I guess it depends on what kind of shady apps you have installed)<br class=""></div><div class="">In system settings->Window Management->Window Behavior->Focus->Focus stealing prevention set to None<br class=""></div><div class=""><br class=""></div><div class="">Set specific settings based on window names. This is better(safer?), but more annoying. For some reason KWin doesn't seem to recognize all windows as part of the same application.</div><div class="">So for every Chimera window that you open:<br class=""></div>Right click the top taskbar(or ALT-F3)->More
Actions->Special Application settings->Appearances &
Fixes->Focus stealing prevention-> set to force 'None'</div><div class="">Also go to the tab `Window matching` and uncheck the match whole window class, and change exact match to unimportant</div><div class="">then make Window title Exact match, and use the window title of the chimera window that you're on (like 'Model Panel')</div><div class=""><br class=""></div>You might have to restart chimera. and now it works for me!</div><div class=""><br class=""></div>Cheers,<br class=""></div>Dan</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Sep 28, 2017 at 4:29 PM, Eric Pettersen <span dir="ltr" class=""><<a href="mailto:pett@cgl.ucsf.edu" target="_blank" class="">pett@cgl.ucsf.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Daniel,<div class=""><span class="m_-2065989628160575477Apple-tab-span" style="white-space:pre-wrap"> </span>I don’t think there is anything we can do to change this behavior. When you click on that icon, Chimera asks the Tk toolkit to bring that window to the front (via a “tkraise” call). I have no idea what window system calls Tk makes to try to accomplish that, but apparently they don’t work on your distro. They do work on an Ubuntu installation we have here, but a SuSE installation worked in a somewhat similar fashion to yours except that all the Chimera dialogs were in one tab in the linux toolbar, and clicking on that tab would bring up a menu of the dialogs and picking one would bring it to the front.</div><div class=""><span class="m_-2065989628160575477Apple-tab-span" style="white-space:pre-wrap"> </span>I think your only option is to use the linux toolbar to bring the dialog you want to the front.</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div class=""><span class="m_-2065989628160575477Apple-tab-span" style="white-space:pre-wrap"> </span>Eric Pettersen</div><div class=""><span class="m_-2065989628160575477Apple-tab-span" style="white-space:pre-wrap"> </span>UCSF Computer Graphics Lab</div></div>
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On Sep 27, 2017, at 3:17 PM, Daniel P Farrell <<a href="mailto:danpf@uw.edu" target="_blank" class="">danpf@uw.edu</a>> wrote:</div><br class="m_-2065989628160575477Apple-interchange-newline"></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Hello,<div class="">I'm not sure if this is a distro thing, but I'm on linux mint and when I click on something in the toolbar the first time, the window appears on top of the main chimera window. However, if the window is already open, now the window no longer is brought to the front, and instead lights up on the linux application toolbar.</div><div class=""><br class=""></div><div class="">Would it be possible/easy to change this so that when I click on the toolbar and the window is already open for it to be brought to the front?</div><div class=""><br class=""></div><div class="">It seems to already work this way on mac.</div><div class=""><br class=""></div><div class=""><div class="">NAME="Linux Mint"</div><div class="">VERSION="18.1 (Serena)"</div><div class="">ID=linuxmint</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Dan</div></div></div></div>
______________________________<wbr class="">_________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank" class="">http://plato.cgl.ucsf.edu/<wbr class="">mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></body></html>