Jump to content


Photo

Media Gallery unusably balky with many thumbnails

media gallery thumbnails

  • Please log in to reply
11 replies to this topic

#1 TomH

TomH

    Advanced Member

  • Members
  • PipPipPip
  • 6256 posts

Posted 01 January 2015 - 10:23 AM

Also stored in the database file is a thumbnail image of each image media item attached. It is the thumbnail you see on screen, not the original, unless you edit the item or generate a report. I suspect that lots of thumbnails will have a marked effect on database file size and slow operations due to disk performance but it will take a very great many to do so. What you will see much earlier is a slowing of the Media Gallery when showing thumbnails - it can become virtually unusable.

That was about RootsMagic 5. Two versions later and it has not improved (maybe it has -see update below). This blew up on me when I just expanded my master database with an import from FTM of a sync'd Ancestry tree bring with it over 600 source images, expanding my gallery to 800 items. Previously with fewer than 200 items (and many of those being PDFs having no thumbnail), I was not bothered by balkiness when scrolling through the gallery. Now, I have uncontrollable pauses and jumps as the screen is rendered for a batch of files. The interruptions vary from 2-18 seconds in a small sample of scrolls, freezing the screen on the last batch viewed with no ability to continue to scroll through the unrendered thumbnails and read the file name or caption.

 

Contrast that to the way Windows File Explorer functions when viewing icons. It renders the thumbnails for those files in view (not all those between where the scroll started and ended) and you can scroll smoothly through without waiting for any to complete, reading the filename as you go.

 

RootsMagic appears to be working very hard when you scroll to or past some threshold with frequent updates to the database file as indicated by the number of SQLite journal files created and deleted during the interruption. This should not have anything to do with creating the thumbnail binary stored in the database as that much slower process was already completed (so I thought - but maybe not). To display the thumbnails requires fetching the small binary blobs from the database and rendering them to the screen. I don't know why the database itself would need any updates (a journal is not created for a read-only operation).

 

RootsMagic Inc extols the virtues of the SQLite database as being virtually unlimited when people ask about how many people it can hold. This is an example where the application design fails to support a relatively small number of items in one of its features (maybe overstated but with the addition of a large number of media items, e.g., using drag'n'drop, the Media Gallery can consume a lot of resource processing image files into thumbnails).

 

----------------------------

 

Update: as I wrote this and kept going over Media Gallery operations, performance improved. The range I could scroll without interruption increased and the length of the interruption decreased to the point that there seems to be but one interruption of a second duration, a journal file momentarily appears, and a skip in the display when scrolling from top to bottom and vice versa. Highly repeatable around the same locations.


Tom user of RM7550 FTM2017 Ancestry.ca FamilySearch.org FindMyPast.com
SQLite_Tools_For_Roots_Magic_in_PR_Celti wiki, exploiting the database in special ways >>> RMtrix-tiny.png app, a bundle of RootsMagic utilities.


#2 zhangrau

zhangrau

    Advanced Member

  • Members
  • PipPipPip
  • 1518 posts

Posted 21 November 2018 - 02:07 PM

I don't use the Media Gallery often, because I have over 25K multimedia items linked to my database.

 

I just noticed that there is a scroll bar in Thumbnail view, but NO scroll bar in List view.

 

This seems like a horrible oversight, to me....



#3 Jerry Bryan

Jerry Bryan

    Advanced Member

  • Members
  • PipPipPip
  • 3595 posts

Posted 21 November 2018 - 05:15 PM

Are we looking at the same thing? After Lists>Media Gallery my observation that there is a vertical scroll bar in both Thumbnail view and List view. But there is not a horizontal scroll bar in either view.

 

Jerry



#4 zhangrau

zhangrau

    Advanced Member

  • Members
  • PipPipPip
  • 1518 posts

Posted 21 November 2018 - 11:20 PM

I run RM in about 55-60% screen width on my 17" laptop, so that I can use the remaining screen space for browser windows and other research documents.

 

If that causes scroll bars to not appear, then that seems more like a bug than a feature. At least to me....

 

rm7-media-gallery-scroll-bars.png



#5 Jerry Bryan

Jerry Bryan

    Advanced Member

  • Members
  • PipPipPip
  • 3595 posts

Posted 22 November 2018 - 07:09 AM

That's so very strange. I don't seem to be able to do anything to my window sizes that will replicate your situation.

 

First, I set the RM main window size to about 60% of the screen width and then opened the Media Gallery. The scroll bar was still there in List mode, but this first test doesn't really count because the Media Gallery itself opened full screen even though the the main screen was at 60% screen width. So I set the Media Gallery sub-window also to about 60% of the screen width and the scroll bar is still there in List mode.

 

