Application window does not resize correctly

Bug #490410 reported by nick_s
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Xfwm4
Confirmed
Medium
xfwm4 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: openoffice.org

When resizing the main application window, it does not resize correctly. In particular, when the top or left boundaries of the window are used to perform the resizing, the application's title-bar, main menu and icons are not redrawn correctly and become inaccessible.

Steps to reproduce:
1) From the Applications menu, start one of the OpenOffice applications (Word Processor, Spreadsheet or Presentation).
2) Attempt to resize the window by dragging the top or left edge of the application window (you may need to click the application window's "(un)maximise" button (top right, next to the "X" for closing the window) to allow resizing).

What I expect to happen:
The application's layout (including the title-bar, main menu and icons) should be adjusted and re-drawn dynamically as the application is resized, and then finally when the resize operation is complete.

What happens instead:
The application's layout is not adjusted, and the title-bar, main menu and/or icons become inaccessible.

WORKAROUND:
Right-click on the application in the panel at the bottom of the screen, and choose "Maximise" from the pop-up menu... then repeat and choose "unmaximise". The application is redrawn correctly in it's new size. (This does not work with "Minimise - Unminimise").

ProblemType: Bug
Architecture: i386
Date: Mon Nov 30 16:08:20 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
NonfreeKernelModules: nvidia
Package: openoffice.org-core 1:3.1.1-5ubuntu1 [modified: var/lib/openoffice/basis3.1/program/services.rdb]
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: openoffice.org
Uname: Linux 2.6.31-15-generic i686

---
Architecture: i386
DistroRelease: Ubuntu 10.10
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release i386 (20101008.1)
NonfreeKernelModules: nvidia
Package: xfwm4 4.6.2-1
PackageArchitecture: i386
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Tags: maverick
Uname: Linux 2.6.35-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev pulse-access sambashare

Revision history for this message
nick_s (nickstylianou) wrote :
Chris Cheney (ccheney)
affects: openoffice.org (Ubuntu) → nvidia-graphics-drivers-180 (Ubuntu)
Revision history for this message
chrisisbd (chris-isbd) wrote :

I see this problem too on an xubuntu system with Intel graphics, so it's not just an Nvidia problem.

Revision history for this message
Vincent (vinnl) wrote :

Changing the package per Chris's comment. Might also be an xfwm4 problem or something, considering how both used Xubuntu, but I suppose someone more capable than will be able to find the correct package now.

affects: nvidia-graphics-drivers-180 (Ubuntu) → openoffice.org (Ubuntu)
Revision history for this message
madbiologist (me-again) wrote :

Seems to be a Xubuntu problem. I can't reproduce this on Ubuntu 9.10.
Uname: Linux 2.6.31-16-generic i686

Revision history for this message
chrisisbd (chris-isbd) wrote :

I still have it on *two* xubuntu 9.10 systems with different video cards.

All the latest updates applied to xubuntu 9.10, Open Office 3.1.1

description: updated
Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Also, is this the same bug reported as https://bugzilla.gnome.org/show_bug.cgi?id=156543 ? Perhaps it is not OpenOffice.org doing this, but metacity or gtk. Are there any other applications also doing something similar?

Revision history for this message
nick_s (nickstylianou) wrote :

I followed all the instructions and installed all the debug stuff for the backtrace, but I can't get gdb to launch the application:

$ gdb /usr/bin/oocalc 2>&1 | tee ~/gdb-oocalc.txt
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/usr/bin/oocalc": not in executable format: File format not recognised

(However, just executing /usr/bin/oocalc directly (not in gdb) launches ok).

Regarding the other bug, I don't think it's the same... I've tried obscuring/revealing OpenOffice application windows and they seem to redraw themselves fine under those circumstances. I only get the redraw problem when I specifically resize the application from the top/left edges.
I've not been able to reproduce the problem in any other applications besides OpenOffice (including Firefox, GIMP, Inkscape, Rosegarden, Audacity, Ardour, NetBeans, Synaptic Package Manager).

Revision history for this message
In , Charlie Kravetz (cjkgeek) wrote :

This bug was reported on Ubuntu Launchpad as:
https://launchpad.net/bugs/490410

When resizing the main application window, it does not resize correctly. In particular, when the top or left boundaries of the window are used to perform the resizing, the application's title-bar, main menu and icons are not redrawn correctly and become inaccessible.

Steps to reproduce:
1) From the Applications menu, start one of the OpenOffice applications (Word Processor, Spreadsheet or Presentation).
2) Attempt to resize the window by dragging the top or left edge of the application window (you may need to click the application window's "(un)maximise" button (top right, next to the "X" for closing the window) to allow resizing).

What I expect to happen:
The application's layout (including the title-bar, main menu and icons) should be adjusted and re-drawn dynamically as the application is resized, and then finally when the resize operation is complete.

What happens instead:
The application's layout is not adjusted, and the title-bar, main menu and/or icons become inaccessible.

WORKAROUND:
Right-click on the application in the panel at the bottom of the screen, and choose "Maximise" from the pop-up menu... then repeat and choose "unmaximise". The application is redrawn correctly in it's new size. (This does not work with "Minimise - Unminimise").

Architecture: i386

DistroRelease: Ubuntu 9.10

Package: openoffice.org-core 1:3.1.1-5ubuntu1 [modified: var/lib/openoffice/basis3.1/program/services.rdb]

I only get the redraw problem when I specifically resize the application from the top/left edges.
I've not been able to reproduce the problem in any other applications besides OpenOffice (including Firefox, GIMP, Inkscape, Rosegarden, Audacity, Ardour, NetBeans, Synaptic Package Manager).

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in openoffice.org (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Confirmed
affects: openoffice.org (Ubuntu) → xfwm4 (Ubuntu)
Changed in xfwm4 (Ubuntu):
status: Confirmed → Triaged
Changed in xfwm4:
status: Unknown → Confirmed
Revision history for this message
Kent Asplund (hoglet) wrote :

Problem still exists in Xubuntu 10.04

Revision history for this message
nick_s (nickstylianou) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
nick_s (nickstylianou) wrote :

Also still exists in Xubuntu 10.10 too.
Information additional to the apport update I just ran:
    OpenOffice.org 3.2.1
    OOO320m19 (Build:9505)
    ooo-build 3.2.1.4, Ubuntu package 1:3.2.1-7ubuntu1

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Please add information to the upstream bug. They will be the ones attempting to get a fix to resolve this issue. Adding more/different information here does not always let upstream know others are experiencing this issue.

Revision history for this message
In , nick_s (nickstylianou) wrote :

This is still occurring in Xubuntu10.10 (with OpenOffice3.2.1).
See https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/490410

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

I really cannot reproduce that bug, nor I have ever been able to.

(I am not using neither Ubuntu nor Xubuntu though, yet I doubt that makes any difference).

Revision history for this message
In , nick_s (nickstylianou) wrote :

Created attachment 3188
OOcalc screenshot with/without openoffice.org-gtk

Comparison of OpenOffice Calc in Xubuntu with/without the openoffice.org-gtk package installed.

Revision history for this message
In , nick_s (nickstylianou) wrote :

For sure I have been able to consistently reproduce it on Xubuntu v9.10, v10.04 and now v10.10. From my experience (and other posts) it seems:
  a) specific to Xubuntu (not Ubuntu or other platforms)
  b) specific to OpenOffice (Xubuntu doesn't seem to do this with other apps)
  c) not specific to one machine (I've seen 3 machines, others are reported also)
  c) not specific to NVidia (it's reproduced on Intel graphics also)
so I suspect that on a Xubuntu machine there's a fair chance the problem could be reproduced.

I just discovered that installing the "openoffice.org-gtk" package in Xubuntu somewhat resolves the problem, but it gives the whole spreadsheet contents a faded appearance (black text appears grey) which is not good. Perhaps this gives a clue to the root of the original problem though.

Revision history for this message
nick_s (nickstylianou) wrote :

I just discovered that installing the "openoffice.org-gtk" package in Xubuntu somewhat resolves the problem, but it gives the whole spreadsheet contents a faded appearance (black text appears grey - screenshot attached) which is not good. Perhaps this
gives a clue to the root of the original problem though.
I have also updated the upstream bug http://bugzilla.xfce.org/show_bug.cgi?id=6326

Revision history for this message
Anna Clawson (seadeer) wrote :

It also affects Openoffice (3.2.1) on Debian squeeze, with xfce window manager. I installed openoffice.org-gtk, and the problem went away, and there is no problem with text appearing grey.

Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version.

Changed in xfwm4 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
nick_s (nickstylianou) wrote :

This appears to be fixed in LibreOffice Version: 4.2.7.2 Build ID: 420m0(Build:2) running on Xubuntu 14.04.1 with Xfce4.10.
The toolbars of the resized applicationshow ">>" buttons which give access to the icons.

Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Closing this report.

Changed in xfwm4 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
In , Tnpel2925 (tnpel2925) wrote :

I had the same problem with both Libre Office and Shotcut (video editor). since I didn't have any problem with Libre using Cinnamon on an old laptop so I switched the desktop computer to Cinnamon and the problem went away. Both computers are 17.2 with the latest recommended kernel.

Changed in xfwm4:
importance: Unknown → Medium
Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

I've never had any such issue on Fedora using the default gtk theme, so I wonder if that could be a gtk issue.

Can you reproduce using the gtk default Adwaita theme? (it wouldn't be the first time I see an issue with the default theme shipped in Xubuntu, e.g. bug 12329)

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.