Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#402 Detaching a tab from a tabbed window diminishes size

development
closed-fixed
nobody
Program (402)
4
2004-09-15
2004-08-18
Wally Crooze
No

Version:
NEdit 5.5RC1
Jul 23, 2004

Built on: Linux, 386, GNU C
Built at: Jul 24 2004, 13:45:55
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 60700000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: C

Procedure:
1. Open a window with a few tabs.
2. From window open new window.

Result:
Second window takes its size from the proceding windows
text pane size, which is reduced due to the tabs.

Suggestions:
Either:
1. Tabs don't decrease text pane size... but instead
increases window size.
2. New window size is same as previous window size,
rather than from text pane size.

Opinion:
I'd prefer 1, but would concede to accept 2 - if necessary.
If others differ in opinion, then maybe an option to
control whether window size or text pane size is effected.

Discussion

1 2 3 > >> (Page 1 of 3)
  • Nathan Gray
    Nathan Gray
    2004-08-18

    Logged In: YES
    user_id=121553

    Cannot reproduce on Mac OS X. The new window has the same size as
    the original window. In other words, the new window's text widget is
    larger because it has no tabs.

     
  • Thorsten Haude
    Thorsten Haude
    2004-08-18

    Logged In: YES
    user_id=119143

    I can confirm this with RC1 running on Sarge.

     
  • TK Soh
    TK Soh
    2004-08-23

    Logged In: YES
    user_id=411637

    Which motif you are linking to? Please post the output of
    nedit -V.

     
  • TK Soh
    TK Soh
    2004-08-23

    Logged In: YES
    user_id=411637

    BTW, unless there're changes that I am not aware of, all new
    windows should be created with the default settings. The
    new window does not inherit anything AFAIK from the
    invoking window.

     
  • Thorsten Haude
    Thorsten Haude
    2004-08-23

    Logged In: YES
    user_id=119143

    I don't understand. I thought the linux binaries are static?
    Anyway, I see the same thing on SuSE 9.1:
    NEdit 5.5RC1
    Jul 23, 2004

    Built on: Linux, 386, GNU C
    Built at: Jul 24 2004, 13:45:55
    With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
    Running Motif: 2.1 [unknown]
    Server: Hummingbird Communications Ltd. 6200
    Visual: 24-bit TrueColor (ID 0x22, Default)
    Locale: de_DE.UTF-8

     
  • TK Soh
    TK Soh
    2004-08-23

    Logged In: YES
    user_id=411637

    I made no assumption your were using the official binaries. In
    any case, I could not reproduce the bug. The new windows
    always respect my "Initial Window Size" setting - 40x80 in my
    case.

     
  • Thorsten Haude
    Thorsten Haude
    2004-08-23

    Logged In: YES
    user_id=119143

    Try the following:
    0. Unset "Hide Tab Bar when only one Document is open"
    setting
    1. Open two tabs in one window.
    2. Open a new window.
    3. Open tab in new window.

    Result: The second window (and its text panes) is smaller
    than the first.

    Do you see this?

     
  • Nathan Gray
    Nathan Gray
    2004-08-23

    Logged In: YES
    user_id=121553

    On OS X from CVS, when I follow that procedure the new window is
    *larger* than the original one. If I change the pref from always showing
    the tab bar to hiding the tab bar when only one file is open
    (checkbox goes from unchecked to checked) then the new window is
    smaller. However, the windows don't keep getting smaller and smaller,
    all subsequently opened windows are the same size.

    This only happens during the session where I change the "Hide tab bar"
    preferences setting. If I save defaults and restart then I don't see any
    problem in future NEdit sessions. If that's true on other platforms then I
    don't think we should let this bug hold up the release.

     
  • Thorsten Haude
    Thorsten Haude
    2004-08-23

    • priority: 5 --> 4
     
  • Thorsten Haude
    Thorsten Haude
    2004-08-23

    Logged In: YES
    user_id=119143

    Doh, I meant to say *set* the setting. Whatever, you
    obviously found the matching error making the window larger.

    Indeed, I don't see this if the pref is already set if NEdit
    is started. This should be postponed until after the release.

     
1 2 3 > >> (Page 1 of 3)