[marble] [Bug 461569] New: centerOn(GeoDataLatLonBox) behaviour does not match documentation

2022-11-07 Thread Samuel OMalley
https://bugs.kde.org/show_bug.cgi?id=461569

Bug ID: 461569
   Summary: centerOn(GeoDataLatLonBox) behaviour does not match
documentation
Classification: Applications
   Product: marble
   Version: unspecified
  Platform: RedHat Enterprise Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: marble-b...@kde.org
  Reporter: omals...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

The documentation for centerOn(GeoDataLatLonBox) specifies: "Center the view on
a bounding box so that it **completely fills the viewport**"

However, the actual behaviour of this function is that the map is correctly
centered, but zoomed *out* from the bounding box.


STEPS TO REPRODUCE
1. Define a bounding box
2. call centerOn the bounding box

OBSERVED RESULT
Bounding box does _not_ completely fill the viewport as described in the
documentation.

EXPECTED RESULT
Bounding box should completely fill the viewport.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: RHEL7 and RHEL8
Qt Version: 5.10

-- 
You are receiving this mail because:
You are watching all bug changes.

[marble] [Bug 414554] Installed CMake target contains absolute paths and cannot be relocated

2019-11-26 Thread Samuel OMalley
https://bugs.kde.org/show_bug.cgi?id=414554

--- Comment #1 from Samuel OMalley  ---
Patch submitted: https://phabricator.kde.org/D25456

-- 
You are receiving this mail because:
You are watching all bug changes.

[marble] [Bug 414554] New: Installed CMake target contains absolute paths and cannot be relocated

2019-11-26 Thread Samuel OMalley
https://bugs.kde.org/show_bug.cgi?id=414554

Bug ID: 414554
   Summary: Installed CMake target contains absolute paths and
cannot be relocated
   Product: marble
   Version: unspecified
  Platform: Compiled Sources
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: marble-b...@kde.org
  Reporter: omals...@gmail.com
  Target Milestone: ---

SUMMARY

There is an absolute path in MarbleTarget.cmake (INCLUDE_INSTALL_DIR). This
absolute path means that the installed files cannot be moved and still used by
CMake's find_package().

There should be _no_ absolute paths in any outputs of install.

STEPS TO REPRODUCE
1. Marble: make install
2. Rename install dir
3. Attempt to depend on Marble libraries with find_package(Marble REQUIRED)

OBSERVED RESULT

CMake Error in src/libs/geo/CMakeLists.txt
  Imported target "Marble" includes non-existent path

"/absolute/path/to/include/dirs/that/doesnt/exist"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
provide.

EXPECTED RESULT

No error.

SOFTWARE/OS VERSIONS
CMake: 3.11
Qt Version: 5.10

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.