Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Bug in toolbar
Bug in toolbar [message #663746] Wed, 06 April 2011 11:39 Go to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Hi,

I think I have found a bug.
I have a view with a toolbar.
The toolbar width is not enough and I have 2 rows of buttons.
If I add to the toolbar a ToolBarContributionItem with the MODE_FORCE_TEXT mode, when I press a button, the 2nd row of buttons disappear.
They reappear when I resize the view.
This doesn't happen when I don't use this mode.

Any hint for solving this, please?

David
Re: Bug in toolbar [message #663748 is a reply to message #663746] Wed, 06 April 2011 11:44 Go to previous messageGo to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
I forgot to mention that this happens for Win32.
Probably, this is a bug related to SWT.

David Pérez wrote on Wed, 06 April 2011 07:39
Hi,

I think I have found a bug.
I have a view with a toolbar.
The toolbar width is not enough and I have 2 rows of buttons.
If I add to the toolbar a ToolBarContributionItem with the MODE_FORCE_TEXT mode, when I press a button, the 2nd row of buttons disappear.
They reappear when I resize the view.
This doesn't happen when I don't use this mode.

Any hint for solving this, please?

David

Re: Bug in toolbar [message #663769 is a reply to message #663746] Wed, 06 April 2011 13:11 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You might be hitting:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=97522
or
https://bugs.eclipse.org/bugs/show_bug.cgi?id=141997


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: Bug in toolbar [message #663795 is a reply to message #663769] Wed, 06 April 2011 14:20 Go to previous messageGo to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Thanks Paul,

that's exactly what is happening me.
I have voted for these 2 bugs.

The guilty is the MODE_FORCE_TEXT flag.
I'll try with a org.eclipse.jface.action.ControlContribution instead of a regular ToolbarItem, because it's quite probably that this bug won't solve shortly.
Probably it's a bug of the underlying Windows control (Toolbar).

David

Paul Webster wrote on Wed, 06 April 2011 09:11
You might be hitting:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=97522
or
https://bugs.eclipse.org/bugs/show_bug.cgi?id=141997


Re: Bug in toolbar [message #664053 is a reply to message #663795] Thu, 07 April 2011 10:17 Go to previous message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
I have posted a solution as a comment here:ç
https://bugs.eclipse.org/bugs/show_bug.cgi?id=141997

Hope it helps.

David

David Pérez wrote on Wed, 06 April 2011 10:20
Thanks Paul,

that's exactly what is happening me.
I have voted for these 2 bugs.

The guilty is the MODE_FORCE_TEXT flag.
I'll try with a org.eclipse.jface.action.ControlContribution instead of a regular ToolbarItem, because it's quite probably that this bug won't solve shortly.
Probably it's a bug of the underlying Windows control (Toolbar).
Paul Webster wrote on Wed, 06 April 2011 09:11
You might be hitting:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=97522
or
https://bugs.eclipse.org/bugs/show_bug.cgi?id=141997




Previous Topic:switch working set triggers a script/command
Next Topic:Open a view as floating
Goto Forum:
  


Current Time: Thu Apr 25 12:05:58 GMT 2024

Powered by FUDForum. Page generated in 0.03291 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top