mich-w / QtSerialMonitor

Qt serial monitor and data plotter
GNU General Public License v3.0
203 stars 70 forks source link

Window size on Linux is to big #3

Closed agguro closed 2 years ago

agguro commented 2 years ago

Is there a property that I can/need to modify to not have a screen width of 1910 ? For now I can't manage to do it because the values resets to the old ones.

mich-w commented 2 years ago

I just added (actually uncommented) window size to be saved with the rest of the settings and reapplied when the app starts. I forgot why I disabled it in the first place, seems to work fine under Linux on my side (KDE Plasma).

agguro commented 2 years ago

That must be the problem here. The size of the window remains and renders your application un-useful here :(, unfortunately for me.

mich-w commented 2 years ago

Could you please check if the latest build improves the mentioned behavior in any way ?

agguro commented 2 years ago

I will later when I am at home.

A terça, 25/01/2022, 11:42, Michał Waliszkiewicz @.***> escreveu:

Could you please check if the latest build improves the mentioned behavior in any way ?

— Reply to this email directly, view it on GitHub https://github.com/mich-w/QtSerialMonitor/issues/3#issuecomment-1021048575, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTKE4WBZHWB56C5DSRR6ZTUXZ5ANANCNFSM5I5G5PCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

agguro commented 2 years ago

The problem is gone with Linux Mint. However you should add : QMAKE_LFLAGS_RELEASE += -no-pie QMAKE_LFLAGS_DEBUG += -no-pie -O0 to the .pro file so that the program is recognized as executable instead of a library (Linux Mint) Thanks a lot, I will promote this tool on my website (not the source, just mentioning if it is ok by you?)

mich-w commented 2 years ago

About the "-no-pie" flag. Judging by the forums I think it might be something platform specific namely Debian based distros. Here on my side (Manjaro KDE) it seems to compile as an app binary by default. But sure, I will add it these lines. It doesn't seem to break anything so its all green right? :P

Feel free to mention the app, I appreciate that someone else found it useful.

agguro commented 2 years ago

on Ubuntu and Debian (it's the same) it doesn't brake anything.