maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Mer 0.11 released (https://talk.maemo.org/showthread.php?t=28105)

qwerty12 2009-04-12 11:00

Re: Mer 0.11 released
 
I've uploaded a version of blueman to the mer repo with basic hildon elements (window, application and menu) and fullscreen on F6. It's still not finished, and I will do as much as I can but I'm not a python programmer so if anyone wants to contribute - please do so.

Hacked applet to have right click menu with "left" mouse button:
http://trac.tspre.org/qwerty12/blueman2.png

FRZ 2009-04-12 20:06

Re: Mer 0.11 released
 
Quote:

Originally Posted by Stskeeps (Post 278876)
OK, I lied. To fix the crash-everything-when-using-Control-Panel-Panels bug, I had to fix the desktop layout. When you see a hildon-desktop-layout-alpha update, you really want to rm -rf ~username/.osso/hildon-desktop before rebooting.

Will that get my task menu/switcher back from the graves since the clock plugin killed it?

Edit: that did it. Thanks

qwerty12 2009-04-13 15:58

Re: Mer 0.11 released
 
Moar blueman screenies:

http://trac.tspre.org/qwerty12/blueman/bl1.png
http://trac.tspre.org/qwerty12/blueman/bl2.png
http://trac.tspre.org/qwerty12/blueman/bl3.png
http://trac.tspre.org/qwerty12/blueman/bl4.png
http://trac.tspre.org/qwerty12/blueman/bl5.png
http://trac.tspre.org/qwerty12/blueman/bl6.png

Tethering doesn't work due to some bug somewhere (http://trac.tspre.org/qwerty12/b.png), connecting to a headset is successful but no sound is sent. The input service really does work - I was controlling my N800, running Mer, using my W810's built in remote control feature!

It's in the Mer repo if you wish to give it a go - it should be available from the application manager in blue pill mode.

daperl 2009-04-13 19:51

Re: Mer 0.11 released
 
Quote:

Originally Posted by qwerty12 (Post 279132)
Hacked applet to have right click menu with "left" mouse button

Here's some basic code to simulate tap-and-hold:

Code:

class whatever(...):
    ...
    tah_timeout = 1000 # milliseconds
    tah_max_dist = 5 # pixels
    ...
    def __init__(self...):
        ...
        self.press_event = None
        self.button_is_down = False
        self.connect('button-press-event', self.on_button_press)
        self.connect('button-release-event', self.on_button_release)
        ...

    def tap_and_hold(self):
        if self.button_is_down:
            x, y = self.get_pointer()
            dx = abs(x - self.press_event.x)
            dy = abs(y - self.press_event.y)
            if dy <= self.tah_max_dist and dx <= self.tah_max_dist:
                self.press_event.button = 3
                self.press_event.time = gtk.get_current_event_time()
                gtk.main_do_event(self.press_event)
        return False

    def on_button_press(self, widget, event):
        self.button_is_down = True
        self.press_event = event.copy()
        gobject.timeout_add(self.tah_timeout, self.tap_and_hold)

    def on_button_release(self, widget, event):
        self.button_is_down = False


qwerty12 2009-04-13 20:54

Re: Mer 0.11 released
 
Awesome, many thanks! I'm currently attaching the activate signal to the on right click def and using gdk.geteventtime (something like this, did I mention I'm not a programmer? :)). I'm using your code from the tear thread for tap & hold in the blueman-manager (you are credited for it) and this code for the applet sounds much better than my hack. I'll apply it tommorow, thanks!

daperl 2009-04-13 21:23

Re: Mer 0.11 released
 
Quote:

Originally Posted by qwerty12 (Post 279364)
...did I mention I'm not a programmer?

Well, you can live in denial all you want, 'cause "you're the best damn non-programmer I've ever seen." [appropriately stolen from "The Natural"]

Are you really only 16? That's a joke, right?

FRZ 2009-04-13 23:23

Re: Mer 0.11 released
 
Quote:

Originally Posted by daperl (Post 279374)
Well, you can live in denial all you want, 'cause "you're the best damn non-programmer I've ever seen." [appropriately stolen from "The Natural"]

Are you really only 16? That's a joke, right?

My sentiments exactly. Cause he is doing pretty good.

Sho 2009-04-13 23:37

Re: Mer 0.11 released
 
Will it be possible to use the classic Maemo desktop layout in Mer as well? I can't see the approach I see in current Mer screenshots as going to work well with my favorite theme (LCARS), and I'm also not too keen on losing the vertical screen space due to the larger bar at the top.

meizirkki 2009-04-14 13:12

Re: Mer 0.11 released
 
Quote:

Originally Posted by Sho (Post 279410)
I'm also not too keen on losing the vertical screen space due to the larger bar at the top.

Larger? Isn't 52px exactly the same what Diablos statusbar is?

Sho 2009-04-14 13:38

Re: Mer 0.11 released
 
Dunno, going by the screenshots Mer's looks larger to me.


All times are GMT. The time now is 13:42.

vBulletin® Version 3.8.8