casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.87k stars 75 forks source link

Window resize not possible #140

Open ShonkaiDJ opened 9 months ago

ShonkaiDJ commented 9 months ago

~EDIT! SOLVED (MOSTLY)~ _After opening an xfreerdp session, I snapped it out of full-screen mode I logged out and ended the session. I decided to do the same from the Cassoway GUI option 'Launch Full RDP session' (Tab;Misc). After these actions (likely one of them would do the trick but it's late again), I could change the window-size finally.

(Mean while I could not get the application to scale. Now 'Scale' set to 140 works too. It's too big or too small so it seems. I will figure out how to get it to go to 125% or even 106% as my Plasma Desktop is set to ideally.)_ Edit2 (partially solved) Using the /scale-desktop:xxx Flag in the GUI I can scale the application to 125%. It still is not stable. Remote App Windows interact with each other when moving and scaling.

Describe the bug I cannot resize/scale my app windows. Can freerdp sessions be forced NOT (never) to start in Full Screen mode?

To Reproduce Steps to reproduce the behavior:

  1. Autostart set up in Misc tab
  2. Start application (Notepad ++ or OneNote or Outlook)
  3. Go to edge with cursor
  4. No scaling cursor

Expected behavior I want to be able to scale/ resize the remote application window

Work-around Open a full session and set the application to the optimal size for the moment. Close session by login out.

System information:

Additional context image I have tried many options for 2 nights now. It's not easy to assess, considering I can't see in the log what may happen to/on the guest side. I have tried to set flags in the gui only to notice flags are set already that may overrule my set flags (CMDLINE: xfreerdp /d:"HGS" /u:"**" /p:"" /v:"" +clipboard /a:drive,root,/home/skdj +decorations /cert-ignore /sound /scale:100 /dynamic-resolution /span)

I have also noticed the session is not properly closed (screenshot). Not even when I use the likely intended buttons in the gui. At some point I even got a message I arrived to the max sessions allowed. It would be nice to know opening the full FreeRDP opens the same session as the one the gui is in. Not sure how hard that is or what may have been a motivation not to make it so.

From what I can find on xfreerdp, when /scale is set, /smart-sizing (DPI scaling(?)) cannot be set.