Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Drop-down combo is too narrow!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Dec 12 2007 :  10:24:13 AM  Show Profile  Reply with Quote
I type the following in VS 2008 (VAX 1623):

TVN_<ctrl+space>

Now a combo box appears with all strings matching "TVN_". The problem is that it is too narrow to display most of the strings. This is extremely annoying!

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 13 2007 :  3:02:05 PM  Show Profile  Reply with Quote
It is fine on my system, VS2008, VA 1624, winXP SP2.


zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Dec 13 2007 :  3:46:28 PM  Show Profile  Reply with Quote
Ok, so the question is how it is possible that it fails on my system. I'll try to make a sample project that always fails.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 14 2007 :  09:37:48 AM  Show Profile  Reply with Quote
How badly does it fail on your system?
This might be down to the IDE settings, perhaps the fonts you have set? Or perhaps the fonts you have set in windows. Are you using a custom theme in windows?

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Dec 14 2007 :  1:17:21 PM  Show Profile  Reply with Quote
No theme in Windows. Classic ftw, high five! No special font. I just installed VS 2008 (on top of 2003 and 2005) and began coding. It happens like 90% of the time... :(

#pragma once

class CMyFrame : public CMDIChildWnd
{
TVN|
// ctrl+space here yields a narrow drop-down! :(
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 15 2007 :  11:41:09 AM  Show Profile  Reply with Quote
90% of the time... Have you seen any form of pattern to this? I am wondering what might be triggering this.

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Dec 19 2007 :  03:59:57 AM  Show Profile  Reply with Quote
I really don't know. It happens all the time. Though, I do know where the width comes from:

1) I type TVN_ and a list is shown. The width of this drop-down is X pixels.
2) I press Ctrl+Space and the list is re-populated with many more items. The width is still X pixels + scrollbar!
Go to Top of Page

gmit
Whole Tomato Software

Croatia
90 Posts

Posted - Dec 19 2007 :  04:02:48 AM  Show Profile  Reply with Quote
Do you have large fonts (higher DPI setting)?
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Dec 19 2007 :  09:09:17 AM  Show Profile  Reply with Quote
XP SP2 + VS2008 + VAX2064.
Windows Classic Style, Font size = Normal. All "Visual Effects" disabled!
Go to Top of Page

gmit
Whole Tomato Software

Croatia
90 Posts

Posted - Dec 19 2007 :  09:21:40 AM  Show Profile  Reply with Quote
Sorry if I bore you, but, please check this (there are two font options with similar labels, but different meaning):

Go to Display Properties, Settings, Advanced, General and there you have 'DPI setting' - is it normal or large?


Tnx.
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Dec 19 2007 :  6:20:05 PM  Show Profile  Reply with Quote
Not back to work until January, but since I have an LCD with proper resolution I find it very unlikely that I would have anything else than 96 DPI.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Dec 20 2007 :  11:20:08 AM  Show Profile  Reply with Quote
We will have to look at this when you return to work. I suspect the problem is related to some setting somewhere, perhaps an IDE font setting, but this is just a guess to be honest.

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Jan 18 2008 :  02:58:37 AM  Show Profile  Reply with Quote
VS 2008. Font is Courier New, size 10. DPI setting = 96.
The bug is reproducible on this computer...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 19 2008 :  2:27:49 PM  Show Profile  Reply with Quote
When this listbox appears, are the items in it coloured by VA, or are they all black?

This assumes you have told VA to apply syntax colouring to listboxes.

Is the listbox always to narrow? Or does this only happen some of the time? I have managed to reproduce this once or twice, but it is only happening some of the time, apparently at random. For me the narrow listbox does not have any syntax highlighting applied to it.

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Jan 20 2008 :  12:27:15 PM  Show Profile  Reply with Quote
Managed to get this behavior on another computer too, but not that often. However, this seems to screw things up a little:

WM_<ctrl+enter>

For instance, WM_CHOOSEFONT_GETLOGFONT is not visible since it is too long. In this case, syntax highlighting is applied.
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Jan 21 2008 :  09:50:02 AM  Show Profile  Reply with Quote
On my primary computer, TVN_<ctrl+enter> always yields a too narrow drop-down -- without syntax coloring.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 21 2008 :  4:23:41 PM  Show Profile  Reply with Quote
On your primary computer, where you see this all the time, can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up. I can then import your settings here, and see if they make any difference.

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 22 2008 :  1:07:35 PM  Show Profile  Reply with Quote
I have the files, thank you for these:

case=11689

Unfortunately they have not helped. I have tried this 20 or 30 times, with all of your settings imported, on a winXP machine with VS2008, and the listbox was the correct width every single time.

Are you aware of any differences between your two machines that might explain this?

Looking at your "WM_" example, when I type "WM_" and press CTRL-SPACE to get a listbox, and then continue typing:

WM_choo|

Using your settings, as the listbox is filtered it is changing size. Its width changes to always fit the longest word showing. Are you seeing a similar behaviour as you type?

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Jan 23 2008 :  02:35:18 AM  Show Profile  Reply with Quote
Hmm, it doesn't react at all!

TVN_
That shows a correctly formed list. Pressing <ctrl+space> at this time causes the "too narrow"-list to be shown. If I start typing "BEGIN" or similar, the list stays the same and I get no further suggestions.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 23 2008 :  3:56:18 PM  Show Profile  Reply with Quote
What happens if you type "END", so you have "TVN_END"?

Since this is at the bottom of the listbox any effects should be a lot more obvious.

Do you have any other plugin's installed on this machine?
Any software that is on this machine and not the other? I am looking for any clues as to what is going on here.

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Jan 30 2008 :  05:18:53 AM  Show Profile  Reply with Quote
No, that's not the key. This list contains ALL symbols, and it seems VAX acronyms are completely dead. I can type whatever I like -- the drop-down list does not change as soon as the letters do not match:

TVN_<ctrl+enter>T
that narrows it down... but then:
TVN_<ctrl+enter>TypeWhateverYouLikeHere
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jan 30 2008 :  6:01:27 PM  Show Profile  Reply with Quote
Clearly something is going wrong here. Can you please enable VA logging, reproduce the problem where the listbox is not updating, and also take a couple of screen shots of the listbox, so we can see what is going wrong, and send the files to me please?

Please close the IDE after reproducing the problem, this stops the log files from getting to large.

This FAQ gives details of turning on VA's logging, and sending us the log files

http://docs.wholetomato.com?W305

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Feb 01 2008 :  10:41:30 AM  Show Profile  Reply with Quote
Until I get time to create the logs, I believe you can get to this state easily if you press <Ctrl+Space> twice in a row. I believe that is correct behavior (or?), but at least this shows the state to which I manage to take an unwanted shortcut. I'll get back to you regardin this.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 01 2008 :  2:58:23 PM  Show Profile  Reply with Quote
I need to press more than twice, but I am able to reproduce the narrow listbox quite easily:

case=12172

Still no idea why you get it all of the time though.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000