oskarsh / Yin-Yang

Auto Nightmode for KDE, Gnome, Budgie, VSCode, Atom and more
MIT License
606 stars 52 forks source link

Pop-up menu of plugin Konsole lists too many profiles #227

Closed noyannus closed 8 months ago

noyannus commented 10 months ago

Describe the bug

Pop-up of plugin Konsole lists not the actually usable profiles, but a lot more.

image

Enabled plugins

What plugins did you have enabled? If not relevant, you can remove this.

Affected versions

Operating System: Manjaro Linux KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.11 Kernel Version: 6.5.5-1-MANJARO (64-bit) Graphics Platform: X11

Additional notes

l0drex commented 8 months ago

We use the .colorscheme files in ~/.local/share/konsole and /usr/share/konsole/. Is there any difference between the detected and non-detected schemes? File structure, permissions, something like that

noyannus commented 8 months ago

Owner and group in both locations are root:root and <me>:<me>, resp., as expected.

Profiles in /usr/share/konsole/ all have 644 permissions; in ~/.local/share/konsole/ most had 770, 644, and one 600. Changed to 644, no change in YY.

I have been wrong in the OP in that the pop-up does not list Profiles, but Color shemes. Sorry.

We use the .colorscheme files

I think that the Konsole plugin looks for the wrong files. It ought to read the profiles, (*.profile), not the appearance (i.e., not*.colorscheme`). The Color shemes are included in the Profiles.

In the image below, the pop-up list the *.coloscheme, but not the *.profile, see e.g. Dark.profile. (cherry.colorscheme may be broken, it does not appear in the Edit Profile... > Appearance list. There may be other inconsistencies, I have not compared them all.)

image

l0drex commented 8 months ago

Well, the idea is to select color schemes and use them in the light and dark profiles. So the dropdown should show available color schemes, and Konsole edits the profiles.

noyannus commented 8 months ago

Well, the idea is to select color schemes and use them in the light and dark profiles. So the dropdown should show available color schemes, and Konsole edits the profiles.

If that was intended, my OP is moot. :-)

Thank you for the explanation.

Closing as resolved.