Windows that span screen width or height cannot be resized in that dimension

Bug #137134 reported by Joachim Noreiko
8
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Low
Unassigned
firefox (Ubuntu)
Invalid
Low
Mozilla Bugs
metacity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I sometimes find that a firefox window that touches opposite edges of the screen can't be moved or resized in that direction.
For example, a browser window that touches both top and bottom panels can't be moved up or down or reduced in height. The DOM inspector set to full width can't be moved left or right.
With the mouse on the window border, nothing happens -- the pointer moves but the window edge doesn't follow. With the window menu's resize command, the mouse pointer seems to jump to far, going into the panel.

This seems to apply to windows that are created this size, not to windows that are enlarged to this size.

I'm able to reproduce this by opening the DOM inspector, resizing it to full width, closing it, then opening it again. The window remembers its previous size and now can't be reduced in width.

Revision history for this message
libertyernie (libertyernie) wrote :

Should this bug be filed in metacity?

Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

I can't reproduce it with other applications.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Is firefox the only app you see this in? it works properly for all other browsers? since browsers are really the only app that gets full screen automaticly most other apps run in mid screen like nautilus.

Changed in firefox:
assignee: nobody → mozilla-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

I tried maximizing gedit and nautilus and both were normal.
My Firefox normally launches a window that is full-height but not maximized (ie not full width).

Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

Ok... had more of a play around with this. I can reproduce with both Epiphany and Gedit.

To reproduce with gedit:
1. Launch gedit.
2. Size the window so it's full height but not full width.
3. quite gedit
4. relaunch gedit. It should have remembered the last window size.
5. try to change the height. You can't.

This also happens with window that is full width and partial height.

The workaround is to maximise and then restore.

Kjell Braden (afflux)
Changed in firefox:
status: Incomplete → Invalid
Revision history for this message
Albert Damen (albrt) wrote :

I can only reproduce this when compiz is active. With desktop-effects switched off, the problem does not occur.
As metacity is not active when desktop-effects are on, I think this would actually be a bug in either compiz or gtk-window-decorator.
Joachim, can you please try what happens for you if you switch off desktop-effects?

Changed in metacity:
status: New → Incomplete
Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

I'm not running compiz, and desktop-effects are not enabled.

Revision history for this message
Albert Damen (albrt) wrote :

Contact on #ubuntu-bugs showed Joachim is using Feisty, with Metacity 2.18.2
I am using Gutsy, with Metacity version 2.20.0. I did a second test in a virtual machine with Gutsy, which also did not show the problem. As this problem is solved in the development version, I will mark this as fix released for Metacity.
I added Compiz as I do see this problem with desktop-effects enabled.
Joachim, thanks for reporting this bug.

Changed in metacity:
status: Incomplete → Fix Released
Revision history for this message
Rouben (rouben) wrote : Re: Windows that touch opposite edges of the screen can't be resized

I can't reproduce this issue with latest Compiz + Emerald on Gutsy.

Revision history for this message
Travis Watkins (amaranth) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in compiz:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Albert Damen (albrt) wrote :

Yes it is still happening in both Gutsy and Hardy. While testing I found the possible cause of the problem. When I resize the window it is very well possible to push the active part of the window border (where you can grab it with the mouse) to the next workspace on the cube. Rotating the cube makes the active part of the border visible again, so you can push it back to the original workspace.
Maximizing the size of the window helps in Gutsy, because it brings all borders completely on the correct workspace. In Hardy a maximized window does not seem to have active borders at all, so the trick to maximize the window and then resize does not work.
In my opinion it should not be possible to push the border of a window to the next workspace.
In case it may be relevant, I am using the Human theme and gtk-window-decorator on both my Gutsy and my Hardy system.

Changed in compiz:
importance: Low → Wishlist
status: Incomplete → New
Revision history for this message
Joachim Noreiko (jnoreiko) wrote : Re: should not be able to resize past viewport

I can no longer reproduce this in 7.10 with visual effects set to 'none'.

Albert, I'm not sure how your theory explains the problem when the window is tall and narrow...

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi there
Can you reproduce this in Hardy with the latest upgrades?

Thanks in advance.

Changed in compiz:
status: New → Incomplete
Revision history for this message
Albert Damen (albrt) wrote :

Yes I can. However, feel free to close this bug as I seem to be the only one who notices this and I can live with it.

Revision history for this message
Hew (hew) wrote :

Albert: I can't reproduce this with compiz in Intrepid. Is this still an issue for you with compiz 0.7.7? Thanks in advance.

Changed in compiz:
importance: Wishlist → Low
Revision history for this message
Albert Damen (albrt) wrote :

Yes, I can still reproduce on my up-to-date Intrepid system.
To make sure it is not a problem with old settings, I also reproduced it with an Alpha6 live-cd:

- boot Alpha 6 live-cd
- enable universe repository
- install compizconfig-settings-manager
- in ccsm, disable "desktop wall", enable "desktop cube" and "rotate cube"
- in ccsm, "general", "desktop size" set "Horizontal Virtual Size" to 4 (so we have a real cube)
- in viewport 1 open gedit
- grab the left window edge and push it all the way left
- notice you cannot grab the left edge any more, so you cannot reduce the window size
- go to viewport 4 and notice you will see the edge of the gedit window on the right side

The live cd has compiz: 1:0.7.7+git20080807-0ubuntu10

Revision history for this message
Hew (hew) wrote :

You're right. With your instructions, I can now reproduce this issue, so I'm setting the status to Triaged.

This bug applies with both desktop wall and desktop cube, but it is only with the cube that you cannot grab the edge anymore after resizing.

Changed in compiz:
status: Incomplete → Triaged
summary: - should not be able to resize past viewport
+ Windows that span screen width or height cannot be resized in that
+ dimension
Revision history for this message
Travis Watkins (amaranth) wrote :
Changed in compiz (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.8.3+git20091005-0ubuntu5

---------------
compiz (1:0.8.3+git20091005-0ubuntu5) karmic; urgency=low

  * New snapshot from upstream stable git:
     - compiz.real crashed with SIGSEGV in blurDrawWindow()
       (LP: #353236)
     - Windows disappear if resolution is changed to something smaller
       than window size (LP: #414134)
     - compiz.real crashed with SIGSEGV in handleEvent() (LP: #430518)
     - Windows that span screen width or height cannot be resized
       in that dimension (LP: #137134)
     - Reducing number of workspaces leaves windows inaccessible
       (LP: #189259)
     - "Snap Inverted" in Wobbly Windows compiz plugin broken
       (LP: #366822)
     - Problem when resizing and the Panels
       (LP: #408030)
  * debian/control:
    - make compiz package depend on compiz-gnome | compiz-kde (LP: #172385)
  * debian/patches/015_draw_dock_shadows_on_desktop.patch:
    - fix clock/calendar shadow not going away (LP: #428783)
      thanks to Erkin Bahceci
  * debian/patches/029_default_options:
    - add a focus prevention match to allow polkit windows to steal focus
      otherwise they never get focus (LP: #436852)
  * debian/compiz-gnome.gconf-defaults:
    - change /apps/gwd/blur_type to all since it only does anything if blur
      is enabled and is usually what is wanted (LP: #158376)
    - turn constrain_y back on (LP: #82654)
  * debian/rules:
    - add commands plugin to default active_plugins (LP: #355018)

 -- Travis Watkins <email address hidden> Mon, 05 Oct 2009 15:42:00 +0200

Changed in compiz (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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