maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 clock replacement [continued] (https://talk.maemo.org/showthread.php?t=81582)

ade 2013-02-17 10:23

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by sixwheeledbeast (Post 1323401)
I guess it's to do with the new colours behind the buttons on selection. This is new as of 0.6-4
I like the colours TBH, but as mentioned the buttons are not stock behaviour.

No , that has nothing to do with it. It always worked this way, only now people take a closer look at it because of the new background.
Cepi Perez made it based on pressed and released events. To get the stock clock behavoir, it's needs to be based on clicked events.
I am now combining these three, so I also can preserve the pressed icon effect.

Quote:

Also it's nice to see a .deb much easier to install updates :)
For now it means more work for me, but that's okay :)

Quote:

One quick thing.
On selecting adjust time and date in portrait it switches over to landscape while the dialog is open.

It seems selecting Settings > Time & Date shows the desired portrait dialog so not sure why clock-ui doesn't.
If you use the latest hildon desktop, that is no longer the case, because of the Qt fixes of Arcean. But the (cssu based) settings program was able to adapt to portrait earlier.
I have looked at that a long time ago and even posted a question about it on TMO. It is now even capable of showing the worldmap in portrait in noticed some weeks ago! I scanned the code then, it makes a similar call like I do. I didn't figured out how it was done. One big difference is that "settings" is based on GTK, so it may be some GTK magic.
Maybe Pali or Arcean know more about it.

P.s. if you use forced portrait mode, exiting the work map from the applet will freeze the replacement clock. So it is better to use it from "settings" anyway, until it perhaps will better integrate in the replacement clock.

sixwheeledbeast 2013-02-17 10:46

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1323411)
No , that has nothing to do with it. It always worked this way, only now people take a closer look at it because of the new background.
Cepi Perez made it based on pressed and released events. To get the stock clock behavoir, it's needs to be based on clicked events.
I am now combining these three, so I also can preserve the pressed icon effect.

I was certain this was brand new but it's amazing how the mind spots things like this.

Quote:

Originally Posted by ade (Post 1323411)
if you use forced portrait mode, exiting the work map from the applet will freeze the replacement clock. So it is better to use it from "settings" anyway, until it perhaps will better integrate in the replacement clock.

This was forcedrotation off and tested with clock-ui whitelisted to no avail.
Hopefully the h-d fix will make it's way though testing soon.

Thanks.

peterleinchen 2013-02-17 11:46

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1323411)
No , that has nothing to do with it. It always worked this way, only now people take a closer look at it because of the new background.

Yeah, I do not know since when this was. I deleted my worldclock history some weeks ago, so could not check. But as you say it has been since the early days? OK or better KO to my mind :)

About the DEBs
Quote:

Originally Posted by ade (Post 1323411)
For now it means more work for me, but that's okay :)

I really feel good with it, especially for the repos. But here on your OP I feel a zip is pretty okay (for testing/devel versions).
Indeed it is more work for me to instal ;) Download, extract, check/diff, copy binary. Whereas the zipped binary is a one-step. But just my opinion.
I feel good with DEBs from trustworthy source!

ade 2013-02-17 12:10

Re: N900 clock replacement [continued]
 
@sixwheeledbeast:
P.s. I was talking about forced portrait mode (also a new h-d feature), not forced rotation.

Okay, I hope everyone can keep up this pace, because we have another update :)

Code:

clock-ui (0.6-5) unstable; urgency=low

  * restore city popup-list height when switching from landscape to portrait
  * added background effect when pressing time in portrait mode
  * button pressing behavoir in mainscreen made equal to default clock
  * new alarm/worldclock buttons act like the default clock


sixwheeledbeast 2013-02-17 12:37

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1323411)
For now it means more work for me, but that's okay :)

0.6-5 :)

I know we have spoke about this before but you could drop the non-date support version. I doubt there would be any objections as the added feature, doesn't remove anything of the original clock-ui.

ade 2013-02-17 12:45

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by sixwheeledbeast (Post 1323440)
0.6-5 :)

I know we have spoke about this before but you could drop the non-date support version. I doubt there would be any objections as the added feature, doesn't remove anything of the original clock-ui.

Yeah, I might in the near future.
As said before, I wanted to have a version as close and stable to the stock clock as possible, to ease CSSU incorporation. But as the version with date seems to function fine and CSSU incorporation plans have gone to the background, there are no valid reasons left to maintain two branches.

Edit: some small fixes in a new version:
Code:

clock-ui (0.6-6) unstable; urgency=low .
  * fixed some negative minutes in the complete citylist
  * stretched landscape citydetail screen to fit longer citynames


sixwheeledbeast 2013-02-26 22:14

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1323441)
Yeah, I might in the near future.
As said before, I wanted to have a version as close and stable to the stock clock as possible, to ease CSSU incorporation.

Mainly a bump to make people aware of your new version.

Also a quick note you may want to update your wiki page for this if you have time. "experimential date support"

Would be nice to see the changelog in the wiki too. :)

Thanks for your continued contributions, once again.

Wikiwide 2013-02-26 22:40

Re: N900 clock replacement [continued]
 
Quick reply...
Stock clock-ui stores its list of world clocks in /home/user/.clock/wdb-user. If you have n world clocks, size of the file is 4*n, as displayed by "ls -lah /home/user/.clock/wdb-user". However, I don't know exactly how it converts an added world clock into the information stored within this file. It does not seem to be human-readable.
Best wishes.
_________________
Per aspera ad astra...

sixwheeledbeast 2013-02-26 23:14

Re: N900 clock replacement [continued]
 
UTC seems missing in the latest world clock?
It can only be found when using the sarch bar.
Is this correct behaviour?

ade 2013-02-26 23:25

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by sixwheeledbeast (Post 1325541)
UTC seems missing in the latest world clock?
It can only be found when using the sarch bar.
Is this correct behaviour?

Nothing has changed in my view. In the list it can be found under "G" of GMT/UTC. That has been the case for a long time.

@Wikiwide:
Yes, we mentioned that earlier. And I was going to stick to the current implementation.

Edit: p.s. wiki is updated, thanks for reminding


All times are GMT. The time now is 21:27.

vBulletin® Version 3.8.8