Announcement

Collapse
No announcement yet.

Window position creep in Quassel IRC client - WORKAROUND

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

    Window position creep in Quassel IRC client - WORKAROUND

    Here, when launching Quassel, instead of positioning itself (main window) to the upper-left corner (position 0 0), it appears at position 2 xx, and increments by 2 pixels every time it is relaunched.

    I filed a bug on Launchpad (Bug #1153064) back in March but it hasn't even been assigned, and no one else has even commented on it. If anyone here uses Quassel and is observing this behavior as well, please go to the bug and post your comments/observations.

    Thank you.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    #2
    Hm, weird. You could possibly work around this by manually configuring window-specific settings. Resize and position the window to your liking. Then right-click the title bar, choose More Actions | Special Window Settings, and click the Size and Position tab. Select Position and choose Remember from the neighboring drop-down. Do the same for Size. Click OK to create and save this new KWin rule for Quassel.

    Comment


      #3
      Originally posted by SteveRiley View Post
      Hm, weird. You could possibly work around this by manually configuring window-specific settings. Resize and position the window to your liking. Then right-click the title bar, choose More Actions | Special Window Settings, and click the Size and Position tab. Select Position and choose Remember from the neighboring drop-down. Do the same for Size. Click OK to create and save this new KWin rule for Quassel.
      This does not work -- tested. The size isn't the problem, and never has been. The positioning however, is. Even with the Remember option checked, Quassel (or KWin) isn't honoring the setting; the pixel creep still occurs. More intriguing is that even with this window rule, after launching Quassel (and observing the creep), looking at the window rule shows that the position geometry has not changed -- it remains 0,0.
      Last edited by Snowhog; Jun 02, 2013, 01:56 PM.
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        What if you remove the window positioning entries in quasselclient.conf? Perhaps those are overriding the KWin rule.

        Comment


          #5
          Removing ~/.config/quassel-irc.org/quasselclient.conf and launching Quassel, the main window is positioned as per the window rule. This is what the re-created config file contains immediately after launch:
          Code:
          [Config]Version=1
          
          
          [CoreAccounts]
          LastAccount=0
          1\General\BufferViewOverlay=@Variant(\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\0)
          
          
          [Session]
          10dbd3cf61000137020355300000019440058\_sessionAge=0
          10dbd3cf61000137020355300000019440058\MainWinSize=@Size(1340 900)
          10dbd3cf61000137020355300000019440058\MainWinPos=@Point(0 0)
          10dbd3cf61000137020355300000019440058\MainWinState="@ByteArray(\0\0\0\xff\0\0\0\
          0\xfd\0\0\0\x4\0\0\0\0\0\0\0\x8d\0\0\x2\xfd\xfc\x2\0\0\0\x1\xfb\0\0\0 
          \0\x42\0u\0\x66\0\x66\0\x65\0r\0V\0i\0\x65\0w\0\x44\0o\0\x63\0k\0-\0\x30\x1\0\0\
          0\x33\0\0\x2\xfd\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\x94\0\0\x3;\xfc\x2\0\0\0\x1\xfb\
          0\0\0\x10\0N\0i\0\x63\0k\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\x3;\0\0\0\x1c\x1\0\0
          \x5\0\0\0\x2\0\0\x4\xa5\0\0\0\x1f\xfc\x2\0\0\0\x2\xfb\0\0\0\x12\0T\0o\0p\0i\0\
          x63\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\0\x1f\0\0\0\x1f\0\0\0\x1f\xfb\0\0\0\x1e\0
          \x43\0h\0\x61\0t\0M\0o\0n\0i\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\
          xff\0\0\0R\x1\0\0\x5\0\0\0\x3\0\0\x4\xa5\0\0\0\x1e\xfc\x1\0\0\0\x1\xfb\0\0\0\x12
          \0I\0n\0p\0u\0t\0\x44\0o\0\x63\0k\x1\0\0\0\0\0\0\x4\xa5\0\0\x1\x8e\x1\0\0\x5\0\0
          \x4\xa5\0\0\x2\xf8\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x1\0\0\0\x2\0\0
          \0\x1\0\0\0\x16\0M\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff
          \xff\0\0\0\0\0\0\0\0)"
          10dbd3cf61000137020355300000019440058\MainWinGeometry="@ByteArray(\x1\xd9\xd0\
          xcb\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x5;\0\0\x3\x83\0\0\0\0\0\0\0\0\0\0\x5;\0\0\x3\
          x83\0\0\0\0\0\0)"
          10dbd3cf61000137020355300000019440058\MainWinMinimized=false
          10dbd3cf61000137020355300000019440058\MainWinMaximized=false
          10dbd3cf61000137020355300000019440058\MainWinHidden=false
          And after quitting Quassel and launching it again (where the creep first appears):
          Code:
          [Config]Version=1
          
          
          [CoreAccounts]
          LastAccount=0
          1\General\BufferViewOverlay=@Variant(\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\0)
          
          
          [Session]
          10dbd3cf61000137020355300000019440058\_sessionAge=1
          10dbd3cf61000137020355300000019440058\MainWinSize=@Size(1340 900)
          10dbd3cf61000137020355300000019440058\MainWinPos=@Point(0 0)
          10dbd3cf61000137020355300000019440058\MainWinState="@ByteArray(\0\0\0\xff\0\0\0\
          0\xfd\0\0\0\x4\0\0\0\0\0\0\0\x8d\0\0\x2\xfd\xfc\x2\0\0\0\x1\xfb\0\0\0 
          \0\x42\0u\0\x66\0\x66\0\x65\0r\0V\0i\0\x65\0w\0\x44\0o\0\x63\0k\0-\0\x30\x1\0\0\
          0\x33\0\0\x2\xfd\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\x94\0\0\x3;\xfc\x2\0\0\0\x1\xfb\
          0\0\0\x10\0N\0i\0\x63\0k\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\x3;\0\0\0\x1c\x1\0\0
          \x5\0\0\0\x2\0\0\x4\xa5\0\0\0\x1f\xfc\x2\0\0\0\x2\xfb\0\0\0\x12\0T\0o\0p\0i\0\
          x63\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\0\x1f\0\0\0\x1f\0\0\0\x1f\xfb\0\0\0\x1e\0
          \x43\0h\0\x61\0t\0M\0o\0n\0i\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\
          xff\0\0\0R\x1\0\0\x5\0\0\0\x3\0\0\x4\xa5\0\0\0\x1e\xfc\x1\0\0\0\x1\xfb\0\0\0\x12
          \0I\0n\0p\0u\0t\0\x44\0o\0\x63\0k\x1\0\0\0\0\0\0\x4\xa5\0\0\x1\x8e\x1\0\0\x5\0\0
          \x4\xa5\0\0\x2\xf8\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x1\0\0\0\x2\0\0
          \0\x1\0\0\0\x16\0M\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff
          \xff\0\0\0\0\0\0\0\0)"
          10dbd3cf61000137020355300000019440058\MainWinGeometry="@ByteArray(\x1\xd9\xd0\
          xcb\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x5;\0\0\x3\x83\0\0\0\0\0\0\0\0\0\0\x5;\0\0\x3\
          x83\0\0\0\0\0\0)"
          10dbd3cf61000137020355300000019440058\MainWinMinimized=false
          10dbd3cf61000137020355300000019440058\MainWinMaximized=false
          10dbd3cf61000137020355300000019440058\MainWinHidden=false
          10dbd3cf61000137020446800000019440060\_sessionAge=0
          10dbd3cf61000137020446800000019440060\MainWinSize=@Size(1340 900)
          10dbd3cf61000137020446800000019440060\MainWinPos=@Point(2 23)
          10dbd3cf61000137020446800000019440060\MainWinState="@ByteArray(\0\0\0\xff\0\0\0\
          0\xfd\0\0\0\x4\0\0\0\0\0\0\0\x8d\0\0\x2\xfd\xfc\x2\0\0\0\x1\xfb\0\0\0 
          \0\x42\0u\0\x66\0\x66\0\x65\0r\0V\0i\0\x65\0w\0\x44\0o\0\x63\0k\0-\0\x30\x1\0\0\
          0\x33\0\0\x2\xfd\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\x94\0\0\x3;\xfc\x2\0\0\0\x1\xfb\
          0\0\0\x10\0N\0i\0\x63\0k\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\x3;\0\0\0\x1c\x1\0\0
          \x5\0\0\0\x2\0\0\x4\xa5\0\0\0\x1f\xfc\x2\0\0\0\x2\xfb\0\0\0\x12\0T\0o\0p\0i\0\
          x63\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\0\x1f\0\0\0\x1f\0\0\0\x1f\xfb\0\0\0\x1e\0
          \x43\0h\0\x61\0t\0M\0o\0n\0i\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\
          xff\0\0\0R\x1\0\0\x5\0\0\0\x3\0\0\x4\xa5\0\0\0\x1e\xfc\x1\0\0\0\x1\xfb\0\0\0\x12
          \0I\0n\0p\0u\0t\0\x44\0o\0\x63\0k\x1\0\0\0\0\0\0\x4\xa5\0\0\x1\x8e\x1\0\0\x5\0\0
          \x4\xa5\0\0\x2\xf8\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x1\0\0\0\x2\0\0
          \0\x1\0\0\0\x16\0M\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff
          \xff\0\0\0\0\0\0\0\0)"
          10dbd3cf61000137020446800000019440060\MainWinGeometry="@ByteArray(\x1\xd9\xd0\
          xcb\0\x1\0\0\0\0\0\x2\0\0\0\x17\0\0\x5=\0\0\x3\x9a\0\0\0\x2\0\0\0\x17\0\0\x5=\0\
          0\x3\x9a\0\0\0\0\0\0)"
          10dbd3cf61000137020446800000019440060\MainWinMinimized=false
          10dbd3cf61000137020446800000019440060\MainWinMaximized=false
          10dbd3cf61000137020446800000019440060\MainWinHidden=false
          
          
          [QtUi]
          MainWinSize=@Size(1340 838)
          MainWinPos=@Point(2 23)
          MainWinState=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x4\0\0\0\0\0\0\0\x8d\0\0\x2
          \xfd\xfc\x2\0\0\0\x1\xfb\0\0\0 
          \0\x42\0u\0\x66\0\x66\0\x65\0r\0V\0i\0\x65\0w\0\x44\0o\0\x63\0k\0-\0\x30\x1\0\0\
          0\x33\0\0\x2\xfd\0\0\0h\x1\0\0\x5\0\0\0\x1\0\0\0\x94\0\0\x2\xfd\xfc\x2\0\0\0\x1\
          xfb\0\0\0\x10\0N\0i\0\x63\0k\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\x2\xfd\0\0\0\x1c
          \x1\0\0\x5\0\0\0\x2\0\0\x4\x15\0\0\0\x1b\xfc\x2\0\0\0\x2\xfb\0\0\0\x12\0T\0o\0p\
          0i\0\x63\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\0\x1b\0\0\0\x1b\0\0\0\x1b\xfb\0\0\0\
          x1e\0\x43\0h\0\x61\0t\0M\0o\0n\0i\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\
          xff\xff\0\0\0R\x1\0\0\x5\0\0\0\x3\0\0\x4\x15\0\0\0\x1e\xfc\x1\0\0\0\x1\xfb\0\0\0
          \x12\0I\0n\0p\0u\0t\0\x44\0o\0\x63\0k\x1\0\0\0\x90\0\0\x4\x15\0\0\x1\x8e\x1\0\0\
          x5\0\0\x4\x15\0\0\x2\xbe\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x1\0\0\0\
          x2\0\0\0\x1\0\0\0\x16\0M\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\
          xff\xff\xff\0\0\0\0\0\0\0\0)
          MainWinGeometry="@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x5?\0\0
          \x3`\0\0\0\x2\0\0\0\x17\0\0\x5=\0\0\x3\\\0\0\0\0\0\0)"
          MainWinMinimized=false
          MainWinMaximized=false
          MainWinHidden=false
          LastUsedBufferId=5
          MainWinState-1=@ByteArray(\0\0\0\xff\0\0\0\x1\xfd\0\0\0\x4\0\0\0\0\0\0\0\x8d\0\0
          \x2\xfd\xfc\x2\0\0\0\x1\xfb\0\0\0 
          \0\x42\0u\0\x66\0\x66\0\x65\0r\0V\0i\0\x65\0w\0\x44\0o\0\x63\0k\0-\0\x30\x1\0\0\
          0\x33\0\0\x2\xfd\0\0\0h\x1\0\0\x5\0\0\0\x1\0\0\0\x94\0\0\x2\xfd\xfc\x2\0\0\0\x1\
          xfb\0\0\0\x10\0N\0i\0\x63\0k\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\x2\xfd\0\0\0\x1c
          \x1\0\0\x5\0\0\0\x2\0\0\x4\x15\0\0\0\x1b\xfc\x2\0\0\0\x2\xfb\0\0\0\x12\0T\0o\0p\
          0i\0\x63\0\x44\0o\0\x63\0k\x1\0\0\0\x33\0\0\0\x1b\0\0\0\x1b\0\0\0\x1b\xfb\0\0\0\
          x1e\0\x43\0h\0\x61\0t\0M\0o\0n\0i\0t\0o\0r\0\x44\0o\0\x63\0k\0\0\0\0\0\xff\xff\
          xff\xff\0\0\0R\x1\0\0\x5\0\0\0\x3\0\0\x4\x15\0\0\0\x1e\xfc\x1\0\0\0\x1\xfb\0\0\0
          \x12\0I\0n\0p\0u\0t\0\x44\0o\0\x63\0k\x1\0\0\0\x90\0\0\x4\x15\0\0\x1\x8e\x1\0\0\
          x5\0\0\x4\x15\0\0\x2\xbe\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x1\0\0\0\
          x2\0\0\0\x1\0\0\0\x16\0M\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\
          xff\xff\xff\0\0\0\0\0\0\0\0)
          ActiveBufferView-1=0
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Switch to konversation :P
            (I'm aware that's a crappy answer)

            Comment


              #7
              yup doing the same @hear (Kubuntu 12.10 Quassel-v0.8.0) ,,,,,,,never used it befor but yup it dose as you describe ??

              VINNY

              PS , the help box sead to report bugs hear,,,,http://bugs.quassel-irc.org/
              Last edited by vinnywright; Jun 02, 2013, 03:04 PM.
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                just added to your bug report that it happens @hear as well

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Thanks for confirming and adding to the bug report.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    This is really weird. Snowhog, what if you change the KWin rule from "remember" to "force"?

                    Comment


                      #11
                      Still no difference - the creep remains, even with the option Force set. I'm not quitting KDE (log out and log back in) after making the changes, and I don't think I have to.
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        choose More Actions | Special Applacation Settings, and click the Size and Position tab. Select Position and choose Force from the neighboring drop-down. Do the same for Size. Click OK to create and save this new KWin rule for Quassel,,,,,,,,,

                        this has it sticking for me ......

                        VINNY
                        i7 4core HT 8MB L3 2.9GHz
                        16GB RAM
                        Nvidia GTX 860M 4GB RAM 1152 cuda cores

                        Comment


                          #13
                          Yes, that does work (setting a Special Application Rule), but what I find (still) intriguing is that Quassel continues to update the quasselclient.conf file, with the creep setting included.

                          This has to be a genuine bug, and hopefully it will be triaged and fixed. In the mean time, I have a kluge that works to prevent the creep. I just set the immutable file attribute bit on quasselclient.conf:
                          Code:
                          sudo chattr +i quasselclient.conf
                          The file can't be modified, even by root, unless the attribute is removed.
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Originally posted by kubicle View Post
                            Switch to konversation :P
                            (I'm aware that's a crappy answer)
                            Yes, that is

                            Comment


                              #15
                              Originally posted by kubicle View Post
                              Switch to konversation :P
                              (I'm aware that's a crappy answer)
                              Originally posted by claydoh View Post
                              Yes, that is
                              But it has the advantage of not being a creepy answer!

                              BWHAHAHAHA

                              Comment

                              Working...
                              X