Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

High DPI issue #71

Closed
ZeroDot1 opened this issue Jul 12, 2017 · 7 comments
Closed

High DPI issue #71

ZeroDot1 opened this issue Jul 12, 2017 · 7 comments
Assignees
Labels
Milestone

Comments

@ZeroDot1
Copy link
Contributor

ZeroDot1 commented Jul 12, 2017

The surface is very large, and a part of the window to fill the entire screen

Log:
$ '/home/user/Downloads/MellowPlayer-develop/src/MellowPlayer'qt5ct: using qt5ct plugin
[I] [2017-07-12 22-42-15:012707] [main] Log directory: /home/user/.local/share/MellowPlayer/MellowPlayer/Logs/
[I] [2017-07-12 22-42-15:012792] [main] MellowPlayer 2.95.0.0 - Built on Jul 12 2017 at 19:35:47 (GCC 7.1.1 20170621, 64 bit) with Qt 5.9.1
[W] [2017-07-12 22-42-15:267146] [qt] : QML QQuickAnchors: Binding loop detected for property "rightMargin"
[W] [2017-07-12 22-42-15:631883] [Mpris] failed to register service on the session bus: org.mpris.MediaPlayer2.MellowPlayer
[W] [2017-07-12 22-42-15:631941] [Mpris] failed to register object on the session bus: /org/mpris/MediaPla

Download: https://github.com/ColinDuquesnoy/MellowPlayer/files/1142917/src.zip
src.zip

Screenshot: https://user-images.githubusercontent.com/28985171/28132795-2bd1adee-673e-11e7-96ba-394327923791.png
bildschirmfoto_2017-07-12_19-52-45

@ZeroDot1 ZeroDot1 changed the title MelloPlayer the window can not be resized MelloPlayer/Linux the window can not be resized Jul 12, 2017
@ColinDuquesnoy
Copy link
Owner

What is the resolution of your screen?

@ColinDuquesnoy
Copy link
Owner

The minimum size of the windows is set to 1280x720. If your screen resolution is greater or equal to 1280x720 your window should resize properly so I would suspect a bug with High DPI scaling. If that's the case, maybe try to comment this line (https://github.com/ColinDuquesnoy/MellowPlayer/blob/develop/src/main.cpp#L27) and report back.

@ZeroDot1
Copy link
Contributor Author

$ xdpyinfo | grep dimensions
dimensions: 1920x1080 pixels (508x285 millimeters)
$ xdpyinfo | grep dots
resolution: 96x96 dots per inch

@ZeroDot1
Copy link
Contributor Author

ZeroDot1 commented Jul 13, 2017

The problem only occurs when you use an FullHD monitor
On the regular screen of the notebook does not occur the problem

Notebookscreen:
$ xdpyinfo | grep dots
resolution: 96x96 dots per inch
$ xdpyinfo | grep dimensions
dimensions: 1600x900 pixels (423x238 millimeters)

@ZeroDot1 ZeroDot1 changed the title MelloPlayer/Linux the window can not be resized MellowPlayer/Linux the window can not be resized Jul 13, 2017
@ColinDuquesnoy
Copy link
Owner

Did you try to comment line 27 in src/main.cpp (QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);). Did that make any differences?

Normally Qt should handle FullHD monitors just fine (I have one and I don't have any issues). Can you also try with other Qt/QML applications with that setup and the AppImage too?

@ZeroDot1
Copy link
Contributor Author

@ZeroDot1
Copy link
Contributor Author

Download:
src.zip

bildschirmfoto_2017-07-13_22-13-43

@ColinDuquesnoy ColinDuquesnoy changed the title MellowPlayer/Linux the window can not be resized High DPI issue Aug 6, 2017
@ColinDuquesnoy ColinDuquesnoy added this to the 3.0 milestone Aug 6, 2017
@ColinDuquesnoy ColinDuquesnoy self-assigned this Aug 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants