Community
Participate
Working Groups
Created attachment 214838 [details] screenshot - using 3.8M7 test build: I20120429-1800 - open a few perspectives - drag the banner's separator to the right, to squeeze the tool buttons with the perspective names, and force the ToolBar's overflow menu button to be shown - the overflow menu button is shown, but so is another unexpected button whose image looks like a quotation mark (screenshot is attached) - pressing this button shows the same tool item as the overflow drop-down - SWT Spy indicates that this is a different ToolBar instance from the one to its left that contains the tool items and overflow button, so presumably it is being created by UI (?)
(In reply to comment #0) > Created attachment 214838 [details] > screenshot > > - using 3.8M7 test build: I20120429-1800 > Did you mean I20120429-2000 ? the 1800 build was a 4.2 build PW
Yes, the 3.8-stream build, thanks.
I spent some time investigating this, and this appears to be an SWT issue, so taking report back. The second ToolBar is created by CoolItem.updateChevron() for displaying the chevron when it has become too narrow to show all of its items (the button with the "quote mark" is the chevron, I'm not sure why it is looking like this). Since the ToolBar in the CoolItem has style SWT.WRAP, it is correctly showing its own drop-down arrow, but the CoolItem's chevron should only need to be shown when the ToolBar has become too narrow to show its drop-down button. My guess is that when the ToolBar is showing its drop-down button it may be reporting too large a size (or too large a preferred size), which is causing the ToolBar with the chevron to be created/shown when it's not actually needed.
Arun can you investigate this for 3.8RC1? It's visually quite obvious, and if not fixed now will be re-logged many times after the release.
Created attachment 215957 [details] Appearance on Windows 7 32bit, without Chevron button For reference, I added the appearance in Windows. To clarify, the extra toolbar also appears if the chevron button is _not_ displayed.
Created attachment 215960 [details] Appearance on Windows 7 32bit, with Chevron button
*** Bug 392053 has been marked as a duplicate of this bug. ***
I cannot reproduce this in I20181206-0815. The perspective toolbar doesn't show any overflow buttons and just moves to the next row when it is overflown. Is this still relevant?
No response in awhile, closing this ticket now. Please reopen it if you still experience the issue on GTK3.22+ and SWT 4.10.