contour icon indicating copy to clipboard operation
contour copied to clipboard

Qt(/KDE) session resuming

Open christianparpart opened this issue 4 years ago • 0 comments

Qt/KDE seems to be to auto-start some applications and passes the session Id of that application's last run. It just happened to Contour and Contour cannot handle that because we do parse our own command line flags.

$ ps afx
[...]
   1776 ?        Sl     0:00  \_ /home/trapni/usr/opt/contour/bin/contour -session 1013bd8c6d2000162354127000000039330012_1623546962_781257

We can extend the custom command line argument parser to also allow long option names with short dash (-) and then add "session" option to "terminal" default command, which would then be passed to Qt's QGuiApplication accordingly.

christianparpart avatar Jun 14 '21 07:06 christianparpart