KDocker icon indicating copy to clipboard operation
KDocker copied to clipboard

Don't dock when opening, but dock on minimize (split -m option into two)

Open Zorgodon opened this issue 1 year ago • 2 comments

The -m option seems to do two things at once: (1) Tells Kdocker to keep the program we just launched/ recognized via -w $WID open (2) Disables the dock-on-minimize setting for that program

Is there any way to split this option into two? As in, I want the program to stay open, but still let me dock it when I click minimize. This setting is set in my _GLOBAL_DEFAULTS in kdocker.conf, but overridden by -m

I'll probably start poking the code to see if I can disable the function that does (2) when kdocker is run with -m, but I'm not too confident with C++ and QT, so any help would be very appreciated. @user-none

Zorgodon avatar Feb 13 '24 16:02 Zorgodon

The logic when a window is docked has been questionable for a long time. It's on my todo list to look at while updating the code.

user-none avatar Aug 23 '24 01:08 user-none

commit 7f7a0cc fixes the logic for what it's supposed to do but the request which is always iconify on first dock. I'm keeping this open since the request is for an option not to iconify on first dock.

user-none avatar Aug 23 '24 01:08 user-none