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

Broken at least on linux #5

Open
eddy-geek opened this issue Jan 28, 2024 · 10 comments
Open

Broken at least on linux #5

eddy-geek opened this issue Jan 28, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@eddy-geek
Copy link

Description

  • Buttons to add map do nothing, I guess they should open file picker
  • Drag and drop looks like it will work (displays file name) but the maps do not load (blank scren)

Ubuntu 22.04, installed from 1.7.0 deb file

Steps To Reproduce

No response

Expected behavior

app should do something

App Version

1.7.0 deb

Operating System Version

Ubuntu 22.04

Additional Information

No response

@eddy-geek eddy-geek added the bug Something isn't working label Jan 28, 2024
@farfromrefug
Copy link
Collaborator

@eddy-geek thanks for opening this issue.
it should work fine on Linux, I use it on popos .
I will try to rebuild it to see if I can reproduce your issue about buttons doing nothing.

about the other one with blank screen. I am not sure at all but it could be another problem I faced a few weeks/month back. all of a sudden I was seen a blank screen even with the map loaded.
to see if it is that issue:

  • do you see the info section about your mbtiles on the left with layers ?
  • if you click on the map (blank part) does it show a popup?

@eddy-geek
Copy link
Author

Nothing shows a popup nor does anything, except the 2 top right buttons (tile vertically, and settings with theme change work... not the most useful features on their own but well 🤣 ) ; and drag&drop which shows the file path until dropped (iff it ends with .mbtiles)

screenshot after drag&drop:

Screenshot_20240129_221636

This is on KDE + X11 if that matters.

Would have been nice to have some kind of feedback on stdout, as I guess something must have gone wrong if the "drop or open a MBTiles" does not disappear?

@farfromrefug
Copy link
Collaborator

@eddy-geek thanks i managed to reproduce it! Will fix as soon as possible (this week i hope)

@eddy-geek
Copy link
Author

@farfromrefug any news?

@farfromrefug
Copy link
Collaborator

@eddy-geek sorry i did not finish this. Got focused on other OSS projects.
I started working on that but i had to upgrade tauri to 2.x and it was not fun. A lot of breaking changes especially on the rust side
Will try to finish it

@farfromrefug
Copy link
Collaborator

@eddy-geek sorry for the very late reply! I finally had the time to update the project to tauri 2.x.
If you are still interested you can try https://github.com/Akylas/mbview-rs/releases/tag/v1.7.1

@GeoWill
Copy link

GeoWill commented Jun 25, 2024

Just an FYI that I tried the 1.7.1 release on Ubuntu 23.10 + X11 and had the same issue as described.
Looks like a cool project, so will keep an eye on it :)

@farfromrefug
Copy link
Collaborator

@eddy-geek @GeoWill thanks for testing. Think i finally got it in 1.7.2

@eddy-geek
Copy link
Author

I confirm it works, thanks !

A smaller issue is that the map looks way too big (the dpi is wrong).

Screenshot_20240728_123930

Ideally this would be customizable at least in a configuration file, as different maps have a very different opinion of what dpi should be (OSM maps are tiny, Swisstopo is huge).

@farfromrefug
Copy link
Collaborator

@eddy-geek thanks do you have a sample mbtiles i can test with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants