bismuth icon indicating copy to clipboard operation
bismuth copied to clipboard

[Bug]: (Active) border issues when "Maximize sole window" enabled

Open ceeli opened this issue 3 years ago • 1 comments

Summary

When "Maximize sole window" is enabled some applications don't get an active border after they where maximized as the sole window when a second window is opened. It looks like it still thinks it's maximized. The borders work correctly again after the window is resized.

Firefox is an example where this happens.

This is only an issue on X11, when switching to Wayland the issue disappears.

Steps to Reproduce

  1. ensure empty desktop
  2. open Firefox (it's maximized without a border, so far so good)
  3. open another window
  4. original Firefox window is tiled but doesn't have a border

Expected behavior

Borders appear as soon as the window is tiled.

Screenshots

  1. open Firefox (it's maximized) image

  2. open another window It's a bit hard to see but the left window (firefox) doesn't have a border (look at the sharp edges instead of round edges). image

after resizing the firefox window the border appears image

Bismuth version

2.2.0

KDE Plasma version

5.23.4

The platform KWin is running on

X11

Additional context

No response

ceeli avatar Jan 18 '22 18:01 ceeli

This also affects other windows like Konsole in X11.

Also the 'maximize sole window' doesn't have to be enabled for this to happen.

When you initially open the window it is maximized and Window Buttons Applet registers the active window as being maximized, so far so good. The problem begins when another Konsole window is opened and both the previous and current window resize but do not display the borders and the Window Buttons applet still shows that the active window is maximized.

Steps to Reproduce

  1. ensure empty desktop
  2. open Konsole (it's maximized without a border, Window Buttons Applet is visible on the top bar)
  3. open another window (Konsole again)
  4. both windows are tiled but don't have borders (Window Buttons Applet is still visible)

Expected behavior

Borders appear as soon as the window is tiled. Window Buttons Applet should hide. (Assuming the 'show:' setting is set to 'only when last active window is maximized')

Screenshots

  1. Opening Konsole window bismuth_1

  2. Opening another Konsole window bismuth_2

  3. Opening multiple windows bismuth_3

  4. Tiling settings('no borders around tiling windows' is unchecked) bismuth_4

Bismuth version

2.3.0

KDE plasma version

5.24.2

Platform KWin is running on

X11

Just a thought..

maybe when windows remember their previous size after closing them, when reopening the window it disrupts how bismuth works. This is irrelevant but just a thought.

hajisml avatar Mar 01 '22 11:03 hajisml