You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Windows 7] Sync Activity window does not show seconds #2535
From OC client 1.6.4 to OC client 1.7.0 the seconds in the Sync Activity window disappeared.
Within a minute many things can happen. So I prefer to have the seconds also visible in the Sync Activity window.
The column width settings in the Sync Activity window can be changed by dragging the column border in the title bar. Unfortunately these settings are not stored.
After each OC restart I have to set these border positions again.
Can these settings be stored and recovered at OC restart?
@lmaestro
I agree with your opinion, but there are so many issues. A designer can solve this at the same time.
As soon as it turns out not to be the case, we can still split it into 2 separate issues.
Thanks for classifying it.
changed the title [-]OC 1.7.0 Sync Activity window does not show seconds and the column width settings are reset each time[/-][+]OC 1.7.0 Sync Activity window does not show seconds[/+]on Dec 1, 2014
@lmaestro
I didn't notice that you opened a new issue for the column settings.
Now I changed the title in order to restrict to seconds disply issue only.
@guruz
I tested ownCloud-1.8.0.4933-nightly20150408 on WinXP, Win7 and Win8.1.
On WinXP the seconds display is still OK.
Now on Win 8.1 the seconds are displayed as well.
But on Win7 there are still no seconds displayed. Forgotten to change something more?
changed the title [-]OC 1.7.0 Sync Activity window does not show seconds[/-][+][Windows 7] Sync Activity window does not show seconds[/+]on Apr 9, 2015
@guruz
Maybe not necessary, but I uninstalled the previous OC client again keeping the user settings.
To be sure I even restarted the Windows 7 PC.
For the installation I used the file ownCloud-1.8.0.4933-nightly20150408-setup.exe.
After the installation the build version 4933 is shown under the General Setting.
But again still no seconds in the Activity display.
Can you reproduce the problem?
I also checked the owncloud.cfg file to see whether there some second setting could be retained.
But under [Settings] and [Logbrowser] there are only lines about the the geometry.
@VincentvgNn I can retest this on Win7. The patch should add seconds everywhere that has a HH:mm format for time. Could you post an example of how timestamps are displayed on Win7? (maybe also post the tooltip of the timestamp field)
@ckamm
Tooltips work quite slow and do not give a good overview. I never saw them before ;-).
The tooltip info is OK.
Here is a picture with the missing seconds display:
In this example the file was ignored and got an OC info icon in front of the timestamp.
One could think about adding an empty icon to align all time values. Or to put the icon after the time value.
I found the rootcause for the difference between Win7 and Win8.
In my Win 8.1 PC the short time format is HH:mm and the long time format is HH:mm:ss.
In my Win 7 PC the short time format is H:mm and the long time format is H:mm:ss.
When I change the short time format from H into HH, quit the OC client and restart it, I get the seconds displayed again.
So obviously the OC client can handle the Windows HH:mm setting and not the H:mm setting.
Is some string operation cutting off the seconds when there is only one "H"?
@VincentvgNn The only 'solution' for this issue I saw was to manually modify the locale's datetime format string, see ea985a8. I'll update the code to also deal with hh and the single-char variants correctly.
@ckamm
I just had a look at Win XP. There is no separate short and long time format, just a single format.
My setting there is: H:mm:ss and ..... surprise, surprise, the OC client displays the seconds there!
I'm not so good in reading the code at ea985a8. Anyhow I only see HH:mm and no H:mm. Is that an update that still has to come?
Please give me a sign when there will be a nightly version for testing.
@ckamm
I tested ownCloud-1.8.0.4938-nightly20150411 and it works fine.
After an OC client restart the short time format settings H:mm, HH:mm, hh:mm tt (US) and h:mm tt (US) are OK. Thanks!
I'll close this issue.
Activity
luciamaestro commentedon Nov 25, 2014
Please the next time create two issue, one issue per enhancement.
#2543
VincentvgNn commentedon Nov 25, 2014
@lmaestro
I agree with your opinion, but there are so many issues. A designer can solve this at the same time.
As soon as it turns out not to be the case, we can still split it into 2 separate issues.
Thanks for classifying it.
[-]OC 1.7.0 Sync Activity window does not show seconds and the column width settings are reset each time[/-][+]OC 1.7.0 Sync Activity window does not show seconds[/+]VincentvgNn commentedon Dec 1, 2014
@lmaestro
I didn't notice that you opened a new issue for the column settings.
Now I changed the title in order to restrict to seconds disply issue only.
VincentvgNn commentedon Dec 19, 2014
@lmaestro
I tested client 1.7.1.
On Win XP the seconds are displayed, on Win 7/8 the seconds are not displayed.
ProtocolWidget: Always add seconds to the DateTime locale. owncloud#2535
ProtocolWidget: Always add seconds to the DateTime locale. #2535
guruz commentedon Apr 8, 2015
@VincentvgNn Does this work with a new nightly build?
VincentvgNn commentedon Apr 8, 2015
@guruz
I tested ownCloud-1.8.0.4933-nightly20150408 on WinXP, Win7 and Win8.1.
On WinXP the seconds display is still OK.
Now on Win 8.1 the seconds are displayed as well.
But on Win7 there are still no seconds displayed. Forgotten to change something more?
[-]OC 1.7.0 Sync Activity window does not show seconds[/-][+][Windows 7] Sync Activity window does not show seconds[/+]guruz commentedon Apr 9, 2015
Are you 100% confident you use the latest build? Can you check the version sha1 in the settings dialog?
VincentvgNn commentedon Apr 9, 2015
@guruz
Maybe not necessary, but I uninstalled the previous OC client again keeping the user settings.
To be sure I even restarted the Windows 7 PC.
For the installation I used the file ownCloud-1.8.0.4933-nightly20150408-setup.exe.
After the installation the build version 4933 is shown under the General Setting.
But again still no seconds in the Activity display.
Can you reproduce the problem?
I also checked the owncloud.cfg file to see whether there some second setting could be retained.
But under [Settings] and [Logbrowser] there are only lines about the the geometry.
ckamm commentedon Apr 9, 2015
@VincentvgNn I can retest this on Win7. The patch should add seconds everywhere that has a HH:mm format for time. Could you post an example of how timestamps are displayed on Win7? (maybe also post the tooltip of the timestamp field)
VincentvgNn commentedon Apr 9, 2015
@ckamm

