maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [CLOSED] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread (https://talk.maemo.org/showthread.php?t=92160)

rooster13 2014-04-04 12:16

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1419876)
this bug is already fixed. you need to download updated package and reinstall

Hi, I'm already having the latest version.
Actually this happened after I updated to the latest version.

Schturman 2014-04-04 17:02

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by Penguin (Post 1419878)
There is no problem. Regardless of if language is written from left to right or right to left text alignment in bubble delegate is left for messages you sent and right for messages received.

May be that should be left-left for left-to-right languages and right-right for right-to-left languages. Need to check how it would look like.

Edit:

Copy /usr/share/harbour-mitakuuluu/qml/BubbleDelegate.qml to ~/.whatsapp/delegates/BubbleDelegate.qml and apply following patch.

Code:

--- /usr/share/harbour-mitakuuluu/qml/BubbleDelegate.qml    2014-04-04 10:50:21.000000000 +0300
+++ BubbleDelegate.qml    2014-04-04 14:55:37.504880480 +0300
@@ -43,7 +43,6 @@
            timeStatusRow.anchors.left = item.left;
            timeStatusRow.anchors.leftMargin = Theme.paddingLarge;
            msginfo.horizontalAlignment = Text.AlignLeft;
-            msg.horizontalAlignment = Text.AlignLeft;
            playerPlaceholder.anchors.right = item.right
            playerPlaceholder.anchors.leftMargin = Theme.paddingSmall
            setTickView();
@@ -70,7 +69,6 @@
                msginfo.horizontalAlignment = Text.AlignRight;
                msg.anchors.right = item.right;
                msg.anchors.rightMargin = Theme.paddingLarge;
-                msg.horizontalAlignment = Text.AlignRight;
                timeStatusRow.anchors.right = item.right;
                timeStatusRow.anchors.rightMargin = Theme.paddingLarge;
            }

Then select BubbleDelegate.qml from settings and there you have it. It does not mirrow the whole UI, it only makes text align naturally either to left or right depending on writing in use.

Thanks for answer, I will try it.But can you please explain how to use it ?
From what I understand, copy BubbleDelegate.qml to /home/nemo/.whatsapp/delegates/BubbleDelegate.qml - is for backup. Right ?
And for patch, I need create file "name.diff" with what you wrote and apply it by this command:
Code:

patch -p0 -i /path/to/name.diff
I'm right ?
Thanks

P.S. And maybe command for restore to default instead just copy back the orig. BubbleDelegate.qml ?

coderus 2014-04-04 18:26

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
just opening related file and changing lines manually is too trivial today and need to follow more complex and unknown (yet?) methods?

Schturman 2014-04-04 18:32

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1419918)
just opening related file and changing lines manually is too trivial today and need to follow more complex and unknown (yet?) methods?

This what I did now, I checked the orig file and the patch and I see the same :confused:

millerii 2014-04-04 19:00

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
offtopic: coderus, what it takes to get custom "folder" inside gallery? That what there is nowdays from mitakuuluu, can it be done without spesific program (like mitakuuluu)?

Penguin 2014-04-04 19:28

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Check /usr/share/jolla-gallery/mediasources/MitakuuluuMediaSource.qml

coderus 2014-04-04 20:59

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
@Schturman as i said: i cant help you more. My jolla doesnt support your language and i cant see difference anyway.

Schturman 2014-04-04 21:53

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
yep, i know, thanks anyway ... But once you fixed it on "Oldschool" theme ;)

Penguin 2014-04-04 23:59

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
1 Attachment(s)
Come on Schturman, how difficult it can be. Just remove those two lines from BubbleDelegate and there you have it.

1) Close or Quit Mitäkuuluu

2) Save the attached file as BubbleDelegate.qml into folder ~nemo/.whatsapp/delegates

3) Start Mitäkuuluu
4) Go to settings
5) Select BubbleDelegate.qml (and not the Bubble)

your issue is solved. Tested with Arabic and Hebrew, text and fonts supporting characters and write used by those languages.

If your right to left written text does not float "correctly" after this change, then you have broken font in use. Thats because writing direction right-to-left is defined by font file, not by application.

Schturman 2014-04-05 15:56

Re: [v0.2-10] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by Penguin (Post 1419945)
Come on Schturman, how difficult it can be. Just remove those two lines from BubbleDelegate and there you have it.

1) Close or Quit Mitäkuuluu

2) Save the attached file as BubbleDelegate.qml into folder ~nemo/.whatsapp/delegates

3) Start Mitäkuuluu
4) Go to settings
5) Select BubbleDelegate.qml (and not the Bubble)

your issue is solved. Tested with Arabic and Hebrew, text and fonts supporting characters and write used by those languages.

If your right to left written text does not float "correctly" after this change, then you have broken font in use. Thats because writing direction right-to-left is defined by font file, not by application.

Ok.. I will try to explain itself better..

1. I did what you said and it's looks exactly like original Bubble theme.
2. Look into this pic (left side is my messages and right side is arrived messages):
https://dl.dropboxusercontent.com/u/...0405103618.jpg

1. it's only one word and like you can see it's sticked to the left side INSIDE the bubble instead to be sticked to the right side INSIDE the bubble.

2. Sentence shown CORRECTLY (sticked to the right side), but the guy sent emoji at the end and like you can see emoji shown at the middle of sentence instead at the end.

3. my long sentence - shown "correctly", but it still sticked to the left side. If it was one word, you would see that sticked to the left side (example 1)

I can live with it if it can't be fixed, only emoji not so convenient...

P.S. I use FreeSans.ttf font. And thanks for your help


All times are GMT. The time now is 08:29.

vBulletin® Version 3.8.8