Bug#583652: [xfwm4] Opening of gvim windows is out of the screen partially (bottom part)

2010-12-15 Thread gregory hainaut
Hi,

Here additional information from anothers user. Like him, I hide a
bottom taskbar. Hope it can help.

Cheers,
Gregory

*

When opening gvim as a large window (gvim -geom 180x70) its smart
placed below the taskbar at the bottom of the screen. If the taskbar is
set to autohide, gvim will drop off the screen. Maybe 10 pixels are
lost, if started with a file (gvim /etc/services) then i lose the tail
of the 'p' in 'Top' in the bottom right corner.

When starting xterm as a large window (xterm -geom 100x100) its placed
accurately within the screen and above the taskbar. Starting xterm as a
small window places it centrally as expected, depending on the slider
configuration for window smart placement.

Interestingly when gvim is started as a small window, same size as
xterm (-geom 30x20), its not centrally placed, but smart placed around
the edge of the screen, as I have a lot of windows open. When a small
gvim is placed along the bottom it still is shifted down behind the
taskbar, but not as far as a large window is.

It seems as though xfce does not know the exact size of the gvim window
to place it accurately and to know whether to smart place it or not.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#583652: [Pkg-xfce-devel] Bug#583652: xfwm4: Opening of gvim windows is out of the screen partially (bottom part)

2010-05-30 Thread gregory hainaut

 Something which might be worth investigating is if you had at one
 point another screen plugged in and detected? Maybe it would confuse
 xfwm? Or is it reproducible even just after starting X, without
 anything else plugged in?
 
 Cheers,

Hi,

Not sure if I understand correctly. I have only one monitor. So I
unplugged it in the startup. Launch my PC, wait enough and replug it.
Still same behavior.

I also done a test with a new fresh user and a fresh vim configuration.
Same issue.

Additional note, it need some space between the terminal and the bottom
of the screen. 

I do not know if it could help. When I open a thunar window,
it is in the good place (aka not off-screen). If I maximize the vim
window, then it is go back to the screen. Screen size seems to be fine.

Well I have found something strange. It is possible to configure menu
bar/tools bar etc... in gvim.

When I disable everything. My window is good. In this situation gvim
windows is smaller than the terminal one.
When I enable some bars. My windows is bad. The size of the part
offscreen seems equal of the bars. And gvim window is bigger than the
terminal one.

IMHO it is probably worth it to investigate the inheritance size of
window.

Cheers.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#583652: xfwm4: Opening of gvim windows is out of the screen partially (bottom part)

2010-05-29 Thread Gregory Hainaut
Package: xfwm4
Version: 4.6.2-1
Severity: normal

Hi,

When opening a gvim windows, the bottom part is out the screen which is
cumbersome to use the integrated command line.
The behavior appear only 4.6.2-1. I downgrade xfwm4 to 4.6.1-1 and the bug goes
away. Still the bug can be in vim because it seems to work with others
application.

Step to reproduce the problem.
1/ Open a terminal (xfce4-terminal).
2/ Increase the windows terminal size because the size of the windows gvim
seems related to the size of the terminal.
3/ Move the terminal in the up of the screen to ensure the gvim windows will be
open in the bottom of the screen.
4/ Launch gvim from the terminal
5/ Bottom of gvim windows is hidden.

Note: I attached a screenshot of the bottom of my screen. On the left the gvim
windows cut. On the middle the terminal. On the right a standard full gvim
windows.

