KWin-window-positioning-scripts icon indicating copy to clipboard operation
KWin-window-positioning-scripts copied to clipboard

Non-resizable windows are ignored

Open bigbruno opened this issue 3 years ago • 2 comments

Is there a problem with forcing the screen to windows that are not resizable?

For example the v4l2ucp program emits 2 alert dialogs on my computer before opening, the 2 dialogs are not resizable, so they open in the wrong window.

I know I can force the Kwin configuration, but I would like to try some generic way of solution.

bigbruno avatar Apr 02 '22 14:04 bigbruno

Unfortunately it's not quite simple since there are some special windows (such as lock screens) which don't properly declare themselves as such, so the restriction on resizability was the most effective one to prevent windows from being moved that shouldn't be; but I can look into whether a more fine-grained distinction may be possible.

nclarius avatar Apr 02 '22 16:04 nclarius

I need some more info on those dialogs that appear ont he wrong screen. Could you please do the following:

  1. Open a terminal and run: journalctl -g "alwaysopen" -f 2>&1 | tee alwaysopen.log - don't close the terminal yet
  2. Trigger the altert dialogs; titles of added windows will be logged, so make sure these contain no sensitive information
  3. Go back to the terminal and press Ctrl+C; you may close the terminal now
  4. If the output of the logging was empty, try echo 'export QT_LOGGING_RULES="kwin_*.debug=true"' >> ~/.bash_profile and kwriteconfig5 --file startkderc --group General --key systemdBoot true, log out and in again, and repeat steps 1. to 3. You can later revert these changes by running the same commands with false respecitvely.
  5. Post the contents of the file ~/alwaysopen.log here. Thanks.

Edit: And could you also post the output of qdbus org.kde.KWin /KWin supportInformation.

nclarius avatar Apr 04 '22 04:04 nclarius