Git Product home page Git Product logo

Comments (12)

nemethviktor avatar nemethviktor commented on May 31, 2024

Hey, thanks for the report.

Yeah, amusingly enough I've bumped into that one myself recently! :D
Am working on a bigger update that will hopefully solve this plus make a few things a little faster. If all goes to plan I can upload a development version (like you've found the one in #15 ) today or tomorrow and then you can have a look.
Will keep you posted.

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

Okayyyy. Took me about 2 days but it now looks reasonably workable. This version isn't entirely perfect but some of it comes down to how the user behaves. I tried to make it somewhat foolproof and hopefully faster in certain ways. This https://drive.google.com/file/d/18iI77SIdrIv-joOtyT0-MzqOVtB5OgM0/view?usp=share_link is in development and doesn't yet address the other issues you've flagged.
The list of changes is pretty long, some new features too but perhaps more relevant for this ticket is that there are more attempts to block access to the main grid/listView while other threads are working on it.
Have a look pls.

from geotagninja.

Urmel avatar Urmel commented on May 31, 2024

Hi @nemethviktor,

I used the binary from ~an hour ago, issue #19 (hope that was correct...). With that I did some fast cursoring up and down again:

  • With images that can be displayed in the preview pane, it works.
  • With images that cannot be displayed, the issue still persists (but it seems that it takes a bit longer for it to show up)

Some more observations:

  • In general when switching the image, first, the image is shown and then the map blinks to show the new position
  • For the non-displayable images, the time between cursering to an image and the resulting map blink takes longer than for a displayable image
  • For the displayable images, when I cursor through them, the cursor moves much slower through the table than for the non-displayable images

Exception shown - test no 1:

System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Bitmap..ctor(String filename)
bei GeoTagNinja.HelperStatic.d__41.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei GeoTagNinja.HelperStatic.d__39.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei GeoTagNinja.FrmMainApp.<lvw_FileList_KeyUp>d__61.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

Exception shown test no 2:

System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Bitmap..ctor(String filename)
bei GeoTagNinja.HelperStatic.d__41.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei GeoTagNinja.HelperStatic.d__39.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei GeoTagNinja.FrmMainApp.<lvw_FileList_KeyUp>d__61.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

Exception shown test no 3:

System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Bitmap..ctor(String filename)
bei GeoTagNinja.HelperStatic.d__41.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei GeoTagNinja.FrmMainApp.<lvw_FileList_KeyUp>d__61.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

Re: speed/or the lack of: The logic for preview creation is (as of now, which is to say this logic includes the change from the other thread)

  • if extension = jpg then use windows' own thing, This is fast but doesn't really support too many formats.
  • else try to generate via exiftool. this is slow
    -- if ET-generated preview exists use that
    -- else try windows again regardless of extension
    --- if that works, yayy
    --- else there is no preview.

if you're still around i just uploaded another one (timestamp of the file is 2256pm uk time filesize 16,458,240 bytes), see if you still get the problem. i tried wrapping one of the methods in a try/catch so it doesn't crash...supposedly. build number same as before. (just re-download, easiest.)

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

Aaaaactualllly. Thinking out loud helps. That logic is stupid.
Same link as above, TS 2306 UK time.
Logic updated:

  • try Windows' own preview creation regardless of the image extension.
  • if this fails try exiftool.
  • if that fails there is no output.

from geotagninja.

pbranly avatar pbranly commented on May 31, 2024

Hi
I would like as well to test the latest versions but I am not sure it is as the download link does not give any choice
Is it always the latest one ?
phil

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

from geotagninja.

pbranly avatar pbranly commented on May 31, 2024

Ok thanks
Yes I saw the modification …. For sure ..
I have to work on the French translations as soon as I have some time. And there is an issue with the available length of the sentence .
If you don’t mind I will try to send you the modified French SQLite file
Good job
Phil

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

Hi both,
Just to make testing a little less confusing, going forward the About Box will have not only the version number but also a build datetime. This should help avoiding the problem where I publish more than 1 build a day to test and then it's difficult to guess if we're all on the same page or not.

from geotagninja.

nemethviktor avatar nemethviktor commented on May 31, 2024

@Urmel can you have a look pls at the latest version (same link as above)
image

I think that should settle both your open bug tickets. Once everyone's happy I'll do a release and then work on the feature requests.

from geotagninja.

Urmel avatar Urmel commented on May 31, 2024

Hi @nemethviktor,

I tested using (can we make that text copy-able?):
grafik

I did the usual cursoring up and down:

  • Cursoring up and down in the "regular" files (the ones that were already working - likely had a working preview graphic) was as slow as before
  • Cursoring through the files that were not working before went "super fast" - I'm not able to build up a relevant delay between stoping cursoring versus the last screen refresh. In contrast to "previously working images", where there is multi second delay after doing some wild cursoring.

No more exceptions!
So for me, this fix solves the problem!

Thank you!!

from geotagninja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.