<?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>320016</bug_id>
          
          <creation_ts>2013-05-19 16:12:56 +0000</creation_ts>
          <short_desc>Full-screen options are not applied after restarting digikam</short_desc>
          <delta_ts>2017-08-04 12:14:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Usability-FullScreen</component>
          <version>3.2.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</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>0</everconfirmed>
          <reporter name="Romain Henriet">romain.pub</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>alexanders83</cc>
    
    <cc>caulier.gilles</cc>
    
    <cc>nucleo</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>3.3.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1369822</commentid>
    <comment_count>0</comment_count>
    <who name="Romain Henriet">romain.pub</who>
    <bug_when>2013-05-19 16:12:56 +0000</bug_when>
    <thetext>When opening digikam and switching to full-screen view, side bars and toolbar are shown and thumbnail bar is hidden, despite what is checked in configuration dialog.
If you (un)check one of the &quot;Hide ...&quot; box of &quot;Full-screen options&quot;, then full-screen view is like you want.

Reproducible: Always

Steps to Reproduce:
1. Run Digikam
2. Open Configuration dialog
3. In Album View, check &quot;Hide toolbars&quot; and &quot;Hide sidebars&quot;, and uncheck &quot;Hide thumbbar&quot;
4. Close dialog
5. Open full-screen view : Toolbars are hidden, sidebars are hidden, thumbbar is shown :-)
6. Restart Digikam
7. Open full-screen view : Toolbars are shown, sidebars are shown, thumbbar is hidden :-(
Actual Results:  
Full-screen view is different from what is checked in configuration dialog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369824</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-05-19 16:21:55 +0000</bug_when>
    <thetext>It&apos;s probably due to changes in the way that settings is now stored in config file.

When you start a new session, problem disappear ?

It&apos;s not reproducible here...

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369845</commentid>
    <comment_count>2</comment_count>
    <who name="Romain Henriet">romain.pub</who>
    <bug_when>2013-05-19 18:04:57 +0000</bug_when>
    <thetext>Yes I created a new user and there is the same problem.
The configuration is saved correctly as the checkboxes are in the same state as I leaved them before restarting digikam. But it is simply not applied...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369849</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-05-19 18:16:12 +0000</bug_when>
    <thetext>Ah the problem is different. Settings is stored and restored between session. But you want to see digiKam started in fullscreen mode as well ?

If yes, as i rewritten and factored all code relevant to fullscreen mode, i see a lots of GUI problem to start in fullscreen mode directly an application. Especially under OSX, digiKam GUI is completely broken. Under Linux, it&apos;s less catastrophic but not perfect.

So i removed the way to quit digiKam in fullscreen mode and to restore it as well in this mode.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369874</commentid>
    <comment_count>4</comment_count>
    <who name="Romain Henriet">romain.pub</who>
    <bug_when>2013-05-19 21:49:01 +0000</bug_when>
    <thetext>Je vais utiliser le français, je crois que ce sera plus simple.

1. En fait j&apos;ai coché les cases &quot;Hide toolbars&quot;, &quot;Hide sidebars&quot; et &quot;Hide thumbbar&quot; dans la fenêtre de configuration, 
2. Ainsi quand je bascule en plein écran, seule l&apos;image est affichée (aucune barre d&apos;outil/latérale, ça correspond bien à ce qui est coché).
3. Ensuite, je reviens en vue normale, je ferme digikam et je le relance. 
4. J&apos;arrive alors sur la vue normale, jusque là ok, 
5. mais quand je demande un affichage en plein écran, les barres d&apos;outils et les barre latérales s&apos;affichent autour de l&apos;image
6. Je reviens alors en vue normale et ouvre la fenêtre de configuration. Les 3 cases citées ci-dessus sont bien cochées, comme je les avais laissées
7. Je ne modifie donc rien et clique sur ok pour fermer la fenêtre de configuration
8. Et là si j&apos;ouvre à nouveau le mode plein écran, j&apos;obtiens bien l&apos;affichage de l&apos;étape 2

La configuration est donc bien conservée entre 2 lancements de digikam. D&apos;ailleurs mon fichier digikamrc contient les 3 lignes &quot;FullScreen Hide SideBars=true&quot;, &quot;FullScreen Hide ThumbBar=true&quot;, &quot;FullScreen Hide ToolBars=true&quot;. Par contre j&apos;ai l&apos;impression que ces paramètres ne sont pas appliqués automatiquement au lancement de l&apos;application, et qu&apos;il faut revalider la configuration avec le bouton Ok pour qu&apos;ils soient pris en compte.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369924</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Stein">alexanders83</who>
    <bug_when>2013-05-20 10:15:02 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Ah the problem is different. Settings is stored and restored between
&gt; session. But you want to see digiKam started in fullscreen mode as well ?
&gt; 
&gt; If yes, as i rewritten and factored all code relevant to fullscreen mode, i
&gt; see a lots of GUI problem to start in fullscreen mode directly an
&gt; application. Especially under OSX, digiKam GUI is completely broken. Under
&gt; Linux, it&apos;s less catastrophic but not perfect.

I think the problem is slightly different as you describe here.
My current settings for full-screen view:
[ ] Hide toolbars
[x] hide thumbbar
[x] hide sidebars

1. Start digikam ( get into album view from my select ed album)
2. enter full-screen view:
 * sidebars are shown and opened
 * toolbar is shown
 * thumbbar is hidden
3. quit fullscreen &amp; enter digikam configuration
4. change nothing (!) and press &apos;OK&apos;
5. enter full-screen again:
 * sidebars hidden
 * toolbar is shown
 * thumbbar is hidden

The effects a smaller than the ones Romain described in comment #1 because my toolbar and thumbbar settings match the ones digikam picks. But the sidebar setting is wrong after startup until i store/set a new one in the configuration.
It appears to me that digikam doesn&apos;t load the saved configuration properly.
Noticed this on Digikam 3.2.0 on Gentoo, while Digikam 3.1.0 in Arch doesn&apos;t show this behavior. Might be caused by the fact that full-screen settings just came with 3.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1369926</commentid>
    <comment_count>6</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-05-20 10:28:10 +0000</bug_when>
    <thetext>As the full screen settings is managed in a common way now with 3.2.0 (it&apos;s not the case with previous version), can you check if other main digiKam windows give the same dysfunction, as :

-Light Table
-Image Editor
-Batch Queue Manager

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370002</commentid>
    <comment_count>7</comment_count>
    <who name="Romain Henriet">romain.pub</who>
    <bug_when>2013-05-20 15:51:30 +0000</bug_when>
    <thetext>Light table in full-screen view : toolbar, thumbbar and (In reply to comment #5)
&gt; (In reply to comment #3)
&gt; &gt; Ah the problem is different. Settings is stored and restored between
&gt; &gt; session. But you want to see digiKam started in fullscreen mode as well ?
&gt; &gt; 
&gt; &gt; If yes, as i rewritten and factored all code relevant to fullscreen mode, i
&gt; &gt; see a lots of GUI problem to start in fullscreen mode directly an
&gt; &gt; application. Especially under OSX, digiKam GUI is completely broken. Under
&gt; &gt; Linux, it&apos;s less catastrophic but not perfect.
&gt; 
&gt; I think the problem is slightly different as you describe here.
&gt; My current settings for full-screen view:
&gt; [ ] Hide toolbars
&gt; [x] hide thumbbar
&gt; [x] hide sidebars
&gt; 
&gt; 1. Start digikam ( get into album view from my select ed album)
&gt; 2. enter full-screen view:
&gt;  * sidebars are shown and opened
&gt;  * toolbar is shown
&gt;  * thumbbar is hidden
&gt; 3. quit fullscreen &amp; enter digikam configuration
&gt; 4. change nothing (!) and press &apos;OK&apos;
&gt; 5. enter full-screen again:
&gt;  * sidebars hidden
&gt;  * toolbar is shown
&gt;  * thumbbar is hidden
&gt; 
&gt; The effects a smaller than the ones Romain described in comment #1 because
&gt; my toolbar and thumbbar settings match the ones digikam picks. But the
&gt; sidebar setting is wrong after startup until i store/set a new one in the
&gt; configuration.
&gt; It appears to me that digikam doesn&apos;t load the saved configuration properly.
&gt; Noticed this on Digikam 3.2.0 on Gentoo, while Digikam 3.1.0 in Arch doesn&apos;t
&gt; show this behavior. Might be caused by the fact that full-screen settings
&gt; just came with 3.2.

Yes that&apos;s exactly the same for me, I may not have been clear enough in #1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370010</commentid>
    <comment_count>8</comment_count>
    <who name="Romain Henriet">romain.pub</who>
    <bug_when>2013-05-20 16:06:48 +0000</bug_when>
    <thetext>For me, full-screen settings don&apos;t seem to be applied for other windows, even after reloading configuration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370066</commentid>
    <comment_count>9</comment_count>
    <who name="nucleo">nucleo</who>
    <bug_when>2013-05-20 22:25:10 +0000</bug_when>
    <thetext>See also bug 319876 about panels and fullscreen mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1371718</commentid>
    <comment_count>10</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-05-28 12:05:54 +0000</bug_when>
    <thetext>Git commit 439316380574b6dc8b3c3ed37efa1e74656c342f by Gilles Caulier.
Committed on 28/05/2013 at 14:01.
Pushed by cgilles into branch &apos;master&apos;.

factoring everywhere Genreal config group used to store main windows settings in RC file
Ensure that full screen settings is loaded at initialization of AlbumGUI.
Related: bug 320371, bug 319876

M  +11   -9    digikam/main/digikamapp.cpp
M  +6    -6    digikam/utils/albumsettings.cpp
M  +1    -1    digikam/utils/albumsettings.h
M  +4    -4    utilities/setup/setupalbumview.cpp

http://commits.kde.org/digikam/439316380574b6dc8b3c3ed37efa1e74656c342f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>