I have a user showing some odd behavior on wx.Menu instance in Vista. A wx.Menu is displayed when a user clicks on a TaskbarIcon instance in the systray (see the attached image). Any ideas on what is going on here? I’m using wxPython 2.9.3.1.
Sorry, I'm not sure what it is that I am looking at, nor what is the actual problem. Please be more specific, and a small,runnable sample would be helpful too. MakingSampleApps - wxPyWiki
···
On 5/10/12 11:52 AM, Rish wrote:
Hi all,
I have a user showing some odd behavior on wx.Menu instance in Vista. A
wx.Menu is displayed when a user clicks on a TaskbarIcon instance in the
systray (see the attached image). Any ideas on what is going on here?
I'm using wxPython 2.9.3.1.
Thanks for the reply Robin and apologies for the lack of clarity.
Unfortunately I cannot provide a sample as I believe this is an issue that is entirely dependent on someone’s platform (i.e. Vista). In other words, I cannot reproduce this myself, and I have a high suspicion that even if you did have Vista and ran the same code you would not be able to reproduce it either.
What is happening in that image is that there is a wx.Menu that has wx.MenuItems in it. This menu is shown when a user clicks on the TaskbarIcon in the systray on Vista. Normally this works (for XP, Vista in most cases and Windows 7) and the menu is displayed properly with the menu items.
However, some users who are on Vista (there must be something special about their Vista instance/version) see the image I included previously (i.e. no menu items in the menu, just two arrows) instead of the normal menu.
I was wondering if anyone has ever seen this issue before in regards to Vista, where a normal menu with menu items gets completely replaced by a menu with an up and down arrow only instead. I’m still trying to get more information from users (it very well could be an issue with their graphics driver), but thought I’d ask the community if anyone has seen such an anomaly.
···
On Mon, May 14, 2012 at 9:35 AM, Robin Dunn robin@alldunn.com wrote:
On 5/10/12 11:52 AM, Rish wrote:
Hi all,
I have a user showing some odd behavior on wx.Menu instance in Vista. A
wx.Menu is displayed when a user clicks on a TaskbarIcon instance in the
systray (see the attached image). Any ideas on what is going on here?
I’m using wxPython 2.9.3.1.
Sorry, I’m not sure what it is that I am looking at, nor what is the actual problem. Please be more specific, and a small,runnable sample would be helpful too. http://wiki.wxpython.org/MakingSampleApps
It turns out that on Vista, when the DPI is set to anything other than the value of 92, the wx.MenuItems do not show up properly. I’ll write up as script that demonstrates this behavior (I believe a simple wx.Menu/wx.MenuItem script in conjunction with wx.TaskbarIcon will be enough to demonstrate) and post it shortly.
Anyone ever heard of issues with wx.Menu and DPIs other than 92 on Windows Vista?
Thanks for the reply Robin and apologies for the lack of clarity.
Unfortunately I cannot provide a sample as I believe this is an issue that is entirely dependent on someone’s platform (i.e. Vista). In other words, I cannot reproduce this myself, and I have a high suspicion that even if you did have Vista and ran the same code you would not be able to reproduce it either.
What is happening in that image is that there is a wx.Menu that has wx.MenuItems in it. This menu is shown when a user clicks on the TaskbarIcon in the systray on Vista. Normally this works (for XP, Vista in most cases and Windows 7) and the menu is displayed properly with the menu items.
However, some users who are on Vista (there must be something special about their Vista instance/version) see the image I included previously (i.e. no menu items in the menu, just two arrows) instead of the normal menu.
I was wondering if anyone has ever seen this issue before in regards to Vista, where a normal menu with menu items gets completely replaced by a menu with an up and down arrow only instead. I’m still trying to get more information from users (it very well could be an issue with their graphics driver), but thought I’d ask the community if anyone has seen such an anomaly.
On Mon, May 14, 2012 at 9:35 AM, Robin Dunn robin@alldunn.com wrote:
On 5/10/12 11:52 AM, Rish wrote:
Hi all,
I have a user showing some odd behavior on wx.Menu instance in Vista. A
wx.Menu is displayed when a user clicks on a TaskbarIcon instance in the
systray (see the attached image). Any ideas on what is going on here?
I’m using wxPython 2.9.3.1.
Sorry, I’m not sure what it is that I am looking at, nor what is the actual problem. Please be more specific, and a small,runnable sample would be helpful too. http://wiki.wxpython.org/MakingSampleApps