Cheers,



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-1-gregory (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfwm4 depends on:
ii  libc6 2.10.2-9   Embedded GNU C Library: Shared lib
ii  libdbus-glib-1-2  0.86-1 simple interprocess messaging syst
ii  libglade2-0   1:2.6.4-1  library to load .glade files at ru
ii  libglib2.0-0  2.24.1-1   The GLib library of C routines
ii  libgtk2.0-0   2.20.1-1   The GTK+ graphical user interface 
ii  libpango1.0-0 1.28.0-1   Layout and rendering of internatio
ii  libstartup-notification0  0.10-1 library for program launch feedbac
ii  libwnck22 2.30.0-2   Window Navigator Construction Kit 
ii  libx11-6  2:1.3.3-3  X11 client-side library
ii  libxcomposite11:0.4.1-1  X11 Composite extension library
ii  libxdamage1   1:1.1.2-1  X11 damaged region extension libra
ii  libxext6  2:1.1.1-3  X11 miscellaneous extension librar
ii  libxfce4util4 4.6.2-1Utility functions library for Xfce
ii  libxfcegui4-4 4.6.4-1Basic GUI C functions for Xfce4
ii  libxfconf-0-2 4.6.2-1Client library for Xfce4 configure
ii  libxfixes31:4.0.4-2  X11 miscellaneous 'fixes' extensio
ii  libxrandr22:1.3.0-3  X11 RandR extension library
ii  libxrender1   1:0.9.5-2  X Rendering Extension client libra

Versions of packages xfwm4 recommends:
ii  librsvg2-common   2.26.3-1   SAX-based renderer library for SVG
ii  xfwm4-themes  4.6.0-2Theme files for xfwm4

Versions of packages xfwm4 suggests:
ii  xfce4 4.6.2  Meta-package for the Xfce Lightwei

-- no debconf information
attachment: vim_windows_cut.jpg

Bug#583652: [Pkg-xfce-devel] Bug#583652: xfwm4: Opening of gvim windows is out of the screen partially (bottom part)

2010-05-29 Thread Yves-Alexis Perez
On sam., 2010-05-29 at 10:13 +0200, Gregory Hainaut wrote:
 When opening a gvim windows, the bottom part is out the screen which is
 cumbersome to use the integrated command line.
 The behavior appear only 4.6.2-1. I downgrade xfwm4 to 4.6.1-1 and the bug 
 goes
 away. Still the bug can be in vim because it seems to work with others
 application.
 
 Step to reproduce the problem.
 1/ Open a terminal (xfce4-terminal).
 2/ Increase the windows terminal size because the size of the windows gvim
 seems related to the size of the terminal.
 3/ Move the terminal in the up of the screen to ensure the gvim windows will 
 be
 open in the bottom of the screen.
 4/ Launch gvim from the terminal
 5/ Bottom of gvim windows is hidden.
 
 Note: I attached a screenshot of the bottom of my screen. On the left the gvim
 windows cut. On the middle the terminal. On the right a standard full gvim
 windows. 

Hmmh, seems I can't reproduce that, but I do notice weird behaviors with
gvim windows run from a terminal

Basically, it seems that it tries to inherit the window size from the
terminal. Depending on how you configured smart placement in xfwm4, that
might be related.

Here, the smart placement is configured to be active even for small
windows. What is your smart placement setting? (in settings manager,
window manager tweaks, placement)

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#583652: [Pkg-xfce-devel] Bug#583652: xfwm4: Opening of gvim windows is out of the screen partially (bottom part)

2010-05-29 Thread gregory hainaut
On Sat, 29 May 2010 11:24:40 +0200
Yves-Alexis Perez cor...@debian.org wrote:

 On sam., 2010-05-29 at 10:13 +0200, Gregory Hainaut wrote:
  When opening a gvim windows, the bottom part is out the screen
  which is cumbersome to use the integrated command line.
  The behavior appear only 4.6.2-1. I downgrade xfwm4 to 4.6.1-1 and
  the bug goes away. Still the bug can be in vim because it seems to
  work with others application.
  
  Step to reproduce the problem.
  1/ Open a terminal (xfce4-terminal).
  2/ Increase the windows terminal size because the size of the
  windows gvim seems related to the size of the terminal.
  3/ Move the terminal in the up of the screen to ensure the gvim
  windows will be open in the bottom of the screen.
  4/ Launch gvim from the terminal
  5/ Bottom of gvim windows is hidden.
  
  Note: I attached a screenshot of the bottom of my screen. On the
  left the gvim windows cut. On the middle the terminal. On the right
  a standard full gvim windows. 
 
 Hmmh, seems I can't reproduce that, but I do notice weird behaviors
 with gvim windows run from a terminal
 
 Basically, it seems that it tries to inherit the window size from the
 terminal. Depending on how you configured smart placement in xfwm4,
 that might be related.
 
 Here, the smart placement is configured to be active even for small
 windows. What is your smart placement setting? (in settings manager,
 window manager tweaks, placement)
 
 Cheers,

Well I try to play with smart placement.

I used the option at center of the screen. When smart placement is on
large. It disable the smart placement, and so the windows is at the
center of the screen so no a problem. When it is enabled for small size
I have the issue. 

For the moment I will disable the smart placement. The issue seems to
occured when the smart placement tools place the gvim windows in the
bottom.

Cheers



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#583652: [Pkg-xfce-devel] Bug#583652: xfwm4: Opening of gvim windows is out of the screen partially (bottom part)

2010-05-29 Thread Yves-Alexis Perez
On sam., 2010-05-29 at 11:55 +0200, gregory hainaut wrote:
 I used the option at center of the screen. When smart placement is on
 large. It disable the smart placement, and so the windows is at the
 center of the screen so no a problem. When it is enabled for small size
 I have the issue. 
 
 For the moment I will disable the smart placement. The issue seems to
 occured when the smart placement tools place the gvim windows in the
 bottom.
 
Fwiw, I use “Under the mouse cursor” and the size at minimum, and it
doesn't trigger (meaning, if there's not enough room to place the gvim
window, it'll overlap the terminal window, not go outside the screen).

Something which might be worth investigating is if you had at one point
another screen plugged in and detected? Maybe it would confuse xfwm? Or
is it reproducible even just after starting X, without anything else
plugged in?

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part