You are not logged in.

#1 2015-10-09 04:23:54

JasonMehmel
Member
Registered: 2015-10-06
Posts: 76

[solved] Some windows not re-sizeable? (GTK themes)

So, I'm noticing that Document Viewer, the Evince one, doesn't seem to be re-sizeable. I can maximize the window and re-tile it, but I can't change the size by clicking near the edge of a window and dragging the window into the desired shape.

This isn't every window. The file browser, Chrome, GIMP, VLC, they're all normally smooshed around with the resizing options. But I do see the same lack of resizing options in the Archive Manager.

Is it a Gnome thing? I've been poking around, a few similar reports but nothing solved.

Last edited by JasonMehmel (2015-10-10 18:34:07)


Fortune favours the bold.
A BL-hopeful
Asus Zenbook UX330

Offline

#2 2015-10-09 04:48:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,664

Re: [solved] Some windows not re-sizeable? (GTK themes)

JasonMehmel wrote:

So, I'm noticing that Document Viewer, the Evince one, doesn't seem to be re-sizeable. I can maximize the window and re-tile it, but I can't change the size by clicking near the edge of a window and dragging the window into the desired shape.

This isn't every window. The file browser, Chrome, GIMP, VLC, they're all normally smooshed around with the resizing options. But I do see the same lack of resizing options in the Archive Manager.

Is it a Gnome thing? I've been poking around, a few similar reports but nothing solved.

It is a problem with gtk3 ClientSide Decorations. The fix has been done with the Bunsen themes on github, but seems like it hasn't gone into the repos yet. Here is the initial fix (which was subsequently tweaked):

Edit `<theme name>/gtk-3.0/gtk-widgets.css` and change it to...

/* CSD hack */

.window-frame, .window-frame:backdrop {
 box-shadow: 0 0 0 black;
 border-style: none;
 margin: 1;
 border-radius: 0;
}

If you want to, you can get the relevant files from github and copy them into your `/usr/share/themes` directories.

Last edited by damo (2015-10-09 05:20:43)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2015-10-09 04:51:04

JasonMehmel
Member
Registered: 2015-10-06
Posts: 76

Re: [solved] Some windows not re-sizeable? (GTK themes)

Ah, damo, saving me once again!

I'll try that tweak on the weekend and post this as solved after that!


Fortune favours the bold.
A BL-hopeful
Asus Zenbook UX330

Offline

#4 2015-10-09 05:19:07

damo
....moderator....
Registered: 2015-08-20
Posts: 6,664

Re: [solved] Some windows not re-sizeable? (GTK themes)

NB You can still resize the windows with Alt-Rclick wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2015-10-09 05:24:32

JasonMehmel
Member
Registered: 2015-10-06
Posts: 76

Re: [solved] Some windows not re-sizeable? (GTK themes)

Well. I suppose that would work, too!

(I'm still going to apply the fix, just to try it...)


Fortune favours the bold.
A BL-hopeful
Asus Zenbook UX330

Offline

#6 2015-10-09 05:33:05

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: [solved] Some windows not re-sizeable? (GTK themes)

JasonMehmel wrote:

So, I'm noticing that Document Viewer, the Evince one, doesn't seem to be re-sizeable. ... but I can't change the size by clicking near the edge of a window and dragging the window into the desired shape. ...

Which version of Evince is this? You can get that information from Evince > Help > About or by running apt-cache policy evince in a terminal.


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#7 2015-10-09 05:41:39

damo
....moderator....
Registered: 2015-08-20
Posts: 6,664

Re: [solved] Some windows not re-sizeable? (GTK themes)

vasa1 wrote:

Which version of Evince is this?

The one in Stable ie `3.14.1-2`

BTW it is a gtk3 thing - several other gtk3 apps show the same or similar behaviour.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2015-10-09 12:01:20

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: [solved] Some windows not re-sizeable? (GTK themes)

damo wrote:
vasa1 wrote:

Which version of Evince is this?

The one in Stable ie `3.14.1-2`

BTW it is a gtk3 thing - several other gtk3 apps show the same or similar behaviour.

Thanks for that. I asked because I have an older Evince, 3.10, on Lubuntu 14.04 LTS and that functions "normally".

As you point out, it has to do with client side decorations. One explanation of CSD is here: http://stackoverflow.com/questions/2865 … decoration. There are probably better explanations elsewhere.


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#9 2015-10-10 18:33:41

JasonMehmel
Member
Registered: 2015-10-06
Posts: 76

Re: [solved] Some windows not re-sizeable? (GTK themes)

damo, that worked. I applied it to all the bunsen themes.

Would I correct in guessing that the margin:1 indicates the area the mouse has to hover over to start the resize option? Or would that be border-radius?


Fortune favours the bold.
A BL-hopeful
Asus Zenbook UX330

Offline

#10 2015-10-10 18:44:55

damo
....moderator....
Registered: 2015-08-20
Posts: 6,664

Re: [solved] Some windows not re-sizeable? (GTK themes)

JasonMehmel wrote:

damo, that worked. I applied it to all the bunsen themes.

Would I correct in guessing that the margin:1 indicates the area the mouse has to hover over to start the resize option? Or would that be border-radius?

Yes, `margin:` sets the margin area that the mouse can use. You can try it with a larger value, but some themes can look quite ugly potentially.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB