constellation icon indicating copy to clipboard operation
constellation copied to clipboard

Welcome screen and File Open Recent - not all recent files are showing up

Open GammaVel opened this issue 2 years ago • 3 comments

Prerequisites

  • [X] Put an X between the brackets on this line if you have done all of the following:

    • Running the latest version of Constellation

    • Attached the Support Package via Help > Support Package

    • Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ

    • Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues

    • Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories

Description

The welcome screen shows tiles with a screenshot of the graph which is very handy. I have noticed in Release 2.5 and the nightly builds that the tiles are blank for the last three ones, even when I have been working with over 10 graphs. Can this be looked at as it wasn't an issue with previous versions. I have seen an error (see below) when saving one of the graphs a couple of times but I don't think it is causing the issue.

Steps to Reproduce

  1. Open the latest version of Constellation with the Welcome page

  2. Look at the tiles which are shown there - notice the last three are blank.

  3. Open and save some other graphs, enough to make the 10 tiles be populated

  4. Open and close Constellation and check the welcome page, there are still a few blank tiles

  5. Repeat again

  6. Check the File Open recent and notice all of the files are not there too.

Expected behaviour: If I have worked on 10+ graphs recently, all of the tiles are populated on the Welcome page and File Open recent

Actual behaviour: 3 blank tiles: image

Reproduces how often: Missing tiles - 100%, runtime error is not easily reproducible.

Additional Information

Observed this run time error when saving a couple of my graphs but it isn't reproducible: image

GammaVel avatar Feb 03 '22 01:02 GammaVel

When testing v2.6, I noticed that this number of blank previews is changing time to time. For me, once all of them loaded, then changed to one blank preview. However I didn't observe the exception above.

But the image was the default image when existing files are opened and just closed. Looks like it's saving a screenshot only when saving a file. To fix this, would it be possible to generate a screenshot when closing a file as well?

Auriga2 avatar Feb 28 '22 07:02 Auriga2

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.

github-actions[bot] avatar Aug 28 '22 00:08 github-actions[bot]

When testing v2.8 now only 5 of the most recent graphs show up in both the File -> Open Recent, and the recent graphs shown in the Welcome Page. Can confirm that graphs that are just opened and not saved have the default image on the Welcome Page instead of an image of the graph.

Delphinus8821 avatar Sep 08 '22 04:09 Delphinus8821

This looks good now. I have found that the tiles are populating for me. I have tried this three times and the tiles/open recent are all remaining populated

image

Astroboy2022 avatar Nov 11 '22 01:11 Astroboy2022

Version information for the above is below: image

Astroboy2022 avatar Nov 11 '22 01:11 Astroboy2022

Thanks @Astroboy2022 for checking this out, it was interesting that you only had the Constellation logo and not the graph in the screenshots, not sure if that had something to do them all being sample graphs. Would be good good to keep an eye on this in case something there has broken.

GammaVel avatar Nov 22 '22 04:11 GammaVel