RM 7.5.7.0. Windows 10.0.17134 Build 17134. Laptop with about a 13 inch screen. I normally run RM in full screen mode on this smaller screen and when I need to open other screens I pop them up in front of RM. My RM often cannot be minimized in these situations because it has a modal sub-window open - one of the many disadvantages of RM's modal windows.

 

I understand the utility of large screens. Before I retired, my machine at work had two screens. Both were quite large - can't remember the exact size but they were probably much larger than 17 inches. It's a wonderful environment in which to work. Windows support for two screens works extremely well. But I didn't run RM at work and I'm not set up with such a nice environment at home.

 

Jerry



#6 zhangrau

zhangrau

    Advanced Member

  • Members
  • PipPipPip
  • 1518 posts

Posted 22 November 2018 - 09:03 AM

I don't think these specs will reveal anything, but here goes:

 

Dell Inspiron 5770

16 GB RAM

Win 10 Home 1803 17134.407 - 64-bit

RM 7.5.7.0



#7 TomH

TomH

    Advanced Member

  • Members
  • PipPipPip
  • 6256 posts

Posted 22 November 2018 - 10:17 AM

RM doesn't behave well with some screen and font settings. I would play with them if it is important to have the scroll bar. I agree that such poor behaviour should be called a "bug"; at the very least, I suspect it is a setting for that Delphi list control that has is set incorrectly.

Tom user of RM7550 FTM2017 Ancestry.ca FamilySearch.org FindMyPast.com
SQLite_Tools_For_Roots_Magic_in_PR_Celti wiki, exploiting the database in special ways >>> RMtrix-tiny.png app, a bundle of RootsMagic utilities.


#8 Jim Byram

Jim Byram

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts

Posted 22 November 2018 - 10:30 AM

I just noticed that there is a scroll bar in Thumbnail view, but NO scroll bar in List view.

This is what I saw also; however... I grabbed the divider between the two panels and moved it right then left to where it started. The scroll bar for the left panel then popped up. And it was present after I closed and reopened the program.



#9 zhangrau

zhangrau

    Advanced Member

  • Members
  • PipPipPip
  • 1518 posts

Posted 22 November 2018 - 01:19 PM

OK, JIm ... I tried your trick, and it worked.

 

Still seems like a bug somewhere.

 

And, TomH, I don't recall ever working with "Delphi list" settings. Ever. In any version of Windows.

So is there some arcane, hidden control I need to learn about? Sheesh. I just wanna do genealogy....



#10 Vyger

Vyger

    Advanced Member

  • Members
  • PipPipPip
  • 3426 posts

Posted 22 November 2018 - 02:34 PM

OK, JIm ... I tried your trick, and it worked.

 

Still seems like a bug somewhere.

 

And, TomH, I don't recall ever working with "Delphi list" settings. Ever. In any version of Windows.

So is there some arcane, hidden control I need to learn about? Sheesh. I just wanna do genealogy....

 

I think I remember a similar divider issue some years ago, not media gallery but still was quirky and confusing.

 

I don't normally scroll through Media Gallery but I notice the same behaviour Tom referred to, I have over 10K items and growing, I have the build thumbnails option unticked but then that is only when media gallery first opens.

 

I couldn't resist on the screen size comments, I have really spoilt myself, 32" and 28", but I still have a 13.1" laptop for portability.

 

screens.png


We are all limited by our visions and abilities

Whilst we can borrow from the visions of others we cannot always deliver.

 

User of Family Historian 6.2.7, Rootsmagic 7.6.2, Family Tree Maker 2014 & Legacy 7.5

 

Excel to Gedcom conversion - simple getting started tutorials here

 

Root


#11 TomH

TomH

    Advanced Member

  • Members
  • PipPipPip
  • 6256 posts

Posted 22 November 2018 - 02:58 PM

Delphi is the development platform so it's the developer who sets the behaviour of each control.

Tom user of RM7550 FTM2017 Ancestry.ca FamilySearch.org FindMyPast.com
SQLite_Tools_For_Roots_Magic_in_PR_Celti wiki, exploiting the database in special ways >>> RMtrix-tiny.png app, a bundle of RootsMagic utilities.


#12 zhangrau

zhangrau

    Advanced Member

  • Members
  • PipPipPip
  • 1518 posts

Posted 22 November 2018 - 03:46 PM

Delphi is the development platform so it's the developer who sets the behaviour of each control.

 

Ah. Thanks for that....