[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-09-16 Thread דוביקס
It does look like a variant of the original issue - I will open a new
bug for 11.10.

http://www.imagebanana.com/view/p9e8ehcm/usc.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/733087/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-09-16 Thread דוביקס
regression reported in new bug https://bugs.launchpad.net/ubuntu/+source
/software-center/+bug/851616

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/733087/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-09-15 Thread Shlomil
Bug still exists  on Oneiric Beta 1,  Software Center version 4.1.22 .
Regression?

** Attachment added: stars-overlapping-in-hebrew.png
   
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/733087/+attachment/2410719/+files/stars-overlapping-in-hebrew.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/733087/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-23 Thread Kiwinote
Hi! Thanks for your bug report. The bug you describe has been fixed in
the latest development version of software-center. Please continue to
report any bugs you may find in software-center. Thanks again for your
help!

software-center (3.1.24) natty; urgency=low
  ...
  [ Michael Vogt ]
  * merged lp:~mmcg069/software-center/rtl-work, many thanks
to Matthew McGowan
  ...

** Changed in: software-center (Ubuntu Natty)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-17 Thread Brian Murray
** Also affects: software-center (Ubuntu Natty)
   Importance: High
   Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-15 Thread Matthew Paul Thomas
** Changed in: software-center (Ubuntu)
   Status: New = Confirmed

** Changed in: software-center (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-12 Thread דוביקס
A developer from the local linux community provided a patch to solve the
issues. Below is his post in the local forum
(http://whatsup.org.il/forum/56115) translated into English.




=== modified file 'softwarecenter/view/appview.py'

--- softwarecenter/view/appview.py   2011-02-24 10:07:19 +

+++ softwarecenter/view/appview.py   2011-03-12 16:29:50 +

@@ -399,16 +399,23 @@

 return


 def _render_rating(self, window, widget, state, cell_area, xpad,
ypad, direction, spacing=3):

-# draw stars on the top right

+# draw stars on the top right or left

 cr = window.cairo_create()


 # for the sake of aesthetics,

 # star width should be approx 1/5 the width of the action
button

 sw = sh = self.get_button_by_name('action0').get_size()[0] / 5

+rtl = (direction == gtk.TEXT_DIR_RTL)


 for i in range(0, self.MAX_STARS):

-x = cell_area.x + cell_area.width - xpad -
(self.MAX_STARS-i)*sw

+if rtl:

+x_offset  = xpad + i*sw

+else: # TEXT_DIR_LTR or TEXT_DIR_NONE

+x_offset = cell_area.width - xpad -
(self.MAX_STARS-i)*sw

+

+x = cell_area.x + x_offset

 y = cell_area.y + ypad

+

 if i  int(self.rating):

 self._star_painter.set_fill(StarPainter.FILL_FULL)

 elif (i == int(self.rating) and




I left the order of stars as is, I just moved them to the opposite
direction of the text.

Do 'bzr clone', then save the above lines in a file, then 'bzr patch'.

You may also try changing the line:

x_offset  = xpad + i*sw

x_offset  = xpad + (self.MAX_STARS-i)*sw

for a different look of the solution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-11 Thread Shlomil
** Tags added: rtl

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-11 Thread Shlomil
** Tags added: arabic hebrew i18n l10n persian

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 733087] Re: software ratings (stars) override package name in right to left encoding

2011-03-10 Thread דוביקס
** Attachment added: Screenshot of the problem
   
https://bugs.launchpad.net/bugs/733087/+attachment/1900329/+files/%D7%9E%D7%A8%D7%9B%D7%96%20%D7%94%D7%AA%D7%9B%D7%A0%D7%94%20%D7%A9%D7%9C%20%D7%90%D7%95%D7%91%D7%95%D7%A0%D7%98%D7%95_010.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/733087

Title:
  software ratings (stars) override package name in right to left
  encoding

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs