<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>385238</bug_id>
          
          <creation_ts>2017-09-30 15:57:55 +0000</creation_ts>
          <short_desc>Floating dockers not resizable on OS X</short_desc>
          <delta_ts>2018-04-03 11:46:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Dockers</component>
          <version>4.0 pre-alpha</version>
          <rep_platform>Other</rep_platform>
          <op_sys>macOS</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bernhard Liebl">poke1024</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>halla</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/1cb9d7fd80ce61b003c311a879e31e4f9d2675f0</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1703724</commentid>
    <comment_count>0</comment_count>
    <who name="Bernhard Liebl">poke1024</who>
    <bug_when>2017-09-30 15:57:55 +0000</bug_when>
    <thetext>On OS X (and maybe certain Linux window managers), floating docker windows are not properly resizable (the margin for resizing them seems to be 1 pixel wide and the resize cursor is not working properly). This is a QT bug related to custom titles, reported now as https://bugreports.qt.io/browse/QTBUG-63526.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1703728</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2017-09-30 16:36:43 +0000</bug_when>
    <thetext>Hm, that&apos;s kind of interesting -- we could, perhaps, disable the custom titlebar on OSX, but I&apos;m not sure we can do anything about the actual issue...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1703733</commentid>
    <comment_count>2</comment_count>
    <who name="Bernhard Liebl">poke1024</who>
    <bug_when>2017-09-30 16:57:28 +0000</bug_when>
    <thetext>Yes, disabling the custom titlebar is the only fix in Krita, I looked at the QT code and there&apos;s no way to fix it from the outside. I&apos;ll look into titlebar disabling on OS X a bit more, it would need to only happen if palettes are floating. I also hope the QT guys take the report seriously, it&apos;s a small but highly annoying issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1712987</commentid>
    <comment_count>3</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2017-11-23 10:20:21 +0000</bug_when>
    <thetext>I think that the chances for the Qt guys working on this bug are remote... It&apos;s marked as P3, so we&apos;ll need a workaround where all custom titlebar items are removed if the docker is floating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742208</commentid>
    <comment_count>4</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-03-31 11:06:48 +0000</bug_when>
    <thetext>Git commit b662043a20633d3bc52f9b178171a26ef9be532e by Boudewijn Rempt.
Committed on 31/03/2018 at 11:06.
Pushed by rempt into branch &apos;master&apos;.

Remove the lock, collapse and hide option for dock titlebars

On asking around, it seems that even Krita power users were not
using these options. New users to Krita seemed unable to grasp this
functionality altogether. And we were always having trouble managing
the locked and collapsed state of dockers.

Note that not having a custom titlebar widget also makes it impossible
to keep having an option to remove the titlebars altogether, which was
another way to force the dockers to stay in one place.

A side-effect is that on macOS, floating dockers are resizable now.
Related: bug 392538
CCMAIL:kimageshop@kde.org

M  +0    -1    krita/krita4.xmlgui
M  +1    -13   krita/kritamenu.action
M  +1    -58   libs/ui/KisMainWindow.cpp
M  +0    -5    libs/ui/KisMainWindow.h
M  +0    -5    libs/ui/KisViewManager.cpp
M  +0    -10   libs/ui/kis_config.cc
M  +0    -3    libs/ui/kis_config.h
M  +0    -1    libs/ui/widgets/kis_workspace_chooser.cpp
M  +0    -2    libs/widgets/CMakeLists.txt
D  +0    -379  libs/widgets/KoDockWidgetTitleBar.cpp
D  +0    -67   libs/widgets/KoDockWidgetTitleBar.h
D  +0    -114  libs/widgets/KoDockWidgetTitleBarButton.cpp
D  +0    -55   libs/widgets/KoDockWidgetTitleBarButton.h
D  +0    -72   libs/widgets/KoDockWidgetTitleBar_p.h
M  +0    -5    libs/widgets/KoToolBoxDocker.cpp
M  +0    -3    libs/widgets/KoToolDocker.cpp
M  +0    -12   libs/widgets/kritawidgets.qrc
D  +-    --    libs/widgets/pics/dark_docker_close.png
D  +-    --    libs/widgets/pics/dark_docker_collapse_a.png
D  +-    --    libs/widgets/pics/dark_docker_collapse_b.png
D  +-    --    libs/widgets/pics/dark_docker_float.png
D  +-    --    libs/widgets/pics/dark_docker_lock_a.png
D  +-    --    libs/widgets/pics/dark_docker_lock_b.png
D  +-    --    libs/widgets/pics/light_docker_close.png
D  +-    --    libs/widgets/pics/light_docker_collapse_a.png
D  +-    --    libs/widgets/pics/light_docker_collapse_b.png
D  +-    --    libs/widgets/pics/light_docker_float.png
D  +-    --    libs/widgets/pics/light_docker_lock_a.png
D  +-    --    libs/widgets/pics/light_docker_lock_b.png

