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

Layout is bad on a hi-res display #440

Open
Bananas-Are-Yellow opened this issue Mar 3, 2021 · 6 comments
Open

Layout is bad on a hi-res display #440

Bananas-Are-Yellow opened this issue Mar 3, 2021 · 6 comments

Comments

@Bananas-Are-Yellow
Copy link

I have a 3840x2160 display and Stacer looks really bad. Here is a screenshot of the Services page:

image

And here is the Resources page:

image

As well as the page itself, notice the tiny icons on the left. Is there a setting somewhere to fix this?

@alexmyczko
Copy link
Contributor

Can you test #418 ?

@Bananas-Are-Yellow
Copy link
Author

I cloned the code from https://github.com/lilianmoraru/Stacer/tree/master.

Followed the local build instructions.
Had to install cmake but that's OK.
Got build errors:

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/qt/path/bin ..
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [cxxbasics] `CXXBASICS_C_COMPILER_TARGET_ARCH` set to "x86_64"
-- [cxxbasics] `CXXBASICS_CXX_COMPILER_TARGET_ARCH` set to "x86_64"
-- [cxxbasics][✓] CMAKE_C_COMPILER(/usr/bin/cc)'s linker is set to: GNU gold linker
-- [cxxbasics][✓] CMAKE_CXX_COMPILER(/usr/bin/c++)'s linker is set to: GNU gold linker
-- [cxxbasics][✗] Could not set a compiler cache tool for the C compiler
-- [cxxbasics][✗] Could not set a compiler cache tool for the CXX compiler
CMake Error at CMakeLists.txt:16 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/david/Code/Stacer/build/CMakeFiles/CMakeOutput.log".

I'm guessing there are other things required for the build environment.

Pop!_OS 20.10

@alexmyczko
Copy link
Contributor

https://sources.debian.org/src/stacer/1.1.0+ds-1/debian/control/

you need one of the build-depends package for that missing part...

@Bananas-Are-Yellow
Copy link
Author

I installed the missing packages and I was able to build Stacer. Unfortunately, the hi-res display problems are still there. The Services and Resources pages look the same as before and the tiny icons on the left are still there.

@lilianmoraru
Copy link
Contributor

@Bananas-Are-Yellow
Note this comment from the #418 PR:

For the HighDPI support, this requires Qt 5.14+.

You need to compile it with Qt 5.14+ and make sure that you don't manually set variables like QT_AUTO_SCREEN_SCALE_FACTOR, QT_SCALE_FACTOR and QT_SCREEN_SCALE_FACTORS.

@masterleo
Copy link

Hi have this problem too !

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

No branches or pull requests

4 participants