Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, August 2007
strange toolbar behaviour


Message 1 in thread

Hi,

No idea if this is the right place to report bug suspects. Couldn't find 
a bug tracker,
so untill told otherwise I'll post here.

I have a toolbar where the user may adjust toolButtonStyles. When the 
user sets it to floating,
and changes its style from Qt::ToolButtonIconOnly --> 
Qt::ToolButtonTextUnderIcon, the toolbars
geometry is not adjusted to show all tools and hitting the little double 
arrow to get to the next
set of tools will give strange results. A somewhat arbitrary number and 
set of icons is displayed
(no text) and no arrow is displayed to switch back to previous sets of 
tools. This sems to happen
exclusively in a the style change Qt::ToolButtonIconOnly --> 
Qt::ToolButtonTextUnderIcon.

And a somewhat related request: when a toolBar is set to floating and 
its size is larger than the
available docking space on the widget is not possible to redock it. 
Would be nice if this was always
possible.

Qt-4.3 on ubuntu feisty


Jürgen

--
 [ signature omitted ] 

Message 2 in thread

On onsdag den 15. August 2007, Juergen Urner wrote:
> Hi,
>
> No idea if this is the right place to report bug suspects.

It isn't. This is a list where people help out with issues people have with Qt 
coding. But of course, sometimes we do discuss bugs also, and sometimes one 
of the trolls do pick up a bug from this list.

> Couldn't find a bug tracker, so untill told otherwise I'll post here.

http://trolltech.com/developer/task-tracker

> I have a toolbar where the user may adjust toolButtonStyles. When the
> user sets it to floating,
> and changes its style from Qt::ToolButtonIconOnly -->
> Qt::ToolButtonTextUnderIcon, the toolbars
> geometry is not adjusted to show all tools and hitting the little double
> arrow to get to the next
> set of tools will give strange results. A somewhat arbitrary number and
> set of icons is displayed
> (no text) and no arrow is displayed to switch back to previous sets of
> tools. This sems to happen
> exclusively in a the style change Qt::ToolButtonIconOnly -->
> Qt::ToolButtonTextUnderIcon.

Does indeed sound like a bug. As a temporary workaround, you could try calling 
updateGeometry() on the toolbar. This method tells the layout to recalculate. 
But even if this works, I hope you will send the bug report.

Bo Thorsen.

-- 
 [ signature omitted ] 

Message 3 in thread

Bo Thorsen wrote:
> On onsdag den 15. August 2007, Juergen Urner wrote:
>   
>> Hi,
>>
>> No idea if this is the right place to report bug suspects.
>>     
>
> It isn't. This is a list where people help out with issues people have with Qt 
> coding. But of course, sometimes we do discuss bugs also, and sometimes one 
> of the trolls do pick up a bug from this list.
>
>   
>> Couldn't find a bug tracker, so untill told otherwise I'll post here.
>>     
>
> http://trolltech.com/developer/task-tracker
>
>   
>> I have a toolbar where the user may adjust toolButtonStyles. When the
>> user sets it to floating,
>> and changes its style from Qt::ToolButtonIconOnly -->
>> Qt::ToolButtonTextUnderIcon, the toolbars
>> geometry is not adjusted to show all tools and hitting the little double
>> arrow to get to the next
>> set of tools will give strange results. A somewhat arbitrary number and
>> set of icons is displayed
>> (no text) and no arrow is displayed to switch back to previous sets of
>> tools. This sems to happen
>> exclusively in a the style change Qt::ToolButtonIconOnly -->
>> Qt::ToolButtonTextUnderIcon.
>>     
>
> Does indeed sound like a bug. As a temporary workaround, you could try calling 
> updateGeometry() on the toolbar. This method tells the layout to recalculate. 
> But even if this works, I hope you will send the bug report.
>
>   

Thanks ...done so.


Jürgen

--
 [ signature omitted ]