« first day (727 days earlier)      last day (4213 days later) » 

10:00 AM
0
Q: Why doesn't my submit button submit the form?

MartijnMy form isn't always submitted when I hit the submit button. On my form I have one submit button. When I first hit the button, the form will submit. But when there's a validation error, the error is shown. But when I fix that error and press the submit button again, the form is not submitted. Th...

who o who does know the answer... :)
 
i'll have to look into that
non paralel programming has its limits...
ok well the stackPanel is not set by a style T-T
and i have trouble seeing my screen, bllod in my eyes...
your first hint was a trap
 
well we can't stop now - the wall must die!
 
aggree
 
@Sisyphe may be the virtual to non-virtual is an expected behaviour under some conditions? O.o
did you try checking that out?
 
yup
it could be
there are some code that turns it back in the default template
but i've overriden it
in the original treeviewstyle, there is a trigger
 
10:04 AM
ok so somehow the override is getting overridden then?
morning @LewsTherin
 
that sets the ItemsPanel to VirtualizaingStackPanel when setting the attached property IsVirtualizing to true
Hey Lews
 
Hello
 
@Maverick : obvisouly yes !
but i cant find the culprit T-T
 
@KyleTrauberman Gotcha, thanks :P
 
10:05 AM
well if thats the only way you set VSP, then perhaps we should trace IsVirtualizing?
 
already done: always at true
plus it would change much as i removed the trigger that depends on it
you know the most crazy part ?
i put a breakpoint in the StakPanel constructor
and it's never called
 
static constructor?
 
no
basic panel constructor
in System.Windows.Controls.Panel
 
i've never had to dive into this level of debugging >.<
 
well WPF have a lot of issues
 
10:08 AM
heres an idea
 
i came accross some very weird stuffs these last 3 years
 
change your VSP to WrapPanel
just set your itempanel to wrappanel instead of doing it with trigger
and see if you can get stack panel to kick in
 
i dont do it with a trigger actually, it a simple setter in a style
I'll try taht immediately
hmmm
I guess that will be hard
it's a bug in the virtualization process
wrap panel being not virtualized
 
its possible
 
i dont think i'll be able to have the issue
 
10:10 AM
well yea thats why a different panel
 
yeah i'll try anyway ;)
 
its different enough that you can tell visually and possibly establish a pattern as to when it switches
 
yup
that could hep ^^
 
yup we are in bruteforce realm
try all combos - even the illogical ones :)
unless the gurus of WPF wake up in here :)
 
^^
hmmm
as crazy as it sounds
you were right
ItemsPresenter panel have been switched
to a StackPanel
 
10:16 AM
so we know its not a bug
 
yeah
 
something in your code is doing it - thats a good thing!
 
yeah it is
i'd rather be the naughty one than haveing to deal with a framework bug
 
well unfortunately i don't have many ideas now. the basic idea is same, we just need to trace the origin of that stackpanel
 
yeah exactly
 
10:17 AM
i guess you have to break it enough times to notice a pattern?
 
actually your idea helped me
 
my approach would still be to search through my code (and xaml) for all references stackpanel
 
well i think it's easier to breka it with the wrappanel
without virtualization, its clearer
that's exactly what i'm doing right now :D
 
and I'd bruteforce it out by changing one stackpanel at a time
 
hahaha
that's brutal indeed
i'll put x:Name on each StackPanels
 
10:19 AM
so anywhere that you set a stackpanel - add a property of say background colour - choose a hideous colour!
 
that seems funnier ^^
 
then when you finally hit the colour u know exactly which style broke it
well debugging this sort of thing is bad enough - this gives me a AHA!! moment :)
 
:D
 
breakpoint debugging is a lot slower
 
i know EXACTLY what you mean :)
 
10:21 AM
my colour influence also comes from my design professor
he had the worst sense of colour I've ever seen in anybody
his favourite combo was bright Red with Bright Green text on it
 
oO
 
i think it was exactly #ff0000 with #00ff00 as foreground
 
that's...
 
i know - MY EYES!
 
what i'm gonna use
:D
 
10:22 AM
that semester was hard!
 
^^
ok well
bad news...
i have no stackPanl in my code
(i was fearing that...)
 
in xaml?
no stackpanel at all?
 
neither in xaml nor in cs
not in that view
 
did you do a project wide search for word StackPanel?
 
that's what i did
solution wide
 
10:24 AM
O.o
well its coming from somewhere! and treeview doesn't have stackpanel as its native panel if i remember correctly
 
yeah
native is VirtualizaingStackPanel
 
what happens if you drop ItemsPanel configuration completely?
 
lemme check
 
no custom template applies it - and no code to do that locally
 
What are you doing? :O
 
10:27 AM
bruteforcing his issue :)
 
do you want me to drop the ItemsControl.ItemsPanel only or the full Style ?
trying to solve a very weird issue
 
his treeview panel changes to stackpanel midway during the program
regardless of what panel is set up
we're down to bruteforcing the issue out but feel free to take reigns :)
@Sisyphe well thats a good question. lets drop complete template and only set itemspanel on treeview itself
leave it to wrap panel
 
ok i'll try that
 
if you still manage to get stackpanel then you have a style overriding you
though that wouldn't make sense! local setting has the highest property (if memory serves)
 
it should be so yes
 
10:32 AM
no aparently two other things have higher property
a storyboard can override a local property and property coercion
 
ho right
i have neither
i removed the full style
 
well then you shouldn't get stackpanel now
 
well if i do
that will be bad news
 
if you still manage then your setting stackpanel somewhere explicitly on tree
 
testing it right now
application is slow to launch
 
