Re : Selector improvements? [was Gramps very slow loading the select person screen in census forms w/ 4.2.5]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re : Selector improvements? [was Gramps very slow loading the select person screen in census forms w/ 4.2.5]

jerome
To have siblings of the active person is also useful.
I will include them on the selection.

Rich,

Did you imported your 17565 individuals?
Importation might pass over the filter as date
of the importation will be used... So, like
a recent edition!

Maybe time based filter rules should be optional on Selectors?

J.

--------------------------------------------
En date de : Ven 6.1.17, jerome <[hidden email]> a écrit :

 Objet: Selector improvements? [was Gramps very slow loading the select person screen in census forms w/ 4.2.5]
 À: "Dave Scheipers" <[hidden email]>, "Rich" <[hidden email]>
 Cc: "Gramps users" <[hidden email]>
 Date: Vendredi 6 janvier 2017, 11h48
 
 Maybe all this stuff should move to
 local_init() (User eXperience and loaded values)?
 
 Anyway, the updated archive should now include quick
 support
 for spouse, parents and children of the active person
 on person selector[1]. I will try to include this too on the
 selector
 called on reports. I suppose some specific functions are
 designed
 for that, but this could be polished and refactored, later.
 
 
 [1] https://github.com/romjerome/gramps_cryptic_rebase/commits/gep-041-new-selector
 
 
 --------------------------------------------
 En date de : Ven 6.1.17, jerome <[hidden email]>
 a écrit :
 
  Objet: Re: [Gramps-users] Re : Gramps very slow loading the
 select person screen in census forms w/ 4.2.5.
  À: "Dave Scheipers" <[hidden email]>,
 "Rich" <[hidden email]>
  Cc: "Gramps users" <[hidden email]>
  Date: Vendredi 6 janvier 2017, 10h21
 
  Maybe I need to add some
  relationships filter rules on current filtered selection
 for
  person selector? Might be useful during a census or any
  event edition via Form addon!
 
  People in history (gramps session) will be included but on
  the first use the filtered list
  is maybe too limited (bookmarked people and active person,
  like on reports)?
 
  It should not be too difficult to also include either
  members of the related family(ies)
  or only children, spouse and parents.
 
 
  Jérôme
 
  --------------------------------------------
  En date de : Jeu 5.1.17, Rich <[hidden email]>
  a écrit :
 
   Objet: Re: [Gramps-users] Re : Gramps very slow
 loading the
  select person screen in census forms w/ 4.2.5.
   À: "jerome" <[hidden email]>,
  "Dave Scheipers" <[hidden email]>
   Cc: "Gramps users" <[hidden email]>
   Date: Jeudi 5 janvier 2017, 22h10
  
  
       OK, I now have
   the form gramplet. I
         will do a little testing and
  get back to you.
  
         Rich
  
         
  
         On 01/05/2017 01:58 PM,
  jerome wrote:
  
       
       
         Oh, yes, you are right
  'Form' addon is
   missing for the next major branch!
  
   https://github.com/gramps-project/addons-source
  
   As solution, you can try to copy your files (or
 directory)
   from:
   $HOME/.gramps/plugins/gramps42/Form
      to
   $HOME/.gramps/plugins/gramps50/Form
  
   then change the target from "4.2" to
   "5.0" on:
   https://github.com/gramps-project/addons-source/blob/maintenance/gramps42/Form/formgramplet.gpr.py#L34
  
   Now, Form addon should be available.
  
  
   Jérôme
  
  
   --------------------------------------------
   En date de : Jeu 5.1.17, Rich <[hidden email]>
   a écrit :
  
    Objet: Re: [Gramps-users] Re : Gramps very slow
  loading the
   select person screen in census forms w/ 4.2.5.
    À: "jerome" <[hidden email]>,
   "Dave Scheipers" <[hidden email]>
    Cc: "Gramps users" <[hidden email]>
    Date: Jeudi 5 janvier 2017, 20h03
   
   
        I got it fired
    up and my backup
          imported.  I downloaded all
  gramplets and the is no
    Forms
          gramplet.  So I cannot test
  what I was doing with
    census forms. If
          you have a work around, or
  something similar I will
    try it. Have
          to run and do a honey do and
  will see what else we
   can
    test when I
          get back. 
   
          My db has 17565 individuals,
  3918 surnames
   
          Rich
   
         
   
          On 01/05/2017 04:47 AM, jerome
  wrote:
   
       
       
          Hi,
   
    Not a nice solution and still in experimentation
  state, but
    you can try
    some changes[1] against master branch!
   
    Not perfect, as methods (or choices) used are not
  always
    correct,
    so an unstable version, but it can give an overview
  of
    possible changes.
   
    Current selectors have some limits, and have a
  common
    "baseselector"
    dependency. Same for the relation between view model
  and
    selection.
    It seems that we do not use cursor on selectors?
  Also, I
   did
    not test with
    very large tables (+10 000 items).
   
    https://gramps-project.org/wiki/index.php?title=GEPS_041:_New_Selector#Test
   
   
    J.
   
    --------------------------------------------
    En date de : Mer 4.1.17, Dave Scheipers <[hidden email]>
    a écrit :
   
     Objet: Re: [Gramps-users] Re : Gramps very
  slow loading
   the
    select person screen in census forms w/ 4.2.5.
     À: "Rich" <[hidden email]>
     Cc: "Gramps users" <[hidden email]>
     Date: Mercredi 4 janvier 2017, 17h57
     
     Hi
     Rich,
     I submitted
     #9700 and you don't have to install it,
  The patch is
     part of 4.2.5. Unfortunately, even though
  I indicated that
     issue also affected the select place tree,
  the patch
     isolated the fix to the select
  Source/Citation
     tree.https://gramps-project.org/bugs/view.php?id=9700
     I put in #9814 to affect a change
     for the select place list. Not sure where
  this stands as
   an
     issue. It remains open but no one has
  taken it on to
     fix.https://gramps-project.org/bugs/view.php?id=9814
     
     #9738
     deals with the select existing person
  list. I wasn't
     aware this list was also changed in 4.2.4
  because I
   rarely,
     if ever, use this
   
  function.https://gramps-project.org/bugs/view.php?id=9738
     Dave
     
     On Wed, Jan 4, 2017 at
     11:30 AM, Rich <[hidden email]>
     wrote:
     
       
         
       
       
         The
     patch  bug9700.42.patch goes
           against two folders.
  I do not know how to do that.
   My
     previous
           experience installing
  patches is to put the patch in
     the folder of
           the target module and
  do sudo patch -p0 <
     "bug9700.42.patch"
     
           but my only thought
  is to break the patch into two
     parts, one in
           each of the target
  folders. But that doesn't
   seem
     right.
     
           Any ideas?
     
           Rich
     
           
     
           
     
           On 01/04/2017 09:38
  AM, Rich wrote:
     
         
         
           
           9738
     seems to describe my problem,
             Complains
  about the size of list rather than
     performance, but
             fixing one
  would fix the other. It refers to 9700
     which has a
             patch. I am
  going to look at that a bit and
   install
     if it looks
             good and will
  report. So it doesn't look like
   I
     need to file a
             bug report
  yet.
     
             
     
             A second more
  important issue is one I have had in
     the past.  I
             see references
  on this board to problems that do
    not
     show up for
             me.  I when I
  research a possible bug I don't
     seem to be seeing
             all the
  problems.
     
             Example:   https://gramps-project.org/
     bugs/view_all_bug_page.php
     
             If I sort by
  ID and scan down the list, 9738 and
     9700 do not
             show up! That
  keeps me from finding that a problem
     is already
             reported. What
  am I doing wrong?
     
             Also, I can
  select to monitor a bug to get emails
    on
     updates to
             bugs, but
  don't see how to say "me
     too". It might help to
             prioritize
  bugs if developers were to see how many
     people were
             effected.
     
             Thanks,
     
             Rich
     
             
     
             On 01/04/2017
  08:37 AM, Dave Scheipers wrote:
     
           
           
             
               Hi
  All,
               
     
               
               I'm
  glad that others are also having
     problems with the
             
     Place and person selectors automatically
    opening
     with the
             
     expanded tree. I'm actually surprised
  that
     so few see this
             
     as an issue.
               
     
               
               There
  are a few bug reports still active
     dealing with the
             
     issue.
               
     
               
               #9700
  saw the Source/citation fix applied to
     2.4.5
               #9738
  deals with the expanded person tree
     and
               #9814
  deals with the place tree
               
     
               
               Maybe
  if more users voiced their displeasure
     with this
             
     'enhancement' one of the programmers
     would take on the fix.
             
     And I know the programmers are busy and I
   thank
     them all for
             
     all the work they have done and continue
  to do
     making Gramps
             
     a great program.
               
     
               
               But
  this issue also shows a weakness in users
     requesting
             
     changes. Maybe some requests should not
  be
   made
     unless there
             
     is a clear need for the enhancement beyond
  one
     user asking
             
     for it. I'm still baffled why anyone
    thought
     having
             
     automatically expanded trees would be a
  good
     thing.
               
     
               
               Dave
             
             
     
               On Wed,
  Jan
     4, 2017 at 7:51 AM, J.
             
     Allen Crider <software-eng@
     cridermcdowellfamily.com>
             
     wrote:
     
             
     I
               
     believe this problem began in version
  4.2.4,
     at least I
               
     don't remember
     
               
     4.2.3 behaving the same way.  In 4.2.5,
  the
               
     source/citation selector has
     
               
     been modified to behave more like it used
   to,
     but the
               
     person and place
     
               
     selectors still load with the view fully
     expanded.  On my
               
     computer with
     
               
     over 51000 names, the person selector
  takes
     about 40
               
     seconds to load.
     
               
     That seems like a long time when trying
  to
     select all of
               
     the people for
     
               
     a census record where families of five or
    more
     people are
               
     not uncommon.
     
               
     It sometimes takes longer to select all
  of
    the
     people than
               
     to fill in
     
               
     the form data once they've been
     selected.
     
               
     
     
               
     Allen
     
               
     
     
               
     On 01/04/2017 04:07 AM, jerome wrote:
     
               
     > Hello Rich,
     
               
     >
     
               
     > This issue sounds close to bug
  report
     #9738[1]?
     
               
     >
     
               
     > In theory, this could be a problem
  on
    all
     tree views
     
               
     > (person, place, citation): there is
  one
     argument for
     
               
     > expanding (or not) the tree on
   selector.
     The question
     
               
     > could be what are we looking for
     (surname, given
               
     name)
     
               
     > - (top place level, place name) -
     (source, citation)?
     
               
     >
     
               
     > I got the same type of problem on
     GEP041[2]:
     
               
     > search or filtering? top node or
    children
     nodes into
               
     tree view?
     
               
     > focus on active object or filtering
  via
     history,
               
     filter or uistate,
     
               
     > secondary search or search bar based
  on
     active
               
     columns,
     
               
     > performance on large list, etc ...
     
               
     >
     
               
     > Also, maybe more we have columns,
  more
    we
     need time
               
     to
     
               
     > build the tree with our items...
     That's why I asked
               
     if
     
               
     > we should hide the 'Last
     Modified' column on some
               
     selectors!
     
               
     > :-o
     
               
     >
     
               
     > [1] http://www.gramps-project.org/
     bugs/view.php?id=9738
     
               
     > [2] https://gramps-project.org/wik
     i/index.php?title=GEPS_041:_
  New_Selector#Others
     
               
     >
     
               
     >
     
               
     > Jérôme
     
               
     >
     
               
     >
     
               
     > ------------------------------
     --------------
     
               
     > En date de : Mer 4.1.17, Rich <[hidden email]>
               
     a écrit :
     
               
     >
     
               
     >  Objet: [Gramps-users] Gramps very
   slow
     loading the
               
     select person screen in census forms w/
     4.2.5.
     
               
     >  À: "Gramps users" <[hidden email]
     e.net>
     
               
     >  Date: Mercredi 4 janvier 2017,
  4h52
     
               
     
                 
     >
     
                 
       >
     
                 
       >      I just upgraded from
     Gramps
     
                 
       >  4.2.3 to
     
                 
       >        4.2.5 today,
  running on
     Linux Mint
                 
       Cinnamon 18.1
     
                 
       >
     
                 
       >
     
                 
       >
     
                 
       >        I have Forms
  running in
     the bottombar.
                 
       Selecting a
     
                 
       >  census source
     
                 
       >        to populate with
  the
     persons in the
                 
       census, the first person is
     
                 
       >  already listed. Selecting
     
                 
       >        the little square
     "share" icon I get a
                 
       brief
     
                 
       >  message "building
     
                 
       >        view" then a much
     longer time than 4.2.3
                 
       before
     
                 
       >  the "select
     
                 
       >        person" screen
   comes
     up. As with 4.2.3 the
     
                 
       >  surname is expanded for
     
                 
       >        the person already
  in
   the
     list. But what I
                 
       think is
     
                 
       >  causing the
     
                 
       >        slow loading of
     "select person" is that
     
                 
       >  every surname is expanded.
     
                 
       >        In 4.2.3 only the
   surname
     being viewed is
                 
       expanded.
     
                 
       >  I'm not sure
     
                 
       >        what I could be
  doing
     wrong. Any ideas or
                 
       do I need to
     
                 
       >  do a bug
     
                 
       >        report?
     
                 
       >
     
                 
       >        Rich
     
                 
       >
     
                 
       >
     
                 
       >      --
     
                 
       >
     
                 
       >        Have you backed up
  your
     files today?
     
                 
       >
     
                 
       >
     
                 
       >
     
                 
       >
     
                 
     
               
     
               
     >  -----La pièce jointe associée
     suit-----
     
               
     >
     
               
     >  ------------------------------
     ------------------------------
  ------------------
     
               
     >  Check out the vibrant tech
  community
    on
     one of the
               
     world's
     
               
     >  most
     
               
     >  engaging tech sites, SlashDot.org!
  http://sdm.link/slashdot
     
               
     >  -----La pièce jointe associée
     suit-----
     
               
     >
     
               
     >  ______________________________
     _________________
     
               
     >  Gramps-users mailing list
     
               
     >  [hidden email]
     .net
     
               
     >  https://lists.sourceforge.net/
     lists/listinfo/gramps-users
     
               
     >  https://gramps-project.org
     
               
     >
     
               
     > ------------------------------
     ------------------------------
  ------------------
     
               
     > Check out the vibrant tech community
  on
     one of the
               
     world's most
     
               
     > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
     
               
     > ______________________________
     _________________
     
               
     > Gramps-users mailing list
     
               
     > [hidden email]
     .net
     
               
     > https://lists.sourceforge.net/
     lists/listinfo/gramps-users
     
               
     > https://gramps-project.org
     
               
     >
     
               
     
     
               
     ------------------------------
     ------------------------------
  ------------------
     
               
     Check out the vibrant tech community on
  one
    of
     the world's
               
     most
     
               
     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
     
               
     ______________________________
     _________________
     
               
     Gramps-users mailing list
     
               
     [hidden email]
     .net
     
               
     https://lists.sourceforge.net/
     lists/listinfo/gramps-users
     
               
     https://gramps-project.org
               
               
     
             
             
     
             
             
     
         
     ------------------------------
     ------------------------------
  ------------------
     Check out the vibrant tech community on
  one of the
     world's most
     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
             
     
             
             
     
         
     ______________________________
     _________________
     Gramps-users mailing list
     Gramps-users@lists.
     sourceforge.net
     https://lists.sourceforge.net/
     lists/listinfo/gramps-users
     https://gramps-project.org
           
           
     
           
     
           --
     
     
             Have you
  backed up your files today?
           
     
           
           
     
       
     ------------------------------
     ------------------------------
  ------------------
     Check out the vibrant tech community on
  one of the
     world's most
     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
           
     
           
           
     
       
     ______________________________
  _________________
     Gramps-users mailing list
     Gramps-users@lists.
     sourceforge.net
     https://lists.sourceforge.net/
     lists/listinfo/gramps-users
     https://gramps-project.org
         
         
     
         
     
         --
     
     
           Have you backed up
  your files today?
       
     
     
     
     ------------------------------
     ------------------------------
  ------------------
     
     Check out the vibrant tech community on
  one of the
     world's most
     
     engaging tech sites, SlashDot.org! http://sdm.link/slashdot
     ______________________________
     _________________
     
     Gramps-users mailing list
     
     Gramps-users@lists.
     sourceforge.net
     
     https://lists.sourceforge.net/
     lists/listinfo/gramps-users
     
     https://gramps-project.org
     
     
     -----La pièce jointe associée suit-----
     
   
  
 ------------------------------------------------------------------------------
     Check out the vibrant tech community on
  one of
     the world's most
     engaging tech sites,
     SlashDot.org! http://sdm.link/slashdot
     -----La pièce jointe associée suit-----
     
     _______________________________________________
     Gramps-users mailing list
     [hidden email]
     https://lists.sourceforge.net/lists/listinfo/gramps-users
     https://gramps-project.org
   
   
       
       
   
       
   
        --
   
          Have you backed up your files
  today?
     
  
  
       
       
  
       
  
       --
  
         Have you backed up your
  files today?
     

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org