maximus doesn't undecorate on window opened

Bug #1085321 reported by Zelouille
22
This bug affects 3 people
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
        exclude_class = [Totem]
        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/precise/src/maximus-app.c

line 308:
   /* Make sure the window supports maximising */
  actions = wnck_window_get_actions (window);
  if (actions & WNCK_WINDOW_ACTION_RESIZE
      && actions & WNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY
      && actions & WNCK_WINDOW_ACTION_MAXIMIZE_VERTICALLY
      && actions & WNCK_WINDOW_ACTION_MAXIMIZE)
    ; /* Is good to maximise */
  else
    return TRUE;

My tests show that
    actions & WNCK_WINDOW_ACTION_RESIZE
return 0 when it should not.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: maximus 0.4.14-2
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
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)

Revision history for this message
Zelouille (zelouille) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maximus (Ubuntu):
status: New → Confirmed
Revision history for this message
Boe Saber (boe-saber) wrote :

Found a duplicate with a patch file...
https://bugs.launchpad.net/maximus/+bug/1367420

Any links to working package or binary file with this fix ?..

Im new to compiling and can't get my own binary using sources..
But this bug drives me mad !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.