10:33 AM
np
we are kinda ripping it apart here :D
 
yeah
 
I can't imagine what it looks like right now
 
:D
 
its like platic surgery :D
 
its ugly :D
 
10:34 AM
until we're done with it!
then its a pretty face ;)
 
it's like it saying "pleeaaaaaas... kill meeee..."
 
lol.. hang in there!! -- shh
 
:D
(had to copile twice)
(compile)
(running)
crossing fingers
 
I'm fairly certain you won't break it now :)
 
control not visible T-T
 
10:39 AM
O.o
it should be in its default configuration no?
 
my fault
commenting fulls tyle was too hardcare
ItemSource was set in the style
 
A!
 
I'll only comment template override
yeah
stupid me
 
nah happens.. i've been there :)
at least once in every application where i have to bang my head against the wall
 
lol :D
 
10:42 AM
i like to think of it like i play my games
 
3 years on this module, i cant wait to see it released...
 
wall is the boss... drop it and you level up!
 
that's a good way to see things
i'll try that
 
<-- hardcore gamer
 
by the way
I 'appreciate
 
10:43 AM
theres a +1 in my head when i do that :)
 
<-- hardcore gamer too ^^
thanks a lot for your help dude
 
do you see the +1 going up and fading away in ur head? :D
you're welcome! i just hope you figure it out
 
hell yeah !
yeah
 
ok then yea, hardcore! XD
 
for the sake of PowerDesigner
I must not fail
 
10:44 AM
have you had enough caffeine?
 
3rd coffee in stomach : check
 
also how long have you been staring at this? sometimes obvious things can't be seen if you've been at it for too long
 
yeah i couldnt agree more on that
i've benn on this for one day and a half
but i have no choice
 
release pressure eh?
 
I must resolve it now ...
i'd like to :/
 
10:46 AM
thankfully i normally have the luxury to switch projects when i'm stuck on something like this
 
I usually have it too
but well... beta is in two weeks
and this causes a major issue
 
my boss is a really nice guy - i just go upto him and say I can't see things right, i need a break.. can I switch to X and he'd be like.. yea sure, take your time :)
yea i understand
 
thats good :)
 
i was on this project six months back.. a year and half spent on it - when it finally integrated it was crawling
 
crawling ?
 
10:48 AM
i kept telling them it wasn't the backend but they kept blaming it on me (i was the backend developer)
 
(sorry my english is not so good ^^ )
 
yea.. a page load of 10 seconds
(really slow)
 
ho right
not good :/
 
after the application loaded (and had been in a users use for a few days) it would take a minute to load
that made no sense to me because all my operations were happening in under 50ms
 
Great, my lead isn't here today. I may/may not be given a project by the VP before noon. The only thing actually on my plate is finishing the knockoutjs tutorials. Looks like the company is paying me to work on personal projects today.
 
10:49 AM
taht must have been frustrating :/
 
hey @Billdr
 
Hoooooowwwww-dy
 
oh yea.. 1.5 years about to die on me
 
hey billdr
 
because of frontend developer
 
10:49 AM
How's it going Sysyphe
 
how did it end ?
 
anyways i told them to give me the frontend code
i spent two days on it and brought it down to 15 seconds full load time
thats without me knowing any asp.net tricks
 
wow !
 
that dev wasn't LINQ aware
so say u had 100 documents
 
great job :D
@billdr : i'm about to seppuku why ? :D
 
10:51 AM
he'd call me service - get 100 ids - then call my service to pick up details related to all of them - then pick one out
 
You're from .jp?
 
so really my service was servicing 10,000 requests for 100 real requests
3
 
Also, don't they fine the family in cases of seppuku these days?
 
no but i think it's a cool way to say goodbye :P
 
erm. I'm not sure that word means what you think it means.
 
10:52 AM
@maverick : lol :D
@Billdr : it was a joke
 
it was not funny at the time
 
i actually dont plan to commit suicide, even if WPF is trying to kill me
 
i felt like bashing my head and then shooting the other dev
 
@maverick : I have some collegue that does that kind of things
ofent drives me crazy
 
hello fellow developers
 
10:54 AM
he had asked me how to do linq query for my service - i had given him an example query - he had used it as it is
 
hey Rob
 
Hey there Rob.
 
hey @RobAngelier
 
@maverick : NO WAY
 
Hey guys! everything fine?
 
10:54 AM
yea so thats how i was getting the blame
anyways, have you broken your program yet?
also two masters are awake now :)
 
ok
 
{ mealName: "Ultimate (whole zebra)", price: 290 }

WTF knockout js?
 
lol
 
well i have the same issue
 
10:55 AM
oh I explored Meteor and AngularJS yesterday!
 
i just cant understand where the hell that StackPanl is coming from...
 
i'm thinking when i switch to web development, I'm gonna go with those two!
 
I like web dev
 
ok so to be clear
 
...though just having one device with 0 latency to deal with sounds nice.
 
10:56 AM
you have no control template left for your treeview, you have a wrappanel for your itempanel and you're still managing to get a stackpanel mid way?
 
"Caching? Pft. I'll just load it from the file."
 
yeap Maverick
 
guys you wanna take a stab at this?
 
maybe the control template of treeViewItem can cause the issue...
I'm really confused on this one...
 
well sadly not only is this problem hard to figure, the fact that we're sailing blind makes it a lot harder >.<
 
10:58 AM
clearly
 
well I'm kinda out of ideas to try now :(
if I were you, I'd start a new project. Replicate the TreeView part in there and import code slowly and see when I break it
 

« first day (727 days earlier)      last day (4213 days later) »