Stacer icon indicating copy to clipboard operation
Stacer copied to clipboard

Layout is bad on a hi-res display

Open Bananas-Are-Yellow opened this issue 3 years ago • 6 comments

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?

Bananas-Are-Yellow avatar Mar 03 '21 19:03 Bananas-Are-Yellow

Can you test https://github.com/oguzhaninan/Stacer/pull/418 ?

alexmyczko avatar Mar 18 '21 18:03 alexmyczko

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

Bananas-Are-Yellow avatar Mar 18 '21 22:03 Bananas-Are-Yellow

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...

alexmyczko avatar Mar 19 '21 03:03 alexmyczko

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.

Bananas-Are-Yellow avatar Mar 19 '21 08:03 Bananas-Are-Yellow

@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.

lilianmoraru avatar Jun 13 '21 12:06 lilianmoraru

Hi have this problem too !

masterleo avatar Sep 20 '21 20:09 masterleo