https://commits.kde.org/krita/b662043a20633d3bc52f9b178171a26ef9be532e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742839</commentid>
    <comment_count>5</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-04-03 11:46:09 +0000</bug_when>
    <thetext>Git commit 1cb9d7fd80ce61b003c311a879e31e4f9d2675f0 by Boudewijn Rempt.
Committed on 03/04/2018 at 11:20.
Pushed by rempt into branch &apos;krita/4.0&apos;.

Remove the lock, collapse and hide option for dock titlebars

On asking around, it seems that even Krita power users were not
using these options. New users to Krita seemed unable to grasp this
functionality altogether. And we were always having trouble managing
the locked and collapsed state of dockers.

Note that not having a custom titlebar widget also makes it impossible
to keep having an option to remove the titlebars altogether, which was
another way to force the dockers to stay in one place.

A side-effect is that on macOS, floating dockers are resizable now.
Related: bug 392538
CCMAIL:kimageshop@kde.org
(cherry picked from commit b662043a20633d3bc52f9b178171a26ef9be532e)

M  +0    -1    krita/krita4.xmlgui
M  +1    -13   krita/kritamenu.action
M  +1    -58   libs/ui/KisMainWindow.cpp
M  +0    -5    libs/ui/KisMainWindow.h
M  +0    -5    libs/ui/KisViewManager.cpp
M  +0    -10   libs/ui/kis_config.cc
M  +0    -3    libs/ui/kis_config.h
M  +0    -1    libs/ui/widgets/kis_workspace_chooser.cpp
M  +0    -2    libs/widgets/CMakeLists.txt
D  +0    -379  libs/widgets/KoDockWidgetTitleBar.cpp
D  +0    -67   libs/widgets/KoDockWidgetTitleBar.h
D  +0    -114  libs/widgets/KoDockWidgetTitleBarButton.cpp
D  +0    -55   libs/widgets/KoDockWidgetTitleBarButton.h
D  +0    -72   libs/widgets/KoDockWidgetTitleBar_p.h
M  +0    -5    libs/widgets/KoToolBoxDocker.cpp
M  +0    -3    libs/widgets/KoToolDocker.cpp
M  +0    -12   libs/widgets/kritawidgets.qrc
D  +-    --    libs/widgets/pics/dark_docker_close.png
D  +-    --    libs/widgets/pics/dark_docker_collapse_a.png
D  +-    --    libs/widgets/pics/dark_docker_collapse_b.png
D  +-    --    libs/widgets/pics/dark_docker_float.png
D  +-    --    libs/widgets/pics/dark_docker_lock_a.png
D  +-    --    libs/widgets/pics/dark_docker_lock_b.png
D  +-    --    libs/widgets/pics/light_docker_close.png
D  +-    --    libs/widgets/pics/light_docker_collapse_a.png
D  +-    --    libs/widgets/pics/light_docker_collapse_b.png
D  +-    --    libs/widgets/pics/light_docker_float.png
D  +-    --    libs/widgets/pics/light_docker_lock_a.png
D  +-    --    libs/widgets/pics/light_docker_lock_b.png

https://commits.kde.org/krita/1cb9d7fd80ce61b003c311a879e31e4f9d2675f0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>