Bug 441303 - Icons / Controls On Animation Timeline Docker Vanishing After Switching Workspace
Summary: Icons / Controls On Animation Timeline Docker Vanishing After Switching Works...
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Dockers (other bugs)
Version First Reported In: 5.0.0-beta1
Platform: Android Android 11.x
: NOR normal
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-21 14:34 UTC by Edward Mowah
Modified: 2021-09-01 12:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screen recording showing Animation Timeline Docker Icons / Controls Vanishing when interacting with Workspaces. (1.54 MB, video/mp4)
2021-08-21 14:34 UTC, Edward Mowah
Details
VideoCapture_20210827-121948.jpg (170.72 KB, image/jpeg)
2021-08-27 11:25 UTC, Edward Mowah
Details
VideoCapture_20210827-122214.jpg (144.71 KB, image/jpeg)
2021-08-27 11:25 UTC, Edward Mowah
Details
krita.log (3.59 KB, application/octet-stream)
2021-08-30 09:02 UTC, Edward Mowah
Details
kritarc (NEW) (25.00 KB, application/octet-stream)
2021-08-30 09:02 UTC, Edward Mowah
Details
krita.log (NEW) (43.58 KB, application/octet-stream)
2021-08-30 09:02 UTC, Edward Mowah
Details
kritarc (PROBLEM FILE) (33.77 KB, application/octet-stream)
2021-08-30 09:02 UTC, Edward Mowah
Details
Screen_Recording_20210830-102205.mp4 (3.74 MB, video/mp4)
2021-08-30 09:23 UTC, Edward Mowah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Mowah 2021-08-21 14:34:27 UTC
Created attachment 140916 [details]
Screen recording showing Animation Timeline Docker Icons / Controls Vanishing when interacting with Workspaces.

SUMMARY
Hello,

Whenever I switch to a different Workspace from Animation Workspace and back, or even just clicking again on the Animation Workspace while still in the Animation Workspace, I noticed that the Icons/controls disappear. They will not reappear until krita is restarted.

STEPS TO REPRODUCE
1. Switch to a different Workspace from Animation Workspace, then switch back to Animation Workspace (Or any Workspace with the Animation Timeline docker)
2. Without switching to a different Workspace, just reclick the Animation Workspace or any Workspace that has the Animation Timeline docker active.
3. Restart Krita while in the same Workspace that has the Animation Timeline Docker active for the icons/controls to reappear.

OBSERVED RESULT
Icons / controls on the Animation Timeline Docker will disappear after switching to and from another Workspace.

Icons / controls on the Animation Timeline Docker will disappear after reclicking whichever currently active Workspace has the Animation Timeline docker.

