Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnk-files no longer functioning in "File Open" #1997

Closed
tojakab opened this issue Apr 15, 2024 · 9 comments
Closed

lnk-files no longer functioning in "File Open" #1997

tojakab opened this issue Apr 15, 2024 · 9 comments
Labels

Comments

@tojakab
Copy link

tojakab commented Apr 15, 2024

Describe the bug
lnk-files no longer functioning in "File Open"

How to reproduce

  1. Create a catalog with shortcuts to LAS-files.
  2. Launch CloudCompare 2.13.1 and press Ctrl-O.
  3. double-click one of the shortcuts an the massage "[Load] Can't guess file format: unhandled file extension 'lnk'"

Expected behaviour
As in earlier version of CloudCompare where the lnk-files worked just fine
Additional context

Your environment

  • CC Version v2.13.1
  • W11:
  • NVIDIA 3060
  • Qt Version (if compiling):
@dgirardeau
Copy link
Member

I think this comes from this commit : 0fb46dd (the change to qCC/mainwindow.cpp)

If I remember well, this was suggested/requested by another user to fix another issue, so I'm a bit reluctant to simply revert this change. We would need to remember what the issue was exactly, and what could be done to work in both cases...

In your case, does it work if you force the file type to LAS in the filters list?

@tojakab
Copy link
Author

tojakab commented Apr 18, 2024 via email

@dgirardeau
Copy link
Member

dgirardeau commented Apr 18, 2024

No it doesn't work? Just want to be sure, as that would be very useful to understand how this works 😉

@tojakab
Copy link
Author

tojakab commented Apr 18, 2024 via email

@dgirardeau
Copy link
Member

dgirardeau commented Apr 18, 2024

So I'd simply like to know if after you've hit 'CTRL+O', you change the default file filter from 'All (*.*)' to 'LAS files (*.las *.laz)', then would loading .lnk files pointing to LAS file work?

Because with the default filter, CC needs to look at the file extension to deduce the file type...

@tojakab
Copy link
Author

tojakab commented Apr 18, 2024 via email

@tojakab
Copy link
Author

tojakab commented Apr 18, 2024 via email

@dgirardeau
Copy link
Member

I've (normally) fixed this in this commit: 7dc9b30

If you are interested, you can test the preview of version 2.13.2 here: https://www.cloudcompare.org/release/CloudCompare_v2.13.2.preview_setup_x64.exe

@tojakab
Copy link
Author

tojakab commented May 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants