Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #363582 +++ Very hard to resize the Quick access list since it tends to close at random points during the resize.
Comment originally from Bogdan On Linux, during a resize, there will be no focus control set (can't do anything about that). We might be able to get around the problem by checking the current active shell. If it is the same as the table's shell then run away, else keep going. This seemed to work on both Win32 and Linux, but some more testing is warranted. Something like this: protected void checkFocusLost(final Table table, final Text text) { table.getDisplay().asyncExec(new Runnable() { public void run() { if (!table.isDisposed() && !text.isDisposed()) { >> if (table.getDisplay().getActiveShell() == table.getShell()) return; [Rest is unchanged]
Created attachment 207143 [details] Patch Needed to add a set text.setFocus() to Bogdan's suggestion to allow the table to close after a resize when other widgets are selected. On Linux, the table and SearchField loose focus during the resize. So if we prevent the table close during resize none of the widgets that are capable of closing the table when the SearchField loose focus have focus. This fix seems to work on Linux and does not adversely effect Windows
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b38dbdaddc14ca257b64796649e82a42a409ed22 PW
Fixed as noted in comment 3