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

Nonsensical Scroll Limits?? #1693

Open
nanashi-1 opened this issue Sep 27, 2023 · 4 comments
Open

Nonsensical Scroll Limits?? #1693

nanashi-1 opened this issue Sep 27, 2023 · 4 comments
Labels
bug An error which causes unexpected or unintended results

Comments

@nanashi-1
Copy link

nanashi-1 commented Sep 27, 2023

When I started this drawing scrolling worked fine. Closing the program and opening the file again does this weird scroll behavior. When I scroll to the right it stops me even when I haven't reached the end of the drawing.

Left Most Horizontal Scroll
Left Most Horizontal Scroll

Right Most Horizontal Scroll
Right Most Horizontal Scroll

Sample file

https://mega.nz/file/mUQ2UaJK#eQPSr2oWFFGZhhvNZUpXA95kd_WZHC1AB76SwmR_xMI
Note: I cannot upload this file type here in GitHub

Operating System and LibreCAD version info

System Details Report


Report details
  • Date generated: 2023-09-27 17:58:18
Hardware Information:
  • Hardware Model: ASUSTeK COMPUTER INC. VivoBook_ASUSLaptop X515JAB_X515JA
  • Memory: 8.0 GiB
  • Processor: Intel® Core™ i7-1065G7 × 8
  • Graphics: Intel® Iris® Plus Graphics (ICL GT2)
  • Disk Capacity: (null)
Software Information:
  • Firmware Version: X515JAB.308
  • OS Name: Arch Linux
  • OS Build: rolling
  • OS Type: 64-bit
  • GNOME Version: 45.0
  • Windowing System: Wayland
  • Kernel Version: Linux 6.5.3-arch1-1
LibreCAD Information:
  • Version: 2.2.0
  • Branch: stable
  • Installation: system
  • Provider: flathub
@dxli
Copy link
Member

dxli commented Oct 4, 2023

I feel this is by design:

the scroll bars only cover about 3 times of the current viewport, to avoid super fast scrolling, if zoomed in factor is huge.

@lordofbikes
Copy link
Member

The provided file contains some weird extension limits $EXTMIN/$EXTMAX of +/- 10000000000.

First, this only happens after opening the provided file, using any kind of Zoom (tool buttons or mouse wheel) fixed the scroll bars for me.
Using Auto Zoom and save the file again fixed the extension limits.

So the question here is, where these $EXTMIN/$EXTMAX values come from, and why they irritate the scroll bars on initial load.

@nanashi-1
Copy link
Author

First, this only happens after opening the provided file, using any kind of Zoom (tool buttons or mouse wheel) fixed the scroll bars for me.

Weirdly, using any kind of Zoom doesn't fix my issue.

Using Auto Zoom and save the file again fixed the extension limits.

This fixes it.

@lordofbikes lordofbikes reopened this Oct 5, 2023
@lordofbikes
Copy link
Member

No matter how these $EXTMIN/$EXTMAX values were saved, they should not make portions of the drawing unreachable on opening.
Auto Zoom is a work around, but not the solution for this issue.

@dxli dxli added the bug An error which causes unexpected or unintended results label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error which causes unexpected or unintended results
Projects
None yet
Development

No branches or pull requests

3 participants