Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> Errors and Warnings flicker
 

Pages: 1
Designer
Errors and Warnings flicker
Page:1/1 

  Print all messages in this thread  
Poster Message
Puser
User



Location:

Joined on:
20-Sep-2012 14:40:04
Posted:
206 posts
# Posted on: 22-Nov-2019 09:51:56.  
I have many warnings in the designer which I ignore because it has to do with differences in mappings of Access and Sql, which I wont go into, it does not matter.
The thing is, when I set the toggle to show these warnings, and I make a change in a field in an entity, the validation runs. Now the screen belows flickers for a few seconds. When there are less items (when the toggle is to hide warnings) its fine.

I had this once too in my app. I think it has to do with an ObservableCollection that is filled one by one, or with the 'wrong' AddRange method which triggers change notifications pér item. You could try to create a new List first and the new up an ObservableCollection with the new list. But then the whole use of ObservableCollection might be useless and a normal List would suffice. As long as the DataGrid/Treelist? gets its notification that the list changed.
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38090 posts
# Posted on: 22-Nov-2019 10:54:52.  
I think you're right wrt the events that cause this. We have several 'throttle' objects in place in the designer where they collect events that are the same (like 'IsChanged') and would result in a repaint over and over again, and we'll see if we need one here too.

The validation sends messages to the message handler which raises the event that the set has changed, so we can't bundle things there, but at the display area we can perhaps change things a bit.


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Puser
User



Location:

Joined on:
20-Sep-2012 14:40:04
Posted:
206 posts
# Posted on: 22-Nov-2019 15:34:32.  
great!
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38090 posts
# Posted on: 22-Nov-2019 16:20:01.  
We'll see if we can fix it in v5.6 next week, otherwise we'll postpone it till v5.7, but I suspect it's not that hard to do.

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Puser
User



Location:

Joined on:
20-Sep-2012 14:40:04
Posted:
206 posts
# Posted on: 22-Nov-2019 16:21:00.  
v5.7 would suffice. I wont go installing newer versions in the coming couple of months.
  Top
AHenry
User



Location:

Joined on:
30-Jan-2013 20:34:22
Posted:
15 posts
# Posted on: 26-May-2020 21:00:06.  
I ran into this trying to open an old project with a couple thousand warnings in 5.6.2. It was pretty much impossible to correct things in the editor while the warning list is shown.

  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14639 posts
# Posted on: 27-May-2020 00:07:30.  
Please upgrade to v.5.7, this has been fixed in it.
  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.