-
-
Notifications
You must be signed in to change notification settings - Fork 117
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 - stretched buttons on vertical panel #269
Comments
I had the same problem and I run "mate-panel --reset" (which resets the panel layout) and the vertical windows list mate applet got fixed. I think that this is a configuration problem. |
Hello mihai-bica, Thanks for sharing your results. Unfortunately,
does not fix the issue for me: it just makes top and bottom panels as by default. When I reconfigure right panel, buttons are stretched again. Igor. |
Hi, you are right. mate-panel --reset does not fix the problem. However, I downloaded the source code and did this modification: diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 721aef2..53db860 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -126,6 +126,7 @@ static void applet_change_orient(MatePanelApplet* applet, MatePanelAppletOrient
wnck_tasklist_set_orientation (tasklist->tasklist, new_orient);
#endif
#endif
+ wnck_tasklist_set_orientation (tasklist->tasklist, new_orient); //MIHAI
tasklist_update(tasklist);
}
@@ -451,6 +452,8 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
#endif
#endif
+ wnck_tasklist_set_orientation (tasklist->tasklist, tasklist->orientation); //MIHAI
+
wnck_tasklist_set_icon_loader(WNCK_TASKLIST(tasklist->tasklist), icon_loader_func, tasklist, NULL);
g_signal_connect(G_OBJECT(tasklist->tasklist), "destroy", G_CALLBACK(destroy_tasklist), tasklist); mihai@mihai-vb ~/git/mate-panel $ and built it and the pannel got fixed. I am having a fixed panel right now on my linux mint 17 mate. Sorry for just pasting the code here. I don't have time to commit it ... maybe I will commit at the end of this week. Thanks. |
Hi again, |
Hi, I observed the trembling when I had many windows open and it completely However, I don't know how it behaves on other platforms. I tested only on On Apr 27, 2015 12:16, "usv299792458" [email protected] wrote:
|
I will test on Debian 8 and write you my results in a few days. |
Hello Mihai, |
Hi, I'm glad to hear this. What would be the next step? Do I have to commit this code fix? I refactored a bit the code. Removed the mihai@mihai-vb ~/git/mate-panel $ git diff
mihai@mihai-vb ~/git/mate-panel $ Thanks, |
I would advise you to contact the developers. |
…ntation mate-desktop#269" This reverts commit 7ddb320.
Hello mihai-bica, Did you write to Debian mate-panel maintainers that they remove '#ifdef WNCK_CHECK_VERSION' around 'wnck_tasklist_set_orientation' ? BTW, did you see this? I have stumbled upon it just now: #58 |
Hi usv299792458, I didn't write to Debian pate-panel maintainers. If you have the time, can you please ask them to remove the '#ifdef WNCK_CHECK_VERSION (3, 4, 6)' around 'wnck_tasklist_set_orientation' ? (I don't know who to email/ask and don't have time to search.) 'BTW, did you see this? I have stumbled upon it just now: #58', no I didn't see it. I also know that it was working in the past back to gnome 2 and it got broken recently around mint 17. The bug was introduced by adding this 'ifdef' and not upgrading 'libwnck' to version 3.4.6 in Debian. Upgrading 'libwnck' to version 3 could be problematic because it is based on GTK 3 which is experimental and that will not happen soon (see latest comment #300). IMHO, the best fix for us, (until we will have GTK3 mate support) is to revert the 'ifdef' in the Debian mate-panel. |
This issue is posted to Debian BTS: https://bugs.debian.org/785272 |
Hi mihai-bica, In case you have some information for Debian mate-panel maintainers, simply send it to [email protected] |
This should be fixed now in 1.18 because of migration to GTK+3. |
In Gnome 2 I used to have this layout.
![gnome](https://cloud.githubusercontent.com/assets/1787194/5520527/93f9f95a-89ae-11e4-830b-1f6afe95a8ee.png)
Unfortunately, in MATE panel, in Window List, window buttons are stretched vertically.
![mate](https://cloud.githubusercontent.com/assets/1787194/5520528/9a8f63cc-89ae-11e4-8ca0-e5b896ac7a23.png)
My setup:
MATE version 1.8.1 (Debian Jessie).
Steps to reproduce:
Select TraditionalOK theme.
Remove all panels except one, make it right-sided, set width to 30 pixels, run an application.
The text was updated successfully, but these errors were encountered: