Author |
Topic |
|
HBTeun
Senior Member
33 Posts |
|
HBTeun
Senior Member
33 Posts |
Posted - Jun 17 2010 : 03:57:29 AM
|
Also found that you get a listbox when you typed (correct and very welcome behaviour) <Style TargetType=
but when you choose in that listbox an xml namespace for example x: the list box won't open.
I'm using version: 1827 |
Edited by - HBTeun on Jun 17 2010 03:59:11 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jun 21 2010 : 12:40:54 PM
|
Which IDE are you using?
Testing in VS2010 I am not getting any listbox at all when typing a dot after "ToolTipService". I have tried this both with VA 1827 and on a clean machine, with no VA installed.
For the second bug, the line:
<Style TargetType=
I am not sure what I am supposed to be doing here. When I select "TargetType" from the listbox I end up with the line:
<Style TargetType=""
the caret between the double quotes, and no listbox. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jun 22 2010 : 06:25:30 AM
|
I'm using VS2010 Pro.
first:
Have you pressed the . after ToolTipService?
I will try it at an other PC tonight, maybe it's settings (although if I turn off VAX it works correct).
second:
I've added an extra namespace (xmlns:sdk=...), to be able to do this you have to add the System.Windows.Controls.dll to the references.
this is what happens when no namespace is used (correct behaviour):
If you type sdk: between the quotes there should be a new listbox opening with the options from the namespace. When you press escape and then force the listbox open it works correct.
The behaviour looks like case=42354 that I reported a couple of months ago. |
Edited by - HBTeun on Jun 22 2010 06:30:55 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jun 22 2010 : 09:49:40 AM
|
On two different machines, one with and one without VA installed, I am never seeing listboxes inside / after double quotes. Once I am into a string, listboxes stop happening. Listboxes are appearing quite readily outside of strings for me, on both machines.
So far I cannot see any obvious IDE settings that might effect this.
I have tried this on a default C# Silverlight application as well, so bypassing anything "odd" about the test code you have posted here.
Do you have any other IDE extensions installed?
Do you have any idea why you are getting listboxes inside strings and I am not? |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jun 23 2010 : 08:59:34 AM
|
I do have Visual Studio 2010 Pro Power Tools installed but when I disable it in extension manager and restart. Nothing changes for these issues.
Could you try it in a new WPF application (it's the same editor for XAML files and I have the same bugs there)? Because maybe VS2010 has not installed the SDK version of Silverlight and is this the reason you don't get a listbox.
Btw I work using .NET 4 and Silverlight 4 and I thought the VS2010 installation only installs .Net 4 and Silverliht 3 SDK.
|
Edited by - HBTeun on Jun 23 2010 09:00:26 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jun 23 2010 : 3:56:35 PM
|
As you say, VS2010 does not install Silverlight 4. I have now installed Silverlight 4 SDK, and created a new C# Silverlight 4 application.
I am now getting listboxes inside strings, but no sign of any problems with VA 1827.
Can you please export your settings, and send them to me, along with a zip of your test XAML solution. Maybe with your solution and settings I will be able to reproduce.
Which OS are you using?
VA and IDE settings are exported via:
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. |
zen is the art of being at one with the two'ness |
Edited by - feline on Jun 23 2010 3:57:11 PM |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jun 24 2010 : 03:23:19 AM
|
I'm using Vista 32bit with all updates.
And I've send the files. |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jun 24 2010 : 1:42:30 PM
|
I have the files, thank you for this:
case=46331
I have imported both your VA and IDE settings into a winXP test machine, and so far I cannot reproduce the problem. It is possible I am running the wrong test.
I have opened the "MainPage.xaml" file from the project SilverlightApplication3. I went to the end of line 16, pressed enter to make a new line, and then typed:
<Setter Property="|"
This appears to be the right test, based on the screen shots you have posted, but there is no sign of any listbox. I am getting listboxes sometimes inside strings. Am I performing the right test, in the right file?
Now installing Silverlight 4 on a Vista 32bit test machine to see if this makes any difference. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jun 25 2010 : 05:39:42 AM
|
That's the correct test. I noticed I mad some mistakes inside the sample. My apologies for that.
Change line 15 from: <Style TargetType=""
To: <Style TargetType="Grid"
Then try again to place: <Setter Property="" and inside the quotes force open the listbox (ctrl+space). |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jun 25 2010 : 8:07:34 PM
|
I have managed to reproduce the listbox problem under Vista after importing your IDE settings. So now I just need to find out what it is about your settings that is triggering this problem. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jun 28 2010 : 07:38:38 AM
|
Have you found anything? |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jun 28 2010 : 3:19:23 PM
|
I have found something, but I don't know what that something is. I can reproduce the problem here, but the problem is very fragile. If I restart VS2010 then the problem goes away, and it is hard to get it back again.
While the problem is happening, if I edit VA's options then listboxes in this XAML file become "random" and difficult to use and work with. This extra problem also goes away after an IDE restart.
It is almost as if there is some form of corruption in either your IDE or VA settings, since somehow the settings or behaviour is changing after an IDE restart.
I have just re-exported the IDE and VA settings from my test machine, and emailed them to you via case=46331. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jul 02 2010 : 10:02:39 AM
|
I am seeing a different effect here. Testing VS2010 on a Vista 32 bit machine, and using the settings I emailed you, and your test solution with the missing "Grid" added on line 15, I cannot reproduce this problem.
This namespaces line already exists, at line 7. So I am loading VS2010, loading the solution, and going to line 7. I then delete "sdk" from the end of the line, giving me the incomplete line:
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/|"
when I now press CTRL-SPACE I do not get any form of listbox, instead the word "toolkit" is automatically inserted, leaving me with the line:
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
If you do the same test in the sample project you sent me, are you seeing this, or are you actually seeing a listbox? This suggests there may be a key difference in the configuration of our two machines. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jul 08 2010 : 06:00:26 AM
|
Sorry again for the long wait.
In the Sample project I'm indeed seeing the same effect. Although there is still an listbox opened. And if I choose an item from this list it gets pasted behind the line, like what I described in my last reply.
That it inserts "toolkit" automatically is not correct either. I would expect to be able to choose between "sdk" and "toolkit". |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jul 08 2010 : 11:54:52 AM
|
In the sample project, how, exactly, are you able to reproduce a listbox appearing and then placing the full text at the end of the line?
Currently I am unable to reproduce any listbox problems in the sample project. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jul 09 2010 : 03:53:08 AM
|
I have to wait till the VAX bar is loaded (this takes a focus change, such as switching to different page and back again).
Then I force open the listbox by pressing ctrl+space when the caret is next to the slash "\\" and the listbox is opened after "toolkit" is added. |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jul 13 2010 : 4:59:49 PM
|
Waiting for the VA context and definition fields was the missing step. I have put in a bug report for them taking a while to appear:
case=47217
I am seeing the same thing you are now. Tooltip being inserted directly, I am seeing this same effect with VA disabled.
I have tried disabling VA via the menu item:
VAssistX -> Enable/Disable Visual Assist X
and also stopping VA from loading by disabling it in:
IDE tools menu -> Extension Manager...
and restarting the IDE. I am not sure if this is an IDE problem, or a solution specific problem, but "tooltip" being inserted directly is not a VA problem.
The listbox, when "toolkit" is inserted by the IDE the caret is jumping to after the closing double quote, which is then where VA is trying to insert the item you have selected from the listbox. |
zen is the art of being at one with the two'ness |
|
|
HBTeun
Senior Member
33 Posts |
Posted - Jul 16 2010 : 05:19:02 AM
|
I just thought the automatically inserting of "toolkit" is probably intended behaviour of VS2010.
The other option ("sdk") is already defined so it only has 1 option left and inserts it. What goes wrong is that the whole line is added again. |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jul 16 2010 : 11:36:14 AM
|
The listbox appearing when there is no need and doubling the line is:
case=47392
When you are seeing extra, unwanted text inserted into your main solution, is it following this same pattern? Text is inserted directly on CTRL-SPACE, and then a listbox appears? |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 16 2011 : 1:58:43 PM
|
case=47217 is fixed in build 1862 |
|
|
|
Topic |
|