maximus doesn't undecorate on window opened
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maximus (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Maximus maximize but doesn't undecorate opened window.
You have to unmaximize then maximize each time you open a window to remove the decorations.
Nevertheless it works perfectly with some rare applications (see below).
System:
Xubuntu 12.04.1 LTS LiveCD (virtualized).
Package:
maximus 0.4.14-2 0
Step to reproduce:
1. Install maximus
2. Execute maximus
3. Open thunar
What happened:
Maximus succeed at maximizing it
but failed at removing its window-decorations.
What I expected to happen:
Automatic maximizing *and* removing window-decoration
Gconf settings (default):
$ gconftool-2 -a /apps/maximus
undecorate = true
binding = disabled
no_maximize = false
Maximus fails with :
thunar
firefox
thunderbird
leafpad
gmusicbrowser
parole
Maximus works with :
xfce4-terminal
abiword
-------------------
I tryed to look at the code, and got it working "right" by removing the first condition (see below)
file:
maximus/
line 308:
/* Make sure the window supports maximising */
actions = wnck_window_
if (actions & WNCK_WINDOW_
&& actions & WNCK_WINDOW_
&& actions & WNCK_WINDOW_
&& actions & WNCK_WINDOW_
; /* Is good to maximise */
else
return TRUE;
My tests show that
actions & WNCK_WINDOW_
return 0 when it should not.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: maximus 0.4.14-2
ProcVersionSign
Uname: Linux 3.2.0-29-generic i686
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
CasperVersion: 1.315
Date: Sat Dec 1 01:38:39 2012
LiveMediaBuild: Xubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
ProcEnviron:
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: maximus
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.