plasma-applet-commandoutput
plasma-applet-commandoutput copied to clipboard
Implement showing stderr as the tooltip
Optionally as Qt's subset of HTML4
Fixing an issue, please don't merge
Nevermind, not related to my code
com.github.zren.commandoutput/contents/ui/lib/ConfigPage.qml:25:2: QML Loader: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
com.github.zren.commandoutput/contents/ui/lib/ConfigCheckBox.qml:11:11: Unable to assign [undefined] to bool
There's Kargos that has a specific "syntax" for showing text in a popup.
https://store.kde.org/p/1173112/
I'm a bit worried with abusing the stderr
io stream for this. What if we had a mode for showing line 2+ in the tooltip (or popup)?
As for the richtext setting, won't it be Text.AutoText
by default?
http://doc.qt.io/qt-5/qml-qtquick-text.html#textFormat-prop
I tried AutoText and it wasn't working with something like <table><tr><td>test</td><td>test2</td></tr></table>
. Also, setting it to PlainText makes newlines appear as newlines instead of having to use <br>
.
stderr was completely ignored and unused so I figured I'd use it. If they don't want it in the tooltip they can just redirect it, or a setting can be implemented.
Close this if you want, switching to kargos.