| Summary: | tdecmshell autostart module crashes | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Q4OS Team <q4os> |
| Component: | tdeadmin | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, michele.calgaro, q4os |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2696 | ||
|
Description
Q4OS Team
2016-12-06 13:48:14 CST
Confirmed in buster + R14.1 This seems to be a problem with adding the system menu Konsole entry to autostart. Adding other applications is working, as well as adding Konsole by selecting the executable file (/opt/trinity/bin/konsole) directly. Will take a look. There are a few things going on here. 1) the kcmautostart applications has a few bugs on its own. Not much relevant to the problem but worth noting 2) when selecting System->Konsole from the menu to add to autostart, we are not selecting an Application but a Service (major point) 3) when selecting /opt/trinity/bin/konsole we are selecting an Application Services are not executable, if you try to double click a .desktop file in /opt/trinity/share/services, you will get an error message saying that the type Service is unknown. (side note, changing Service to Application in the file, seems to work fine) Application on the other hand are executable. Proposed fix (still to be done): 1) fix various bugs in kcmautostart and add crash protection in case a service is selected 2) investigate why a Service is selected for Konsole instead of an Application, since the latter is also avaiable. Once understood, fix it In the meantime, a workaround is to select the executable file directly from the disk. Commits e5262dc (R14.1) and 6e41dc8 (R14.0) added crash protection to the autostart module when a Service is selected. They also fixes some other crashes and errors and improve code readability. Still need to fix the Konsole selection though. Commits - bcdfbb95, c18840c7 (R14.1) - 35f61f80, 4c0290ec (R14.0) solves the problem with the service lookup. Services are now lookup by .desktop file path rather than by name, since multiple desktop files could use the same Name field for different things. This solves the bug, I can now add Konsole to the autostart manager. @Q4OS, please check and let me know if the bug can be closed. Works fine now, thanks |