This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Aurora theme buttons not responding correctly to touch press

Tags: None
(comma "," separated)
bedtime
Registered Member
Posts
5
Karma
0
OS: Manjaro [stable]
KDE frameworks version: 5.94.0
KDE plasma version: 5.24.5
Display server: wayland
Device: Raspberry Pi with 7" Official Raspberry Pi touchscreen

*EDITED - View bottom for edit*

I'm trying to get the window decorations to respond properly to touch presses. The theme seems to work perfectly with a mouse.

When I press the close button on konsole with the window in a non-maximized state, the program will not close immediately but will just continue to highlight the hover color on the close button. The button will have to be pressed again to close the window. Other programs are affected too, but not all. In comparison, if I use the 'Breeze' theme, it closes in one press, as it should.

The theme I'm using as a template is the 'borderline' theme, which can be installed through setting's 'Get New Window Decorations'. Both the original theme and my edited theme have the same issue.

borderlinerc:
Code: Select all
[General]
TitleAlignment=Center
TitleVerticalAlignment=Center
ActiveTextColor=255,255,255
InactiveTextColor=255,255,255
Animation=50
Shadow=false

[Layout]
BorderLeft=5
BorderRight=5
BorderBottom=5
BorderTop=5
TitleHeight=16
TitleEdgeTop=4
TitleEdgeBottom=4
TitleEdgeLeft=4
TitleEdgeRight=4
TitleEdgeTopMaximized=2
TitleEdgeBottomMaximized=4
TitleEdgeLeftMaximized=2
TitleEdgeRightMaximized=2
TitleBorderLeft=0
TitleBorderRight=0
ButtonWidth=24
ButtonHeight=24
ButtonSpacing=4
ButtonMarginTop=0


close.svg:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
  xmlns="http://www.w3.org/2000/svg"
  xmlns:svg="http://www.w3.org/2000/svg"
  version="1.1"
  width="96"
  height="48"

  stroke-width="2.5"
  >
  <g> <!--standard-->
    <g id="active-center" transform="translate(0,0)"
      stroke="#ffffff"
      >
      <circle cx="12" cy="12" r="12"
        opacity="0"
      />

      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
    <g id="inactive-center" transform="translate(0,24)"
      stroke="#ffffff"
      >
      <circle cx="12" cy="12" r="12"
        opacity="0"
        />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
  </g>
  <g> <!--hover-->
    <g id="hover-center" transform="translate(24,0)"
      stroke="#000000"
      >
      <rect x="0" y="0" width="24" height="24"
        style="fill:#ffffff;stroke-width:0;opacity:0.6"
      />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
    <g id="hover-inactive-center" transform="translate(24,24)"
      stroke="#000000"
      >
      <rect x="0" y="0" width="24" height="24"
        style="fill:#ffffff;stroke-width:0;opacity:0.6"
      />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
  </g>
  <g> <!--pressed-->
    <g id="pressed-center" transform="translate(48,0)"
      stroke="#000000"
      >
      <rect x="0" y="0" width="24" height="24"
        style="fill:#ffffff;stroke-width:0;opacity:1.0"
      />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
    <g id="pressed-inactive-center" transform="translate(48,24)"
      stroke="#000000"
      >
      <rect x="0" y="0" width="24" height="24"
        style="fill:#ffffff;stroke-width:0;opacity:1.0"
      />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
  </g>
  <g> <!--disabled-->
    <g id="deactivated-center" transform="translate(72,0)"
      stroke="#ffffff"
      opacity="0.2"
      >
      <circle cx="12" cy="12" r="12"
        opacity="0"
        />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
    <g id="deactivated-inactive-center" transform="translate(72,24)"
      stroke="#ffffff"
      opacity="0.2"
      >
      <circle cx="12" cy="12" r="12"
        opacity="0"
        />
      <polyline points="18,6 6,18" />
      <polyline points="6,6 18,18" />
    </g>
  </g>
</svg>


metadata.desktop:
Code: Select all
[Desktop Entry]
Name=Borderline

X-KDE-PluginInfo-Author=Travis Guenther
X-KDE-PluginInfo-Version=1.1
X-KDE-PluginInfo-License=MIT


Any ideas?

*EDIT and ujpdate*

This seems to only happen under the Wayland server. Something very close to this happened with Phosh (GTK); when I would select an app from the app drawer (via touchscreen) and go back later to view the app drawer, the app would still be highlighted with the hover color, despite the fact that I was no longer hovering/pressing.

Sounds like it might be a Wayland issue?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]