Notices


Reply
Thread Tools
rooster13's Avatar
Posts: 319 | Thanked: 221 times | Joined on Jan 2010 @ Finland
#971
Originally Posted by coderus View Post
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.
__________________
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#972
Originally Posted by Penguin View Post
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's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#973
just opening related file and changing lines manually is too trivial today and need to follow more complex and unknown (yet?) methods?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#974
Originally Posted by coderus View Post
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
 
millerii's Avatar
Posts: 11 | Thanked: 3 times | Joined on Jan 2014
#975
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)?
__________________
Using Tapatalk
 
Posts: 144 | Thanked: 242 times | Joined on Nov 2007 @ Finland
#976
Check /usr/share/jolla-gallery/mediasources/MitakuuluuMediaSource.qml
__________________
Copy offers 20 GB free cloud storage
Register via this link -> confirm your email address -> install Copy client (Linux, OS X, Windows, iOS or Android) and you'll get 20 GB storage space in cloud.
 

The Following User Says Thank You to Penguin For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#977
@Schturman as i said: i cant help you more. My jolla doesnt support your language and i cant see difference anyway.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#978
yep, i know, thanks anyway ... But once you fixed it on "Oldschool" theme
 
Posts: 144 | Thanked: 242 times | Joined on Nov 2007 @ Finland
#979
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.
Attached Files
File Type: txt BubbleDelegate.qml.txt (17.3 KB, 70 views)
__________________
Copy offers 20 GB free cloud storage
Register via this link -> confirm your email address -> install Copy client (Linux, OS X, Windows, iOS or Android) and you'll get 20 GB storage space in cloud.
 

The Following User Says Thank You to Penguin For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#980
Originally Posted by Penguin View Post
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):


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
 
Reply

Tags
coderus, it's a trapp, jolla, sailfish, whatsapp, whatscrapp


 
Forum Jump


All times are GMT. The time now is 17:57.