[plasmashell] [Bug 479403] Regresseion: Logout and Places buttons no longer configurable in kickoff

2024-01-22 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=479403

Sebastian Mogl  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED

--- Comment #4 from Sebastian Mogl  ---
>  That would be much better than the proposed workaround of manually disabling 
> these actions and re-implementing custom things.

Brought up by a colleague:
The Mate Desktop solved this problem by using librda to detect how the desktop
was started, which actions are available and calling the appropriate handlers.

librda: https://github.com/ArcticaProject/librda
Corresponding blogpost: https://sunweavers.net/blog/node/82

Context: Librda detects remote sessions based on Environment variables and the
logout/suspend functions call the appropriate commands.

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

[plasmashell] [Bug 480280] New: Remote Desktop logout functionality.

2024-01-24 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=480280

Bug ID: 480280
   Summary: Remote Desktop logout functionality.
Classification: Plasma
   Product: plasmashell
   Version: 5.27.5
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Session Management
  Assignee: plasma-b...@kde.org
  Reporter: sebastian.m...@treuchtlingen.de
  Target Milestone: 1.0

Currently, all the Menus that allow one to leave KDE (logout, lock screen,
poweroff, …) always assume a local session, even when running as a remote
session under x2go, xrdp, etc.

However, when running remote the actions available don't fit the use case and
should be in most cases limited to logging out and suspending the session.
(Most are useless when regular users don't even have the permissions for things
like power controls)

The lock screen could be argued over, I'm in favor of suspending the session
and completely closing the connection in order to lock it.

The Mate Desktop solved this problem by using librda to detect how the desktop
was started, which actions are available and calling the appropriate handlers.

librda: https://github.com/ArcticaProject/librda
Corresponding blog post: https://sunweavers.net/blog/node/82

Context: Librda detects remote sessions based on Environment variables and the
logout/suspend functions call the appropriate commands.

This is a resubmitted version of Bug 479403 addressing its root cause.

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

[plasmashell] [Bug 479403] Regresseion: Logout and Places buttons no longer configurable in kickoff

2024-01-24 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=479403

--- Comment #6 from Sebastian Mogl  ---
(In reply to Nate Graham from comment #5)

> Can you submit a new bug report about the original issue that prompted you
> to request this customizability, and mentioning those links? Thanks a lot!

Done, Bug 480280

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

[plasmashell] [Bug 480280] Remote Desktop logout functionality.

2024-01-24 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=480280

Sebastian Mogl  changed:

   What|Removed |Added

 CC||sebastian.mogl@treuchtlinge
   ||n.de

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

[plasmashell] [Bug 443742] Option to show subcategory structure

2024-01-04 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=443742

Sebastian Mogl  changed:

   What|Removed |Added

 CC||sebastian.mogl@treuchtlinge
   ||n.de

--- Comment #27 from Sebastian Mogl  ---
This is still a problem on 5.5 (debian bookworm). Is anyone working on this?

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

[plasmashell] [Bug 479403] New: Regresseion: Logout and Places buttons no longer configurable in kickoff

2024-01-04 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=479403

Bug ID: 479403
   Summary: Regresseion: Logout and Places buttons no longer
configurable in kickoff
Classification: Plasma
   Product: plasmashell
   Version: 5.27.5
  Platform: Debian stable
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Global Menu
  Assignee: plasma-b...@kde.org
  Reporter: sebastian.m...@treuchtlingen.de
CC: k...@privat.broulik.de, mvourla...@gmail.com
  Target Milestone: 1.0

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Kickoff
2. Open the settings dialog

OBSERVED RESULT

No Options for disabling different Sections like "Places" and the logout
buttons

EXPECTED RESULT

Being able to disable different menu sections like before the redesign
happened.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.27.5

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

[plasmashell] [Bug 443742] Option to show subcategory structure

2024-01-11 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=443742

--- Comment #30 from Sebastian Mogl  ---
(In reply to Nate Graham from comment #29)
> FWIW in Plasma 5.5, the subcategory structure should definitely be there.

Apologies I'm on 5.27.5 (according to `plasmashell --version`), messed
something up in the evening there.

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

[plasmashell] [Bug 479403] Regresseion: Logout and Places buttons no longer configurable in kickoff

2024-01-15 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=479403

--- Comment #2 from Sebastian Mogl  ---
The situation is a remote desktop setup with x2go which turns all the options
in the leave menu non-functional (partly because x2go-bugs are also involved).

The workaround for the current generation of the Desktop with the old menu is
to disable the native logout menu and implement "logout" and "pause session" as
.desktop files that call the appropriate x2go commands which has worked very
well so far. (Of course I'd prefer if that functionality could be integrated
into the native leave menu, but I doubt that this will happen anytime soon)

Since opening this bug I've also opened an MR:
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1966

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

[plasmashell] [Bug 480280] Power management actions shown even when they don't fit the use case of remote login

2024-08-28 Thread Sebastian Mogl
https://bugs.kde.org/show_bug.cgi?id=480280

--- Comment #1 from Sebastian Mogl  ---
So after doing some research, this is probably best implemented as a
session-management-backend in plasma-worspace in
libkworkspace/sessionmanagementbackend.cpp¹.

* New Class that implements and only allows logout.
* logout by running the command: `x2goterminate-session`
* Session status would be always Ready
* Hook in initializer that uses the X2go-Backend if the `X2GO_SESSION`
envoirnment variable is set before checking for logind after checking for the
test session variable.

¹:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libkworkspace/sessionmanagementbackend.cpp

Locking could be handled by running `x2gosuspendsession`, but that isn't
handled by the backends yet.

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