Bug 40636 - No maximize button even though window only covers half the screen
Summary: No maximize button even though window only covers half the screen
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: unspecified
Platform: openSUSE Other
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-10 10:18 UTC by Volker Augustin
Modified: 2003-09-17 13:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Augustin 2002-04-10 10:11:10 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kwin
Version:           KDE 3.0.5 CVS/CVSup/Snapshot
Severity:          normal
Installed from:    Compiled sources
Compiler:          Not Specified
OS:                Not Specified
OS/Compiler notes: Not Specified

Hello

how to reproduce:
1. start knode.
2. reduce the size of the window so that its width and height are both smaller that the width and height of the screen and position it in the middle of the screen
3. Maximize the window
4. grab the left side of the window frame and move it to the middle of the screen
5. close knode
6. restart knode

Now knode covers only part of the screen. Yet there  is not the maximize button but the cascade (or what's its name) button.

This bug has been there for a very long time.

Regards
Volker Augustin



(Submitted via bugs.kde.org)
Comment 1 Volker Augustin 2003-02-02 16:31:56 UTC
I don't know why this bug still had unconfirmed status. This bug does even 
still exist in KDE 3.0.5. 
Comment 2 Cristian Tibirna 2003-02-02 17:16:08 UTC
Because  i can't reproduce it. What decorations are you using? 
Comment 3 Volker Augustin 2003-02-02 17:24:15 UTC
Subject: Re:  No maximize button even though window only covers half the screen

> Because  i can't reproduce it. What decorations are you using?

If you use the SuSE decoration you will not be able to see the bug from the 
icons as there seems to be no difference between the cascade and the maximize 
icon. However, the behaviour is reproducible with the KDE 2 or the keramik 
decoration (those are the decorations I tried).
And there are other apps showing the same behavior.

Volker

Comment 4 András Manţia 2003-03-02 19:59:50 UTC
Subject: Re: Could someone with a current HEAD version please try to confirm Bug #40636?

On 2003. March 02., Sunday 20:42, Volker Augustin wrote:
> Hello,
>
> could someone with a current HEAD version please try to confirm bug #40636?
> I have been able to reproduce this with all KDE version, still Cristian
> Tibirna couldn't reproduce it.
>
> http://bugs.kde.org/show_bug.cgi?id=40636
>
> Could someone who can reproduce it please have a look at my description of
> the bug? Maybe it's just misleading.

I can confirm with a recent kdelibs. After KNode is maximized and you start to 
drag the left or right size to decrease the width of the window, the Maximize 
button turns to the "Restore" button and the Maximize menu item is unselected 
from the window menu, but after closing/restarting it is checked and the icon 
says that the window is maximized, altough it isn't. Resizing/moving the 
window corrects the situation. What I believe that happens is, that the 
window is treated as maximized even if it's maximized only vertically. I'm 
using the Keramik Windows Decoration setting.

Andras


> Thanks,
> Volker
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

Comment 5 Hasso Tepper 2003-03-02 21:27:50 UTC
Subject: Re: Could someone with a current HEAD version please try to confirm Bug #40636?

I can confirm it. Both recent CVS and 3.1 branch using KDE2 
decoration.

Comment 6 Magnus Johansson 2003-03-03 10:25:26 UTC
I can confirm this. After restarting knode, no maximize-button is displayed, but a 
restore-button instead. 
Comment 7 Magnus Johansson 2003-03-03 10:32:26 UTC
Oh, I forgot to mention. This is with a kdelibs build from February 28. 
Comment 8 Maksim Orlovich 2003-03-09 17:27:34 UTC
I've seen this a few times.  
 
Comment 9 Lubos Lunak 2003-08-18 16:01:39 UTC
This is not actually a bug. It's simply because windows that are fully maximized have the same 
symbol in the maximize buttons as windows maximized only horizontally/vertically. So in this 
case, the button shows that KNode is maximized, and it indeed is, vertically. 
 
Comment 10 Volker Augustin 2003-08-19 09:40:14 UTC
Subject: Re:  No maximize button even though window only covers half the screen

> ------- Additional Comments From l.lunak@kde.org  2003-08-18 16:01 -------
> This is not actually a bug. It's simply because windows that are fully
> maximized have the same symbol in the maximize buttons as windows maximized
> only horizontally/vertically. So in this case, the button shows that KNode
> is maximized, and it indeed is, vertically.

From a usability point-of-view this is just wrong. Please compare it to KMails 
behaviour. There, it does seem to work correctly.

IMO the maximize button should be displayed whenever it is possible to 
maximize a window. And since the window is only maximized vertically but not 
horizontally it *can* be maximized. For the user maximizing has only one 
meaning: Make the window so large that it fills the screen.

Comment 11 Lubos Lunak 2003-09-17 13:07:20 UTC
Should work fine with current CVS.