protonscr

[KDE, Oxygen] Wrong resize cursor on window edges

steamopen reviewed
ValveSoftware/steam-for-linux#1831 · opened 2013-02-16 by Maia-Everett · updated 2019-07-18 · 10 comments · github
MMaia-Everett 2013-02-16 github

When using the KDE Oxygen theme, Steam uses ugly black and white cursors from the default X theme, whereas all other applications (whether they are GTK, Qt, Java, etc.) use the Oxygen cursor.

The problem here is that Steam paints its own window decorations and tries to use the cursors top_left_corner, bottom_left_corner, top_right_corner and bottom_right_corner, as well as left_side, right_side, top_side and bottom_side, even if they are not present in the theme.

Most applications, on the other hand, use the window manager's decorations, and the window manager (KWin) falls back to the cursors size_fdiag, size_bdiag, size_hor and size_ver if the listed cursors are not present.

cursor_difference

Llexxus-lex 2013-02-16 github

this bug in Oxygen, install new theme cursors.
I installed Oxygen Neon - all work fine

Sorry my En, i'm from Russia

?ghost 2013-02-16 github

Since I'm running Cinnamon on Debian I don't know if it will work for you but I had the same problem with Steam using the system cursor theme instead of my actual theme.
Running update-alternatives --config x-cursor-theme as root, should show you a list of cursor themes available for the whole system, select the one you want and Steam will use it.

Bbootkiller 2013-02-16 github

I can confirm this. However in my case it will only show the wrong cursor when hovering the windows border, it will show the correct cursor when you click and drag.

MMaia-Everett 2013-02-16 github

Same here, bootkiller.

lexxus-lex, I don't think this is a bug in Oxygen, since fallback cursors are available and window managers behave correctly. And applications that do their own window decorations, such as Steam, by necessity have to replicate some of the functionality of a window manager, such as correct resizing.

Llexxus-lex 2013-02-17 github

to Sikon, nope, bug with oxygen cursors https://bugs.launchpad.net/ubuntu/+source/oxygencursors/+bug/1094140

I change cursor theme, and look at this:

http://youtu.be/PwRpiJoopSQ

MMaia-Everett 2013-02-18 github

That "bug" was filed by me, and it was intended to ask Debian/Ubuntu developers to create, basically, a workaround (since well-behaved applications work correctly with the current theme). The arrow cursor has since been fixed in Steam itself and Valve is perfectly capable of fixing the resize cursors too.

Llexxus-lex 2013-02-18 github

Sikon, nope, Ubuntu not develop KDE and Oxygen. Bug not steam, bug in oxygen cursors (default)

MMaia-Everett 2013-02-19 github

I know Ubuntu didn't develop them. My intent was to make a temporary workaround.

But there needs to be a permanent solution, and the solution has to be implemented in Steam. This is not Oxygen's problem. A cursor theme is not required to ship the cursors missing in Oxygen. It can be missing those specific resize cursor, in which case window managers will fall back to the more generic resize cursors.

And window managers already do that and include code to fall back on different cursors. It's Steam that doesn't. Because Steam paints its own window decorations.

How, exactly, is unimplemented functionality in Steam a bug in Oxygen?

TTheSgtPepper23 2017-02-23 github

You have to change the names of the cursors in the folder /usr/share/icons/ oxy- (your teme) to change them you can do it from the terminal in superuser mode.

size_ver --> top_side (make a copy of top_side and call it bottom_side)
size_hor --> right_side (make a copy of right_side and call it left_side)
size_bdiag --> top_right_corner (make a copy of top_right_corner and call it bottom_left_corner)
size_fdiag --> top_left_corner (make a copy of top_left_corner and call it bottom_right_corner)

Then you reboot, and that's all (it's only for the window resize icons)

Sorry for the bad english

Sstevethepocket 2018-01-31 github

As of the current beta that fixed some Linux issues, resize pointers are now invisible until I press the mouse button; then they correctly display as the KDE standard ones I have set. Anyone else want to give the beta a go and compare your experience?

Nothing extracted yet.