Bug ID: 391728
           Summary: Improve Ultrawide screen support: Maximize on the left
                    or right area
           Product: kwin
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: scripting
  Target Milestone: ---

Created attachment 111325
a kwin script that change the "maximize" icon behavior

More and more 21/9 widescreen displays hit the market and in my opinion this
screen format is really convenient. A 21/9 screen  has more or less the same
surface as two 4/3 screens put side by side. It is really convenient when you
want to view two documents at the same time. This format also allows to have
really large windows like a video player in cinema format.

Today, when you click on the "maximize" icon, it places the window on the whole
work area. It is also possible to drag and drop a window on the edge of the
screen so that it takes half of it. In my opinion this feature is not very
convenient to use.

I propose a modification of the behavior of the "maximize" icon so that it
chooses automatically the best zone according to the position: the left side,
the right side or the full work area.

To illustrate the behavior I want to achieve I made a video:

I wrote a KWin script that gets this behavior. You can find it as an attachment
and I invite you to test it. It should work on a 16/9 screen too.

I do not think the scripting system can allow to properly implement this
feature. I am experiencing the following issues:
- There are no shadows when a window is maximized.
- There is no animation when maximizing on one side of the screen

The first problem is due to a choice of KWin to hide shadows that are not
usually needed when a window is maximized. It should be possible to tell him
that we want to display a shadow on the edge that is still visible.

The second problem is due to the fact that "clientMaximizeSet" signal is
already emitted when the script changes the window geometry. The "maximize"
animation is then cut off.

I'm waiting for your comment about this idea and I hope this feature can be
implemented directly in KWin or that the scripting system will be improved to
make it possible.

You are receiving this mail because:
You are watching all bug changes.

Reply via email to