<div dir="ltr"><div><div><div><div><div><div><div>Hey Eric,<br><br></div>Finally figured this out.<br></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></div>So KWin has special settings to tweak this, I'm sure there's something similar for SuSE.</div><div><br></div><div>You have 2 options:</div><div>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></div><div>In system settings->Window Management->Window Behavior->Focus->Focus stealing prevention set to None<br></div><div><br></div><div>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>So for every Chimera window that you open:<br></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>Also go to the tab `Window matching` and uncheck the match whole window class, and change exact match to unimportant</div><div>then make Window title Exact match, and use the window title of the chimera window that you're on (like 'Model Panel')</div><div><br></div>You might have to restart chimera. and now it works for me!</div><div><br></div>Cheers,<br></div>Dan</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 4:29 PM, Eric Pettersen <span dir="ltr"><<a href="mailto:pett@cgl.ucsf.edu" target="_blank">pett@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Daniel,<div><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><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><br></div><div>—Eric</div><div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><span class="m_-2065989628160575477Apple-tab-span" style="white-space:pre-wrap"> </span>Eric Pettersen</div><div><span class="m_-2065989628160575477Apple-tab-span" style="white-space:pre-wrap"> </span>UCSF Computer Graphics Lab</div></div>
</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On Sep 27, 2017, at 3:17 PM, Daniel P Farrell <<a href="mailto:danpf@uw.edu" target="_blank">danpf@uw.edu</a>> wrote:</div><br class="m_-2065989628160575477Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr">Hello,<div>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><br></div><div>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><br></div><div>It seems to already work this way on mac.</div><div><br></div><div><div>NAME="Linux Mint"</div><div>VERSION="18.1 (Serena)"</div><div>ID=linuxmint</div></div><div><br></div><div><br></div><div>Cheers,</div><div>Dan</div></div></div></div>
______________________________<wbr>_________________<br>Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank">Chimera-users@cgl.ucsf.edu</a><br>Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank">http://plato.cgl.ucsf.edu/<wbr>mailman/listinfo/chimera-users</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div>