mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
komorebi breaks some application functionality when run as admin. #65
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Vernetzt on GitHub (Dec 11, 2021).
Some applications lose certain features related to mouse usage when komorebi is run as administrator. When running the problem applications with the
float-rulethis behavior disappears but isn't an ideal solution.Two examples I have found so far have been Adobe Photoshop and YACReaderLibrary. Photoshop loses the ability to use pretty much any tool that requires the mouse to be held down and dragged and probably more I haven't found. YACReaderLibrary loses the ability to use drag&drop features within the main library.
Sadly due to some applications/games that I use requiring to be run as admin means that my only option is to run komorebi elevated as well to manage such windows.
komorebi -
5e3f1cbWindows 11 - 22000.348
@Vernetzt commented on GitHub (Dec 11, 2021):
So after messing with it some more I have more information that might be useful. This behavior seems to start when komorebi processes the window again after the initial opening of the application. Sadly the log doesn't indicate any error or difference between komorebi being run as admin or not.
Example steps for my system:
Oddly enough running the problem applications as admin fixes this problem but is probably not an ideal solution overall.
@LGUG2Z commented on GitHub (Feb 2, 2022):
I've finally got some bandwidth to start exploring process elevation related issues now. Is there any chance you could provide a video of what is happening here? I'm struggling to visualize it from the description. 😅
@Vernetzt commented on GitHub (Feb 4, 2022):
Sure thing.
The following video shows three examples
https://user-images.githubusercontent.com/8786961/152573655-b91202a2-fd22-432b-8f0c-18034a6d033b.mp4
The next video shows what I think to be a similar issue with Photoshop.
https://user-images.githubusercontent.com/8786961/152575203-b791bfc9-01b0-4196-8a3d-913f55da4e1d.mp4
When I first came across this with YACReader I thought it could have been due to me removing the window decorations but after testing with said script off I can observe and replicate the problem in the same way as Photoshop. After the window is moved, resized, or the workspace is cycled it will cause YACReader's drag and drop feature to stop working and even crash sometimes. The reason it appears to happen differently in the first videos second example is because the script resizes the window after removing the decorations to keep the correct position.
I probably should have disabled the script before recording the first video but hopefully the above description and Photoshop example illustrate the problem better.
@ozokuz commented on GitHub (Aug 27, 2022):
I'm experiencing the same problem but with Minecraft
@LGUG2Z commented on GitHub (Aug 27, 2022):
@Vernetzt it took a long time, but I think this is now fixed with the latest commit. (which was also tested by @ozokuz 🙏)