FRC-Utilities / QDriverStation

Cross-platform clone of the FRC Driver Station

Home Page:https://frc-utilities.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with i3 window manager

alex-spataru opened this issue · comments

In a previous issue, @calebeby mentioned that the QDriverStation does not behave as expected with the i3 window manager.

Has anyone else experienced issues with i3 and the QDS? If so, what have you done to fix your issue? What solutions would you suggest?

@calebeby Could you please upload your latest log of the QDS? (they are located in ~/.qdriverstation/)

Thanks!

I have found the following warnings (which could be relevant in this case):

00:03.1        WARNING       propsReply "Method \"GetAll\" with signature \"s\" on interface \"org.freedesktop.DBus.Properties\" doesn't exist\n"
00:03.1        WARNING       nmReply "Method \"GetDevices\" with signature \"\" on interface \"org.freedesktop.NetworkManager\" doesn't exist\n"
00:03.1        WARNING       "Object path cannot be empty"
00:03.2        WARNING       "Object path cannot be empty"

QML did not report anything wrong with the window geometry, maybe manually setting some window flags during app initialization could fix this issue (comments are welcome).

Sure, I have no idea how window flags work, but if you want me to test something I can.

Maybe this part is relevant?

00:02.5        WARNING       file:///usr/lib/qt/qml/QtQuick/Controls/Private/BasicTableView.qml:613:17: QML Item: Binding loop detected for property \"width\"
00:02.5        WARNING       file:///usr/lib/qt/qml/QtQuick/Controls/Private/BasicTableView.qml:613:17: QML Item: Binding loop detected for property \"width\"

Sure! I will write to this thread when I make a change to the window flags or when I get a chance to test the QDS with i3.

In this part:

00:02.5        WARNING       file:///usr/lib/qt/qml/QtQuick/Controls/Private/BasicTableView.qml:613:17: QML Item: Binding loop detected for property \"width\"
00:02.5        WARNING       file:///usr/lib/qt/qml/QtQuick/Controls/Private/BasicTableView.qml:613:17: QML Item: Binding loop detected for property \"width\"

QML complains about some ugly hacks that I did to implement the joysticks tab. It should not affect the window size at all.