Issue 79282 - Inconsistent behaviour and appearance of pop-up menus on toolbars
Summary: Inconsistent behaviour and appearance of pop-up menus on toolbars
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-05 18:52 UTC by shinobu_maehara
Modified: 2013-02-27 19:10 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The left two are buttons seen in Draw, the rightmost is the IE back button. To be certain, I've looked at my visual style using Theme Explorer, and IE seems to get it right. The correct parts to use are TP_SPLITBUTTON and TP_SPLITBUTTONDROPDOWN. (2.37 KB, image/png)
2007-07-05 19:16 UTC, shinobu_maehara
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description shinobu_maehara 2007-07-05 18:52:53 UTC
Toolbar buttons with an associated pop-up menu are drawn inconsistently and 
incorrectly. The behaviour of the pop-up menus is also inconsistent.
*New document: pop-up cannot be torn off.
*Alignment: pop-up can be torn off.
*Arrowheads: pop-up tears itself off.
Comment 1 shinobu_maehara 2007-07-05 19:16:16 UTC
Created attachment 46547 [details]
The left two are buttons seen in Draw, the rightmost is the IE back button. To be certain, I've looked at my visual style using Theme Explorer, and IE seems to get it right. The correct parts to use are TP_SPLITBUTTON and TP_SPLITBUTTONDROPDOWN.
Comment 2 shinobu_maehara 2007-08-14 23:24:20 UTC
Or TP_DROPDOWNBUTTON, but only if there is no reasonable action for the left 
part of the button. So for the new document toolbar button, you'd use 
TP_SPLITBUTTON and TP_SPLITBUTTONDROPDOWN, since clicking the left part (with 
the icon) would result in a new document directly, while clicking the right 
part (with the downward arrow) would open a menu. In the attachment, it is 
clearly visible that the leftmost button is drawn wrongly, it should be styled 
like the rightmost button. The middle button is styled correctly, assuming 
that no reasonable separate action for the left part is available.
Comment 3 kpalagin 2007-12-16 07:58:25 UTC
shinobu_maehara,
difference in appearence of "New document" vs "Arrowheads" can be explained by 
difference in behavior - "New document" button has default choice (which you 
can override with TP_SPLITBUTTONDROPDOWN). On the other hand, "Arrowheads" 
button apparently has no default choice thus it's _only_ action is to display 
dropdown list.
As I can't find "Alignment" button I can't comment on that.
Comment 4 Edwin Sharp 2013-02-27 19:10:30 UTC
Draw: New button has a vertical line between icon and arrow, Arrow style button has no vertical line between icon and arrow.
Checked using Rev. 1327774.