16 Jun 2011 7:37 AM #1
[EXTJSIV-2565] [4.0.2+] toolbar/ menu issues
Ext version tested:
- Ext 4.0.2 & 4.0.2a
- only default ext-all.css
- FF3 (firebug 1.6.2 installed)
- FF4.0.1 (firebug 1.7.2)
- WinXP Pro
- Issue #1: Basic toolbar example - when hovering over other items after clicking on 1 button the expand of the menu is 1 behind where the mouse is.
- Issue #2: The expanded menu list isn't aligned correctly the first time to a 't-b?' menuAlign/defaultAlign. Using a custom Ext.menu.Menu which allows hbox and vbox layouts. Only custom css used was to place a custom image instead of text but can recreate it using text only.
- Issue #3: when setting an element width in the config of a menu item it is overwritten to the default minWidth set in Ext.menu.Menu.
16 Jun 2011 8:08 AM #2
16 Jun 2011 8:25 AM #3
I'm slowly editing this post with all of my debugging and findings.
The go advance button still doesn't work for me.
So will post screen shots of each issue in separate reply posts.
20 Jun 2011 7:36 AM #4
20 Jun 2011 11:53 AM #5
Issue #3 is cause I have no text set and was using css images to set the width and height so the minWidth got set even if the config had a width or not.
I'm going through this in more detail right now and will update this thread with the results.
21 Jun 2011 5:40 AM #6
Thanks for reporting this. For # 2, do you have a code snippet I can use to test this with?
21 Jun 2011 5:50 AM #7
Let me wrap up some test code for you. I've been going through the code.
I customized the Ext.menu.Menu source to handle vertical: false kinda like the toolbars does.
I've been talking with Mitchell Simoens a few about this on my other forum user account.
So if you want more details just email me.
21 Jun 2011 8:33 AM #8
Thanks Ron. I went ahead and created ticket EXTJSIV-2565 for issue #1 since I was able to reproduce that.
Thanks again for reporting this.
21 Jun 2011 9:30 AM #9
Thanks Jack will separate tickets be opened for each issue if they are bugs?
Also sent you a pm via my other forum username.
22 Jun 2011 8:15 AM #10
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Issue #2 has been noticed and is being taken care of.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.