Announcement

Collapse
No announcement yet.

Windows are raised automatically at certain actions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Windows are raised automatically at certain actions

    Hi!

    I'm experiencing an annoying bug for some time. The following situation: I have minimized all my windows either by using the "Show Desktop" plasmoid or by clicking on the desktop in the "Present Windows" effect. If I click on the Lancelot Launcher in the panel, then, the minimized windows are brought up on the screen again. The same behaviour is the case when
    - I bring up yakuake (F12) or KRunner (alt + F2)
    - I launch an application from the Desktop or the Icon Only Taskmanager
    Interestingly, it is NOT the case when click on the standard Kickoff launcher or a system tray icon. (However, when I launch an application from Kickoff, the same behavior as above applies.)

    I think, the bug appeared just recently but I am not sure. Maybe it coincides with my installation of the cairo-dock. If it helps, here is my kwinrc:

    Code:
    [$Version]
    update_info=kwin_focus1.upd:kwin_focus1,kwin_focus2.upd:kwin_focus2,kwin.upd:kde3.0r1,kwin.upd:kde3.2Xinerama,kwin_on_off.upd:kwin_on_off,kwin3_plugin.upd:kde3.2,kwin_remove_effects.upd:kwin4.7_effects
    
    [Compositing]
    AnimationSpeed=3
    Backend=XRender
    Enabled=true
    GLLegacy=false
    GLTextureFilter=2
    GLVSync=true
    GraphicsSystem=native
    HiddenPreviews=5
    OpenGLIsUnsafe=false
    UnredirectFullscreen=false
    XRenderSmoothScale=false
    
    [Desktops]
    Name_1=Simulation
    Name_2=Organization
    Name_3=Misc
    Name_4=
    Number=2
    Rows=2
    
    [Effect-BoxSwitch]
    TabBox=false
    TabBoxAlternative=false
    
    [Effect-CoverSwitch]
    TabBox=false
    
    [Effect-Cube]
    BorderActivate=9
    BorderActivateCylinder=9
    BorderActivateSphere=9
    
    [Effect-Dashboard]
    Blur=true
    Brightness=50
    Duration=500
    Saturation=50
    
    [Effect-DesktopGrid]
    BorderActivate=9
    BorderWidth=10
    CustomLayoutRows=2
    DesktopNameAlignment=0
    LayoutMode=1
    PresentWindows=true
    ZoomDuration=0
    
    [Effect-FlipSwitch]
    BorderActivate=9
    BorderActivateAll=9
    TabBox=false
    TabBoxAlternative=false
    
    [Effect-PresentWindows]
    Accuracy=1
    AllowClosingWindows=true
    BorderActivate=7
    BorderActivateAll=9
    DrawWindowCaptions=true
    DrawWindowIcons=true
    FillGaps=false
    IgnoreMinimized=false
    LayoutMode=2
    LeftButtonDesktop=3
    LeftButtonWindow=1
    MiddleButtonDesktop=0
    MiddleButtonWindow=4
    RightButtonDesktop=2
    RightButtonWindow=2
    ShowPanel=true
    TabBox=true
    TabBoxAlternative=false
    
    [ElectricBorders]
    Bottom=None
    BottomLeft=None
    BottomRight=None
    Left=None
    Right=None
    Top=None
    TopLeft=None
    TopRight=None
    
    [MouseBindings]
    CommandActiveTitlebar1=Raise
    CommandActiveTitlebar2=Start window tab drag
    CommandActiveTitlebar3=Operations menu
    CommandAll1=Move
    CommandAll2=Toggle raise and lower
    CommandAll3=Resize
    CommandAllKey=Alt
    CommandAllWheel=Nothing
    CommandInactiveTitlebar1=Activate and raise
    CommandInactiveTitlebar2=Start window tab drag
    CommandInactiveTitlebar3=Operations menu
    CommandTitlebarWheel=Switch to Window Tab to the Left/Right
    CommandWindow1=Activate, raise and pass click
    CommandWindow2=Activate and pass click
    CommandWindow3=Activate and pass click
    CommandWindowWheel=Scroll
    
    [Plugins]
    kwin4_effect_blurEnabled=true
    kwin4_effect_boxswitchEnabled=true
    kwin4_effect_coverswitchEnabled=true
    kwin4_effect_cubeEnabled=true
    kwin4_effect_cubeslideEnabled=false
    kwin4_effect_dashboardEnabled=true
    kwin4_effect_desktopgridEnabled=true
    kwin4_effect_dialogparentEnabled=true
    kwin4_effect_diminactiveEnabled=false
    kwin4_effect_dimscreenEnabled=false
    kwin4_effect_explosionEnabled=false
    kwin4_effect_fadeEnabled=true
    kwin4_effect_fadedesktopEnabled=false
    kwin4_effect_fallapartEnabled=false
    kwin4_effect_flipswitchEnabled=true
    kwin4_effect_glideEnabled=false
    kwin4_effect_highlightwindowEnabled=true
    kwin4_effect_invertEnabled=false
    kwin4_effect_loginEnabled=true
    kwin4_effect_logoutEnabled=true
    kwin4_effect_lookingglassEnabled=false
    kwin4_effect_magiclampEnabled=false
    kwin4_effect_magnifierEnabled=false
    kwin4_effect_minimizeanimationEnabled=true
    kwin4_effect_mousemarkEnabled=false
    kwin4_effect_outlineEnabled=true
    kwin4_effect_presentwindowsEnabled=true
    kwin4_effect_resizeEnabled=false
    kwin4_effect_scaleinEnabled=false
    kwin4_effect_screenshotEnabled=true
    kwin4_effect_sheetEnabled=false
    kwin4_effect_showfpsEnabled=false
    kwin4_effect_showpaintEnabled=false
    kwin4_effect_slideEnabled=true
    kwin4_effect_slidebackEnabled=false
    kwin4_effect_slidingpopupsEnabled=true
    kwin4_effect_snaphelperEnabled=false
    kwin4_effect_startupfeedbackEnabled=true
    kwin4_effect_taskbarthumbnailEnabled=true
    kwin4_effect_thumbnailasideEnabled=false
    kwin4_effect_trackmouseEnabled=false
    kwin4_effect_translucencyEnabled=true
    kwin4_effect_windowgeometryEnabled=false
    kwin4_effect_wobblywindowsEnabled=false
    kwin4_effect_zoomEnabled=true
    
    [PopupInfo]
    PopupHideDelay=1000
    ShowPopup=false
    TextOnly=false
    
    [Style]
    BorderSize=1
    ButtonsOnLeft=S
    ButtonsOnRight=X
    CustomButtonPositions=true
    PluginLib=kwin3_oxygen
    ShowToolTips=true
    
    [TabBox]
    HighlightWindows=true
    LayoutMode=0
    LayoutName=thumbnails
    ListMode=0
    MinHeight=20
    MinWidth=20
    SelectedItem=0
    SelectedLayoutName=Text
    ShowDesktop=false
    ShowOutline=true
    ShowTabBox=true
    SwitchingMode=0
    
    [TabBoxAlternative]
    HighlightWindows=true
    LayoutMode=0
    LayoutName=thumbnails
    ListMode=0
    MinHeight=20
    MinWidth=20
    SelectedItem=0
    SelectedLayoutName=Text
    ShowDesktop=false
    ShowOutline=true
    ShowTabBox=true
    SwitchingMode=0
    
    [Windows]
    ActiveMouseScreen=false
    AutoRaise=false
    AutoRaiseInterval=0
    AutogroupInForeground=true
    AutogroupSimilarWindows=false
    BorderSnapZone=10
    BorderlessMaximizedWindows=true
    CenterSnapZone=0
    ClickRaise=true
    DelayFocusInterval=0
    ElectricBorderCooldown=500
    ElectricBorderDelay=50
    ElectricBorderMaximize=true
    ElectricBorderTiling=true
    ElectricBorders=0
    FocusPolicy=ClickToFocus
    FocusStealingPreventionLevel=1
    GeometryTip=false
    HideUtilityWindowsForInactive=true
    IgnoreFocusStealingClasses=kio_uiserver
    InactiveTabsSkipTaskbar=false
    MaximizeButtonLeftClickCommand=Maximize
    MaximizeButtonMiddleClickCommand=Maximize (vertical only)
    MaximizeButtonRightClickCommand=Maximize (horizontal only)
    MoveResizeMaximizedWindows=false
    NextFocusPrefersMouse=false
    Placement=Smart
    RollOverDesktops=true
    SeparateScreenFocus=false
    ShadeHover=false
    ShadeHoverInterval=250
    SnapOnlyWhenOverlapping=false
    TilingDefaultLayout=0
    TilingOn=false
    TilingRaisePolicy=0
    TitlebarDoubleClickCommand=Shade
    WindowSnapZone=10
    My KDE version (output of kde4-config -v):

    Qt: 4.8.1
    KDE Development Platform: 4.8.5 (4.8.5)
    kde4-config: 1.0

    Thanks a lot!

    #2
    The "Show Desktop" plasmoid is not minimizing the windows - it is showing the plasma desktop /1/.



    The windows will pop back when you press the Alt+F2 etc...

    A bug/wish - Add 'MinimizeAll' widget ('Show Desktop' is not enough for everybody): https://bugs.kde.org/show_bug.cgi?id=176872


    Revisions

    1. https://projects.kde.org/projects/kd...9c18e7837cbc23
    ID: e048bbd90f4f03511b60617f189c18e7837cbc23
    Added by Anne-Marie Mahfouf almost 5 years ago

    minimize-all is renamed showdesktop...
    Last edited by Rog131; Apr 30, 2013, 12:40 PM.
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Ah, interesting, thanks. So nothing is wrong with my config.

      Is it possible to write a script for minimizing all windows and assign it to an icon?

      Comment


        #4
        Originally posted by yeoldelloyd View Post
        Ah, interesting, thanks. So nothing is wrong with my config.

        Is it possible to write a script for minimizing all windows and assign it to an icon?
        If you want "show desktop" to act like "minimize all", you can set a "hidden" config option with:
        Code:
        kwriteconfig --file kwinrc --group Windows --key ShowDesktopIsMinimizeAll --type bool true
        To undo:
        Code:
        kwriteconfig --file kwinrc --group Windows --key ShowDesktopIsMinimizeAll --type bool false
        EDIT: Dang, that doesn't seem to work anymore. Sorry for the noise.
        EDIT2: I'll take that back, seems to work after a kwin restart (or relog)
        Last edited by kubicle; May 02, 2013, 05:23 AM.

        Comment


          #5
          Hey, thanks, it works!

          For all who want to do the same: don't forget to restart kwin. E.g. by typing
          Code:
          kwin --replace
          in the console or yakuake.

          Comment


            #6
            The kwinrc:
            Code:
            ...
            [Windows]
            ShowDesktopIsMinimizeAll=true
            ...
            is a good catch. Thank you kubicle.

            A wish - Add a GUI check box control and respective help for kwinrc showDesktopIsMinimizeAll: https://bugs.kde.org/show_bug.cgi?id=317146
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment

            Working...
            X