Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window list applet cannot be set to "never group windows" #1271

Closed
frankzen opened this issue Nov 17, 2021 · 30 comments
Closed

Window list applet cannot be set to "never group windows" #1271

frankzen opened this issue Nov 17, 2021 · 30 comments

Comments

@frankzen
Copy link

Expected behaviour

Set applet to never group

Actual behaviour

Applet continues to group windows

Steps to reproduce the behaviour

Change applet to never group. Applet continues to group

MATE general version

1.26

Package version

mate-applets-1.26.0-1.fc35.x86_64

Linux Distribution

Fedora Rawhide

Link to bugreport of your Distribution (requirement)

Working on it. As soonas I figure out how!

@mbkma
Copy link
Member

mbkma commented Nov 19, 2021

This issue should be already fixed in version 1.26.1 (see #1250). Please test it with the newer version.

@mbkma mbkma closed this as completed Nov 19, 2021
@mbkma mbkma reopened this Nov 19, 2021
@mbkma
Copy link
Member

mbkma commented Nov 19, 2021

What is your version of mate-panel?

@frankzen
Copy link
Author

I replied via email but apparently it never made it here.

Name : mate-panel
Version : 1.26.1
Release : 1.fc35
Architecture : x86_64
Size : 13 M
Source : mate-panel-1.26.1-1.fc35.src.rpm
Repository : @System
From repo : fedora
Summary : MATE Desktop panel and app

image

@raveit65
Copy link
Member

raveit65 commented Nov 20, 2021

Fedora-34/35 is using mate-panel-1.26.1 with #1252
Setting applets to never group and always group are working in my f34, but it seems that group if there is no space is broken. This setting does not group when eg. many terminals windows are open.

@frankzen
Copy link
Author

Certainly doesn't work on my machine . what do you mean by "it seems that group if there is no place is broken" ???

@raveit65
Copy link
Member

There is a third option, which calls group if there is no space on the panel

@frankzen
Copy link
Author

frankzen commented Jan 5, 2022

Still not working on Fedora 35. Mate is v 1.26-0-1. Works fine on Debian Mate there is v 1.26-0-2. I guess it's Fedora's problem for not updating?

@raveit65
Copy link
Member

raveit65 commented Jan 5, 2022

There is no official mate-desktop tarball with 1.26-0-2 https://pub.mate-desktop.org/releases/1.26/
And fedora use latest mate-panel version which is 1.26.1

@mbkma
Copy link
Member

mbkma commented Jan 5, 2022

Setting applets to never group and always group are working in my f34, but it seems that group if there is no space is broken. This setting does not group when eg. many terminals windows are open.

@raveit65 the option group windows when space is limited works here on debian testing, mate-panel master branch:
Peek 2022-01-05 20-50
The grouping only takes effect when there is very limited space. So maybe try to open a lot more terminal windows.

@frankzen
Copy link
Author

frankzen commented Jan 5, 2022

There is no official mate-desktop tarball with 1.26-0-2 https://pub.mate-desktop.org/releases/1.26/ And fedora use latest mate-panel version which is 1.26.1

frank@franklin:~$ apt show mate-panel
Package: mate-panel Version: 1.26.1-2
Priority: optional Section: x11
Maintainer: Debian+Ubuntu MATE Packaging Team debian-mate@lists.debian.org
Installed-Size: 1,738 kB

@mbkma
Copy link
Member

mbkma commented Jan 5, 2022

@frankzen that is from debian. @raveit65 was referring to upstream MATE.
On my debian testing machine the always group and never group option also work fine (I have the same package version as you).

@raveit65
Copy link
Member

raveit65 commented Jan 5, 2022

@mbkma
I have no idea which patches debian added to their builds.
Fedora use vanila 1.26.1, https://src.fedoraproject.org/rpms/mate-panel/commits/f35

@frankzen
In 3 posts you posted 3 different versions. This is not helpful.

@mbkma
Copy link
Member

mbkma commented Jan 5, 2022

@raveit65 I use mate-panel from master branch, self-compiled, without any patches and all options work fine.

@raveit65
Copy link
Member

raveit65 commented Jan 5, 2022

Good, but i can't push master to fedora stable :)
Is there a commit in master which has fixed the issue?
Can someone point me to debian git repos or what ever they use, to see what they did ?
Sorry, i am fedora maintainer and i have no clue about debian infrastructure :P

@mbkma
Copy link
Member

mbkma commented Jan 6, 2022

https://salsa.debian.org/debian-mate-team/mate-panel/-/tree/master/debian/patches

It seems that they just apply rda-support patches.

@raveit65
Copy link
Member

raveit65 commented Jan 6, 2022

RDA support need to be reviewed #824
Beside from this fact rda support has no influence for windows-list applet.
As it is a wnck-applet, which libwnck version is used by debian?

@mbkma
Copy link
Member

mbkma commented Jan 6, 2022

on debian testing:

$ apt info libwnck-3-dev 
Package: libwnck-3-dev
Version: 40.0-2

@raveit65
Copy link
Member

raveit65 commented Jan 6, 2022

My ideas are running out, but at least i could never reproduce the issue with fedora, see my comment #1271 (comment)

@frankzen
Copy link
Author

frankzen commented Jan 6, 2022

I was looking at comparisons in dconf-editor and I noticed this in Fedora. I don't know whether it is significant. In Debian there is no "prefs' sub-section like in fedora.
fedora-dconf

@raveit65
Copy link
Member

raveit65 commented Jan 7, 2022

The grouping only takes effect when there is very limited space. So maybe try to open a lot more terminal windows.

Confirmed, it is working when i open about 18-19 terminal windows. That's a lot.
Edit:
Maybe it counts the place of all workspace ?
Though show only windows from current workspace is selected.

@raveit65
Copy link
Member

raveit65 commented Jan 7, 2022

@frankzen
Can you please test it with a new fresh user account?

@raveit65
Copy link
Member

raveit65 commented Jan 7, 2022

I was looking at comparisons in dconf-editor and I noticed this in Fedora. I don't know whether it is significant. In Debian there is no "prefs' sub-section like in fedora.

I think this folder will only created when you change something

@mbkma
Copy link
Member

mbkma commented Jan 7, 2022

The grouping only takes effect when there is very limited space. So maybe try to open a lot more terminal windows.

Confirmed, it is working when i open about 18-19 terminal windows. That's a lot. Edit: Maybe it counts the place of all workspace ? Though show only windows from current workspace is selected.

As you can see in my gif, the grouping happens earlier if the window-list applet has very little space, i.e. if it is near to another applet.

@raveit65
Copy link
Member

raveit65 commented Jan 7, 2022

Yes of course i did understand your gif before. But with normal Fedora panel layout i have enough space to open 8-9 terminal windows, so i would expect that it starts grouping with the tenth window and not after 19 windows.
Any way, not a problem for me as i don't use the feature. No need to open so much terminals or other applications for one workspace ;)

@frankzen
Copy link
Author

frankzen commented Jan 7, 2022

@frankzen Can you please test it with a new fresh user account?

Yes you are right. A newly created user does not have that problem. However the always group windows does not work with the new user. Is there a way to fix without a total re-install ?

@raveit65
Copy link
Member

raveit65 commented Jan 7, 2022

@frankzen
I think you need fresh new dconf settings.
First you can try to reset the panel with mate-panel --reset --replace

Whole dconf settings are saved in /run/user/1000/dconf/user.
You can try to delete this file in non graphic mode and not logged in as user from your root account.
But than you loose all settings.
Or check dconf manual for reset.

[rave@mother ~]$ dconf help

Usage:
  dconf COMMAND [ARGS...]

Commands:
  help              Show this information
  read              Read the value of a key
  list              List the contents of a dir
  write             Change the value of a key
  reset             Reset the value of a key or dir
  compile           Compile a binary database from keyfiles
  update            Update the system databases
  watch             Watch a path for changes
  dump              Dump an entire subpath to stdout
  load              Populate a subpath from stdin

Use 'dconf help COMMAND' to get detailed help.

But panel is using dynamically dconf path, so it isn't trivial to use this tool.

@raveit65
Copy link
Member

raveit65 commented Jan 7, 2022

Or try gsettings

[rave@mother ~]$ gsettings help   
Usage:
  gsettings --version
  gsettings [--schemadir SCHEMADIR] COMMAND [ARGS?]

Commands:
  help                      Show this information
  list-schemas              List installed schemas
  list-relocatable-schemas  List relocatable schemas
  list-keys                 List keys in a schema
  list-children             List children of a schema
  list-recursively          List keys and values, recursively
  range                     Queries the range of a key
  describe                  Queries the description of a key
  get                       Get the value of a key
  set                       Set the value of a key
  reset                     Reset the value of a key
  reset-recursively         Reset all values in a given schema
  writable                  Check if a key is writable
  monitor                   Watch for changes

Use ?gsettings help COMMAND? to get detailed help.

@lukefromdc
Copy link
Member

lukefromdc commented Jan 7, 2022 via email

@frankzen
Copy link
Author

frankzen commented Jan 8, 2022

It is possible to reset everything in a user account by moving all hidden (.something) files and directories to a backup directory, logging out, and back in. You can then restore items one by one looking for the problem to recur to save things like browser customization. In other works, you can nuke the settings while keeping both the install and the data.

This is the method I picked - took some time to sort it all out but I am largely back to normal now. I am curious as to how the whole thing happened.
Thanks to all for the advice.

@raveit65
Copy link
Member

raveit65 commented Jan 8, 2022

I am so happy that we could help you.

@raveit65 raveit65 closed this as completed Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants