View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#50
Question: Is the normal clock applet in the status bar open source? If not, I would use this as further benefit to my following feature request for the status bar version, though I think it's meritable enough in itself:

Also add normal 12 and 24 hour time displays. This would allow us users to switch casually to 12/24 hour and binary displays when desired without either A, editing the /etc/hildon-desktop/status-menu.plugins file, or B uninstalling and reinstalling the applet.

It also allows for the adding of the seconds on/off to the normal-numbers display. You could probably release the thing as "Advanced Clock Applet" or something (in the pattern of Advanced Power and Advanced Interface Switcher, but your app, your name, obviously). Possibly release both the simple Binary Clock, and the more feature-ladden version, IF you like the aesthetic of keeping them separate, or want the name of the more feature-ladden version to be more representative of the applet, without sacrificing the Binary Clock name. *Shrug*

At any rate, I am not pushing for getting this done now, because it can obviously wait. But I do think that in the long term, it would be great to see this clock go that way, because it makes it versatile enough that it can serve as a clock replacement for everyone who's not completely happy with the normal display, rather than just those who like the binary clock. (Don't get me wrong, I like it too, or I wouldn't have installed it. But I also like the versatility of being able to switch with the press of a settings option, and being able to have people not versed in binary read the time if I happen to let them fiddle with my phone. :P )

Also, quick second request: Recently MohammadAG came out with a mod for Hildon-Home and Hildon-Desktop that allowed you to open the status bar's menu from any application in portrait mode (by default, pressing on the status bar icons area does nothing in portrait mode). This allows some much greater versatility in the form of, say, turning flashlight on/off and adjusting brightness from Simple Brightness Applet when in portrait mode. However, while the status menu works wonderfully in portrait mode, most (scratch that - all that I use) applets are not themselves coded to work in both portrait and landscape. So, while your Binary Clock settings button appears in the status menu when it's brought up in portrait mode, pressing on it forces the entire screen into landscape, because that's the only mode the pop-up menu itself has.

Now, I've looked at the code and I am not well-versed in python enough to fully get what's going on, or how to do this, or else I'd try myself and submit a patch to you myself, so: I'm requesting that you add portrait support (maybe with auto rotation... probably ideal if it can auto rotate, but I'm sure someone out there won't like it) to the pop-up settings menu that comes out when you press the status menu Binary Clock button, if it's possible and Hildon itself doesn't impose some restriction on that.

At the same time, if you pull off the aforementioned pop-up menu from-status-menu-applet auto-rotation/portrait-support, that same python code would be helpful for both the Advanced Power and Advanced Interface Switcher applets, and Live Focus (the actual package name is something odd, but I know it's written in Python too) could use it, and I'm sure there's a bunch of other python status applets that would benefit from this when combined with the newly-emerged portrait mode status-menu usability.

Last edited by Mentalist Traceur; 2010-12-24 at 09:53. Reason: Some typos corrected.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post: