Description of problem: oxygen-gtk3 theme renders emacs windows unextendable verically as it truncates its lower part Steps to Reproduce: 1. Go under fvwm2 or icewm, or openbox, lxde, something which is not gnome; but with oxygen-gtk3 installed. 2 .Open an "emacs" windows (in a terminal, just type emacs) 3. Look how funny it is. It has round corners, but if you try to maximize it, either by clicking on the button maximize or with the mouse, you end up with a translucent unusable extra space. Remove oxygen-gtk3: As root: urpme oxygen-gtk3 Try again, and everything works fine. Cheers. Reproducible: Steps to Reproduce:
hugo, something for you ?
CC: (none) => hugo
(In reply to Chris Denice from comment #0) > > Steps to Reproduce: > 1. Go under fvwm2 or icewm, or openbox, lxde, something which is not gnome; > but with oxygen-gtk3 installed. I confirm the problem on kde beta 1, and I have desktop effects disabled. Running with the Oxygen desktop theme.
CC: (none) => junknospam
*** Bug 10706 has been marked as a duplicate of this bug. ***
CC: (none) => pierre-malo.denielou
Very strange. widget style should not affect the presence of window decoration in any way. Did you try using another gtk3 theme ? (Adwaita) ? If problem persists, it must be a gtk3 bug (or an emacs + gtk3) Also, you say: without gtk3, then gtk2 should be used and it the look ugly. Can you post screenshot ? emacs should work (and look nice) with oxygen-gtk2. (otherwise, means more problems again with emacs) Finally: I don't have mageia4 here yet. Can you post versions of - emacs - gtk3 - oxygen-gtk3 ? Thanks !
In fact, I can reproduce here Also happen with any gtk3 widget theme (including: "emacs" !) So: definitly either a gtk3 bug, or an emacs bug. Not oxygen-gtk. Sorry. My bet is actually emacs, setting weird X11 size hints and flags to the window manager, which confuse the window manager. Should be reported to them directly. Hugo
Please report that bug upstream at https://bugs.kde.org/ (Product=Oxygen Component=gtk3-engine) and put the bug report URL in the URL field above
Keywords: (none) => NEEDINFOCC: (none) => thierry.vignaud
@Thierry As per comment #5 This is _not_ an oxygen-gtk3 bug, and should not be reported there it is an emacs bug and should be reported to emacs.
Hi guys, I don't understand how it can be an emacs bug, the fact that emacs and others program interact with X11 how deep they want is perfectly fine. The job of gtk is to correcly override this to add its decorations no? Nonetheless, I am pretty sure it *is* an oxygen-gtk theme issue [and that would not be the first time...] First of all it seems very difficult to change theme under gtk3, gtk-chtheme only affects gtk2 themes. Googling around, I managed to find this trick: 0) with oxygen-gtk3 installed, check that starting emacs is screwed as described above. 1) create ~/.config/gtk-3.0 2) create a files "settings.ini" containing: [Settings] gtk-theme-name=Adwaita (assuming the Adwaita-gtk3 theme is installed) 3) start emacs; everything works fine. 4) Edit the same file to: [Settings] gtk-theme-name=oxygen-gtk 5) start emacs; everything is screwed cheers, chris.
@Chris, well, here, with Adwaita (and Raleigh) things are screwed too. I'll double check later on then. For the record, oxygen-gtk has nothing to do with the window decoration (this is handled by the window manager and depends whether you use kde, gnome, etc.)
As for comments like: "[and that would not be the first time...]" These are non constructive, demotivating, and you are still free to use whatever suits you best. So, please ... (also, feel free to contribute to make things better when they are not. That is actually how I started working on oxygen-gtk)
http://wstaw.org/m/2013/12/01/plasma-desktopxx3395.png Screenshot with maximized truncated emacs window using Adwaita widget theme. I have the same issue issue with oxygen-gtk3 here, and any other gtk3 theme. Now, maybe this is not the same issue as what you are reporting, which is hard to tell since you did not post a screenshot.
Created attachment 4554 [details] adwaita theme, full screen
Created attachment 4555 [details] adwaita max vertical
Created attachment 4556 [details] adwaita normal
Created attachment 4557 [details] oxygen-gtk3 full screen
Created attachment 4558 [details] oxygen-gtk3 max vertical
Created attachment 4559 [details] oxygen-gtk3 normal (nice rounded corners)
Sorry, I did not mean to be rude; I just wanted to stress that on a probabilistic basis, and in the absence of other informations, the bug has more chances to be on the theme rather than on emacs. I am happy to help you, please tell me anything I can test. I can also report the bug upstream, but that would be nice first if we could agree on what it is, emacs or oxygen, or gtk. For the screenshots, here they are! (under fvwm2) cheers, chris.
ok. Thanks for the screenshot, this is definitly different from the issues I am having. In fact the so-called nice round corners (sic) should not be there. This probably means that for some reason the emacs window is interpreted as a "menu" window (which would be an emacs bug), which tells oxygen-gtk to round the corners (as it does for menu) and probably indeed result in the incorrect maximizing. (and masking) I'll investigate further (why the window is falsely recognized as a menu) Finally: Thierry is right, now that I know better about the issue, it should better be reported to https://bugs.kde.org best regards, Hugo
(In reply to Chris Denice from comment #8) > 1) create ~/.config/gtk-3.0 > 2) create a files "settings.ini" containing: > [Settings] > gtk-theme-name=Adwaita Thank you for sharing. That tweak solves the "round corners" problem on my KDE 64 bit install.
(In reply to Chris Denice from comment #8) > First of all it seems very difficult to change theme under gtk3, gtk-chtheme > only affects gtk2 themes. Googling around, I managed to find this trick: just use gnome-tweak-tool
"Fixed" (that is: worked around) in git master. (both gtk3 and gtk3-1.2 branches)
Created attachment 4564 [details] proposed patch
Well done! just tested with the fresh oxygen-gtk3-1.3.1-2.mga4.src.rpm and emacs works fine, only the menu gets rounded as expected. I am closing the bug then. thanks for the work Hugo! Cheers, Chris.
Status: NEW => RESOLVEDResolution: (none) => FIXED