Commit graph

2396 commits

Author SHA1 Message Date
Sandro Giessl
1d44e0c519 Update the layout of the window decoration dialog based on Aaron's feedback
on kde-usability:
- Move the combobox back into the tab
- Move the preview below the tabbar
- Move the border size slider into the first tab to the Decoration Options
- Remove the groupbox around the custom button position widgets.

svn path=/trunk/kdebase/kwin/; revision=367949
2004-12-02 23:02:03 +00:00
Luboš Luňák
6accc9a990 Don't keep dialogs above mainwindow if that mainwindow happens to be a dock.
Let's see what that does.
BUG: 63223

svn path=/trunk/kdebase/kwin/; revision=367418
2004-11-30 14:26:09 +00:00
Luboš Luňák
bb9b3a94c6 Shading fixes. This should also take care of #91615.
BUG: 91615

svn path=/trunk/kdebase/kwin/; revision=367240
2004-11-29 18:46:04 +00:00
Script Kiddy
10b49ee543 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=366797
2004-11-28 04:30:39 +00:00
Luboš Luňák
bfbc879603 Limit tabbox maximum width to 80% of screen width.
FEATURE: 92418

svn path=/trunk/kdebase/kwin/; revision=366425
2004-11-26 16:14:32 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Luboš Luňák
a0284f092c Do not confuse Laurent, and David, and perhaps even me :).
svn path=/trunk/kdebase/kwin/; revision=366081
2004-11-25 10:21:12 +00:00
Luboš Luňák
c048d2b539 Make dialogs an exception from keeping splashscreens on top of every other
window from the app (#93832). IMHO the real problem is in apps showing
modal dialogs while they still have a splascreen visible, but I've seen
this already enough times.
CCBUG: 93832

svn path=/trunk/kdebase/kwin/; revision=365833
2004-11-24 14:51:10 +00:00
Luboš Luňák
5baf4a79c4 Try harder to restore focus if something sets it to null.
svn path=/trunk/kdebase/kwin/; revision=365079
2004-11-22 11:34:09 +00:00
Dirk Mueller
a9e6a2f113 fix export's
svn path=/trunk/kdebase/kwin/; revision=364804
2004-11-21 18:06:55 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
e8565670ec remove the pluginSettingsGrp groupbox
svn path=/trunk/kdebase/kwin/; revision=364650
2004-11-20 23:53:54 +00:00
Sandro Giessl
fafe39943f - Update the preview on button position/border size setting changes. Preview of
settings in the decoration's config dialogs isn't available yet.
- Move the decoration combobox and the preview out of the tab widget to be visible
  from all tabs - makes the new preview update more useful.

CCBUG:70349

svn path=/trunk/kdebase/kwin/; revision=364647
2004-11-20 23:43:16 +00:00
Dirk Mueller
42c0e144c1 fix export's
svn path=/trunk/kdebase/ksysguard/; revision=363751
2004-11-17 17:56:22 +00:00
Luboš Luňák
fb5fde89a2 Mark me as the maintainer.
svn path=/trunk/kdebase/ksmserver/; revision=363181
2004-11-15 14:57:37 +00:00
Christian Mueller
52c8b36585 use the schema instead of the DTD for validation
(changes reviewed by Frans Englich)

svn path=/trunk/kdebase/kcontrol/; revision=362930
2004-11-14 14:20:11 +00:00
Luboš Luňák
ca061ffb57 If a window is resized manually to geometry equal to workspace size,
make it automatically also maximized.

svn path=/trunk/kdebase/kwin/; revision=362476
2004-11-12 17:13:16 +00:00
Script Kiddy
db62c7a9b9 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/ksysguard/; revision=362374
2004-11-12 03:37:57 +00:00
Luboš Luňák
ced8835dfa Make sure unused settings have prefilled values also with Alt+F3/Window-specific settings.
svn path=/trunk/kdebase/kwin/; revision=361970
2004-11-10 11:41:12 +00:00
Luboš Luňák
d0a2d63fdf When using Alt+F3/Window-specific settings, activate directly first tab
with settings, now that it tries to find the right matching rules itself.

svn path=/trunk/kdebase/kwin/; revision=361961
2004-11-10 11:07:51 +00:00
Sandro Giessl
3a45567573 move border size chooser from "Buttons" into new tab "Border Size"
svn path=/trunk/kdebase/kwin/; revision=361798
2004-11-09 19:34:18 +00:00
Sandro Giessl
ec9b2155ee Extend KDecorationPreview to allow setting temporary decoration border size and button layout.
svn path=/trunk/kdebase/kwin/; revision=361796
2004-11-09 19:27:21 +00:00
Luboš Luňák
2fd9ce3a64 Am I so clumsy, or are the thresholds for electric borders insanely low?
svn path=/trunk/kdebase/kwin/; revision=361726
2004-11-09 15:39:41 +00:00
Luboš Luňák
a2a55c8436 Make electric borders work also during DND. Blame David and George
for getting me in Santa Claus mood.
FEATURE:86998

svn path=/trunk/kdebase/kwin/; revision=361725
2004-11-09 15:38:33 +00:00
Luboš Luňák
04d286e87e Make minimized windows grayed out, just like in kicker's taskbar.
FEATURE: 91273

svn path=/trunk/kdebase/kwin/; revision=361708
2004-11-09 14:32:30 +00:00
George Staikos
2ce16d70ba On second thought, titlebars like this are silly:
"user@host:~@host"

make it:

"user@host:~ <@host>"

svn path=/trunk/kdebase/kwin/; revision=361700
2004-11-09 13:45:21 +00:00
George Staikos
c75eb7297f use @ instead of <> for the hostname, approved by Lubos (Thanks for the feature!)
svn path=/trunk/kdebase/kwin/; revision=361688
2004-11-09 12:28:58 +00:00
Luboš Luňák
d40ba7b252 Show hostname in the title if it's different from KWin's hostname.
FEATURE:40969

svn path=/trunk/kdebase/kwin/; revision=361687
2004-11-09 12:17:18 +00:00
Allan Sandfeld Jensen
c80d47549c Link to the right libraries
svn path=/trunk/kdebase/kwin/; revision=361677
2004-11-09 11:07:34 +00:00
Luboš Luňák
a24fc0b2a0 Ok, one more subtle fix: If the WM_CLASS components differ, use complete
WM_CLASS.

This allows e.g. having extra settings for one specific Konsole, all that's
needed is to launch it as "konsole -name konsole_special", and make KWin's
window-specific settings match for complete window class
"konsole_special konsole". Generic Konsole settings will apply to all Konsole's,
while these specific ones will apply only to instances using -name.

The nice advantage is this shouldn't have all those weird issues kstart has
(die, kstart, die!).

svn path=/trunk/kdebase/kwin/; revision=360769
2004-11-05 17:05:40 +00:00
Sandro Giessl
27be3a1885 consistent preview label
svn path=/trunk/kdebase/kwin/; revision=360767
2004-11-05 17:02:03 +00:00
Luboš Luňák
c75b0cf867 Pre-fill also the hostname.
svn path=/trunk/kdebase/kwin/; revision=360740
2004-11-05 15:36:03 +00:00
Luboš Luňák
725a92792c Empty, remove.
svn path=/trunk/kdebase/kwin/; revision=360738
2004-11-05 15:34:59 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Luboš Luňák
a5a748b4bc Modify Alt+F3/Advanced/Window specific settings to avoid the dialog
for specifying a window by doing a lot of guessing how to actually
identify the specific window next time, so that it directly invokes
the dialog with the various settings for the window.
Let's see if this is simple enough to use, or if it still needs something
like the old 'remember some random settings I think should be worth remembering'.

CCBUG: 90918

svn path=/trunk/kdebase/kwin/; revision=360733
2004-11-05 15:29:50 +00:00
Sandro Giessl
5ffb107a01 Let decorations announce which buttons are supported via KDecorationFactory::supports().
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360718
2004-11-05 14:57:32 +00:00
Aaron J. Seigo
df1d389be8 no margin for the config widget.
svn path=/trunk/kdebase/kwin/; revision=360562
2004-11-05 00:51:11 +00:00
Luboš Luňák
a6fa4609c2 Reoder how the initial virtual desktop placement is considered.
For dialogs prefer placing together with mainwindow to data
from startup notification (happens with kio_uiserver dialogs).

svn path=/trunk/kdebase/kwin/; revision=360448
2004-11-04 18:32:30 +00:00
Luboš Luňák
8255bc2749 Client::isManaged() should not be true before it's added to the client
list :(. At least work around a possible desktop switching and invisible
window because of this.

svn path=/trunk/kdebase/kwin/; revision=360436
2004-11-04 17:56:05 +00:00
Sandro Giessl
9ff5419637 doxygen update: there is also a resize button
svn path=/trunk/kdebase/kwin/; revision=360105
2004-11-03 14:48:41 +00:00
Luboš Luňák
816f3bd86e Force updating electric borders on resize change.
BUG:92583

svn path=/trunk/kdebase/kwin/; revision=359883
2004-11-02 15:19:01 +00:00
Script Kiddy
273d07c8f6 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=359745
2004-11-02 04:22:33 +00:00
Luboš Luňák
d9bc9b0989 Create startup notification even for apps that shouldn't have any,
just don't create any visual feedback. This will make sure the apps
will also have windows shown on the virtual desktop where they were
launched (#68851), and they'll also be able to get user timestamp
from the startup notification. KGet no longer needs exception
in focus stealing prevention, KWallet either (as the openWallet() call
can get a mainwindow id).
If I'm lucky I even haven't broken anything.

svn path=/trunk/kdebase/kwin/; revision=358798
2004-10-29 16:16:30 +00:00
Luboš Luňák
d421b5c7e7 I wonder if mplayer's default fullscreen type will be simply 'fullscreen'
instead of various hacks one day.
BUG: 92302

svn path=/trunk/kdebase/kwin/; revision=358750
2004-10-29 12:59:29 +00:00
Script Kiddy
1193fe4863 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/ksysguard/; revision=358071
2004-10-27 03:02:16 +00:00
Luciano Montanaro
4ae63db942 Worked around the isResizable() problem: check if the window is resizable
only when initializing the decoration for a given window.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=357517
2004-10-25 10:17:59 +00:00
Luciano Montanaro
6dc8a25ebe Cleaned up a bit.
svn path=/trunk/kdebase/kwin/; revision=357339
2004-10-24 14:49:26 +00:00
Luboš Luňák
05e9a39a60 Lame mistake.
BUG: 91766

svn path=/trunk/kdebase/kwin/; revision=356778
2004-10-22 12:51:37 +00:00
Luboš Luňák
fe1bea9821 Let's see what happens if keep-above windows will be kept between
panels and normal windows, not above panels.
CCBUG:89813

svn path=/trunk/kdebase/kwin/; revision=356529
2004-10-21 15:26:44 +00:00
Script Kiddy
e4317d8850 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=356372
2004-10-21 03:02:16 +00:00