Tooltips work quite slow and do not give a good overview. I never saw them before ;-).
The tooltip info is OK.
Here is a picture with the missing seconds display:
In this example the file was ignored and got an OC info icon in front of the timestamp.
One could think about adding an empty icon to align all time values. Or to put the icon after the time value.
ckamm commentedon Apr 9, 2015
Huh, maybe the datetime format string is hh:mm and the fix only treats HH:mm...
VincentvgNn commentedon Apr 9, 2015
I found the rootcause for the difference between Win7 and Win8.
In my Win 8.1 PC the short time format is HH:mm and the long time format is HH:mm:ss.
In my Win 7 PC the short time format is H:mm and the long time format is H:mm:ss.
When I change the short time format from H into HH, quit the OC client and restart it, I get the seconds displayed again.
So obviously the OC client can handle the Windows HH:mm setting and not the H:mm setting.
Is some string operation cutting off the seconds when there is only one "H"?
ckamm commentedon Apr 10, 2015
@VincentvgNn The only 'solution' for this issue I saw was to manually modify the locale's datetime format string, see ea985a8. I'll update the code to also deal with hh and the single-char variants correctly.
ProtocolWidget: Fix adding of seconds. #2535
VincentvgNn commentedon Apr 10, 2015
@ckamm
I just had a look at Win XP. There is no separate short and long time format, just a single format.
My setting there is: H:mm:ss and ..... surprise, surprise, the OC client displays the seconds there!
I'm not so good in reading the code at ea985a8. Anyhow I only see HH:mm and no H:mm. Is that an update that still has to come?
Please give me a sign when there will be a nightly version for testing.
ckamm commentedon Apr 10, 2015
It was fixed in 9d8fc4a, tomorrow's builds will have the fix.
VincentvgNn commentedon Apr 11, 2015
@ckamm
I tested ownCloud-1.8.0.4938-nightly20150411 and it works fine.
After an OC client restart the short time format settings H:mm, HH:mm, hh:mm tt (US) and h:mm tt (US) are OK. Thanks!
I'll close this issue.