Icons and controls will only reappear after restarting krita. (Not permanent since doing what's written above will repeat the same issue)


EXPECTED RESULT
To be able to activate any Workspace without causing the icons / controls to vanish from the Animation Timeline Docker.

SOFTWARE/OS VERSIONS
Android : 11
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Attached is a video showing the issue.
Comment 1 Halla Rempt 2021-08-23 10:37:59 UTC
Looks like this is Android-specific. I cannot reproduce it on macOS or Linux. Sharaf, can you take a look?
Comment 2 sh_zam 2021-08-27 09:24:31 UTC
Hello Edward!

I'm afraid I can't reproduce this on my Android device, even on a freshly installed beta version. Could you attach the log from Settings -> Help -> Show Krita log for bug reports
Comment 3 Edward Mowah 2021-08-27 11:25:57 UTC
Created attachment 141084 [details]
VideoCapture_20210827-121948.jpg

This is what I got:

"WARNING: The Krita usage log file doesn't exist.File name and location:
/storage/emulated/0/Android/data/org.krita/files/krita.log------------------------------------

Krita
  Version: 5.0.0-beta1

Qt
  Version (compiled): 5.12.11
  Version (loaded): 5.12.11

OS Information
  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: linux
  Kernel Version: 4.14.190-21627332-abT865XXS4CUG1
  Pretty Productname: Android (11.0)
  Product Type: android
  Product Version: 11.0


OpenGL Info

  Vendor: "Qualcomm"
  Renderer: "Adreno (TM) 640"
  Version: "OpenGL ES 3.2 V@0502.0 (GIT@afcc001, I30979edc94, 1615994807)
(Date:03/17/21)"
  Shading language: "OpenGL ES GLSL ES 3.20"
  Requested format: QSurfaceFormat(version 2.0, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize
8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile
QSurfaceFormat::NoProfile)
  Current format: QSurfaceFormat(version 3.2, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize
8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples 0, swapBehavior
QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace
QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
     Version: 3.2
     Supports deprecated functions false
     is OpenGL ES: true

QPA OpenGL Detection Info
  supportsDesktopGL: false
  supportsOpenGLES: true
  isQtPreferOpenGLES: true

Hardware Information
 Memory: 7 Gb
 Cores: 8
 Swap: /data/data/org.krita/files"


Update: This also happens to the titles and exit buttons on other dockers.

On Fri, 27 Aug 2021, 10:24 sh_zam, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=441303
>
> sh_zam <shzam@sdf.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>              Status|ASSIGNED                    |NEEDSINFO
>
> --- Comment #2 from sh_zam <shzam@sdf.org> ---
> Hello Edward!
>
> I'm afraid I can't reproduce this on my Android device, even on a freshly
> installed beta version. Could you attach the log from Settings -> Help ->
> Show
> Krita log for bug reports
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Edward Mowah 2021-08-27 11:25:57 UTC
Created attachment 141085 [details]
VideoCapture_20210827-122214.jpg
Comment 5 Bug Janitor Service 2021-08-28 04:36:48 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 6 sh_zam 2021-08-30 07:52:13 UTC
(In reply to Edward Mowah from comment #3)
> Created attachment 141084 [details]
> VideoCapture_20210827-121948.jpg
> 
> This is what I got:
> 
> "WARNING: The Krita usage log file doesn't exist.File name and location:
> /storage/emulated/0/Android/data/org.krita/files/krita.log-------------------
> -----------------
> 

This seems like a really odd problem! We did change the location from internal storage to external storage on Android. Can you verify by using the File Manager whether the file exists at this location or not?
Comment 7 Edward Mowah 2021-08-30 09:02:12 UTC
Created attachment 141145 [details]
krita.log

Hello,

I downloaded a fresh copy of Krita, before installing it, I backed up all
the files in org.krita/files, the newer installation didn't seem to have
the same issue, so I started replacing some new files with the old ones I
backed up and found that the file causing the problem was: "kritarc". I
switched between the old file and new one several times just to make sure.

I'll attach the old and new kritarc file, and the old and new log files you
might be able to reproduce the problem.




On Mon, 30 Aug 2021, 08:52 sh_zam, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=441303
>
> sh_zam <shzam@sdf.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |ASSIGNED
>      Ever confirmed|0                           |1
>
> --- Comment #6 from sh_zam <shzam@sdf.org> ---
> (In reply to Edward Mowah from comment #3)
> > Created attachment 141084 [details]
> > VideoCapture_20210827-121948.jpg
> >
> > This is what I got:
> >
> > "WARNING: The Krita usage log file doesn't exist.File name and location:
> >
> /storage/emulated/0/Android/data/org.krita/files/krita.log-------------------
> > -----------------
> >
>
> This seems like a really odd problem! We did change the location from
> internal
> storage to external storage on Android. Can you verify by using the File
> Manager whether the file exists at this location or not?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 8 Edward Mowah 2021-08-30 09:02:12 UTC
Created attachment 141146 [details]
kritarc (NEW)
Comment 9 Edward Mowah 2021-08-30 09:02:12 UTC
Created attachment 141147 [details]
krita.log (NEW)
Comment 10 Edward Mowah 2021-08-30 09:02:12 UTC
Created attachment 141148 [details]
kritarc (PROBLEM FILE)
Comment 11 Edward Mowah 2021-08-30 09:15:00 UTC
In addition, I don't know if this is all part of the same issue, but when
onion skin docker is part of the Animation Timeline Docker, other dockers
can not be attached.

I'll attach a screen recording.


On Mon, 30 Aug 2021, 10:01 Edward, <edwardmowah@gmail.com> wrote:

> Hello,
>
> I downloaded a fresh copy of Krita, before installing it, I backed up all
> the files in org.krita/files, the newer installation didn't seem to have
> the same issue, so I started replacing some new files with the old ones I
> backed up and found that the file causing the problem was: "kritarc". I
> switched between the old file and new one several times just to make sure.
>
> I'll attach the old and new kritarc file, and the old and new log files
> you might be able to reproduce the problem.
>
>
>
>
> On Mon, 30 Aug 2021, 08:52 sh_zam, <bugzilla_noreply@kde.org> wrote:
>
>> https://bugs.kde.org/show_bug.cgi?id=441303
>>
>> sh_zam <shzam@sdf.org> changed:
>>
>>            What    |Removed                     |Added
>>
>> ----------------------------------------------------------------------------
>>              Status|REPORTED                    |ASSIGNED
>>      Ever confirmed|0                           |1
>>
>> --- Comment #6 from sh_zam <shzam@sdf.org> ---
>> (In reply to Edward Mowah from comment #3)
>> > Created attachment 141084 [details]
>> > VideoCapture_20210827-121948.jpg
>> >
>> > This is what I got:
>> >
>> > "WARNING: The Krita usage log file doesn't exist.File name and location:
>> >
>> /storage/emulated/0/Android/data/org.krita/files/krita.log-------------------
>> > -----------------
>> >
>>
>> This seems like a really odd problem! We did change the location from
>> internal
>> storage to external storage on Android. Can you verify by using the File
>> Manager whether the file exists at this location or not?
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>
>
Comment 12 Edward Mowah 2021-08-30 09:23:51 UTC
Created attachment 141149 [details]
Screen_Recording_20210830-102205.mp4

On Mon, 30 Aug 2021, 10:14 Edward, <edwardmowah@gmail.com> wrote:

> In addition, I don't know if this is all part of the same issue, but when
> onion skin docker is part of the Animation Timeline Docker, other dockers
> can not be attached.
>
> I'll attach a screen recording.
>
>
> On Mon, 30 Aug 2021, 10:01 Edward, <edwardmowah@gmail.com> wrote:
>
>> Hello,
>>
>> I downloaded a fresh copy of Krita, before installing it, I backed up all
>> the files in org.krita/files, the newer installation didn't seem to have
>> the same issue, so I started replacing some new files with the old ones I
>> backed up and found that the file causing the problem was: "kritarc". I
>> switched between the old file and new one several times just to make sure.
>>
>> I'll attach the old and new kritarc file, and the old and new log files
>> you might be able to reproduce the problem.
>>
>>
>>
>>
>> On Mon, 30 Aug 2021, 08:52 sh_zam, <bugzilla_noreply@kde.org> wrote:
>>
>>> https://bugs.kde.org/show_bug.cgi?id=441303
>>>
>>> sh_zam <shzam@sdf.org> changed:
>>>
>>>            What    |Removed                     |Added
>>>
>>> ----------------------------------------------------------------------------
>>>              Status|REPORTED                    |ASSIGNED
>>>      Ever confirmed|0                           |1
>>>
>>> --- Comment #6 from sh_zam <shzam@sdf.org> ---
>>> (In reply to Edward Mowah from comment #3)
>>> > Created attachment 141084 [details]
>>> > VideoCapture_20210827-121948.jpg
>>> >
>>> > This is what I got:
>>> >
>>> > "WARNING: The Krita usage log file doesn't exist.File name and
>>> location:
>>> >
>>> /storage/emulated/0/Android/data/org.krita/files/krita.log-------------------
>>> > -----------------
>>> >
>>>
>>> This seems like a really odd problem! We did change the location from
>>> internal
>>> storage to external storage on Android. Can you verify by using the File
>>> Manager whether the file exists at this location or not?
>>>
>>> --
>>> You are receiving this mail because:
>>> You reported the bug.
>>
>>
Comment 13 sh_zam 2021-08-30 12:32:30 UTC
(In reply to Edward Mowah from comment #7)
> Created attachment 141145 [details]
> krita.log
> 
> Hello,
> 
> I downloaded a fresh copy of Krita, before installing it, I backed up all
> the files in org.krita/files, the newer installation didn't seem to have
> the same issue, so I started replacing some new files with the old ones I
> backed up and found that the file causing the problem was: "kritarc". I
> switched between the old file and new one several times just to make sure.
> 

Thanks for the investigation!

Okay, I've narrowed this down. The problematic line in the kritarc file seems to be:


showDockerTitleBars=false

You have to either set this to true or remove it. The only code path to change this seems to be through the Command Bar. And it seems intentional for the docker title bar to disappear or reappear if the toggle is turned on/off. 

I'm not sure if the bug should be closed as intentional or not, Halla what do you think?


(In reply to Edward Mowah from comment #11)
> In addition, I don't know if this is all part of the same issue, but when
> onion skin docker is part of the Animation Timeline Docker, other dockers
> can not be attached.

Seems like an unrelated problem, could you please open a new bug report for this?
Comment 14 Halla Rempt 2021-09-01 12:13:21 UTC
Git commit 58fcb587b8f360b5dfc564a43eda79c8c8ad144e by Halla Rempt.
Committed on 01/09/2021 at 12:12.
Pushed by rempt into branch 'master'.

Fix handling ofshowDockerTitleBars

If the docker's titlebar widget inherits KisUtilityTitleBar, the
titlebar should never be hidden. Plus, we should restore the
setting on start-up

M  +10   -4    libs/ui/KisMainWindow.cpp

https://invent.kde.org/graphics/krita/commit/58fcb587b8f360b5dfc564a43eda79c8c8ad144e
Comment 15 Halla Rempt 2021-09-01 12:13:34 UTC
Git commit b9918eda6ebc1cbe6148d5922a0fc1a665291bb9 by Halla Rempt.
Committed on 01/09/2021 at 12:13.
Pushed by rempt into branch 'krita/5.0'.

Fix handling ofshowDockerTitleBars

If the docker's titlebar widget inherits KisUtilityTitleBar, the
titlebar should never be hidden. Plus, we should restore the
setting on start-up
(cherry picked from commit 58fcb587b8f360b5dfc564a43eda79c8c8ad144e)

M  +10   -4    libs/ui/KisMainWindow.cpp

https://invent.kde.org/graphics/krita/commit/b9918eda6ebc1cbe6148d5922a0fc1a665291bb9