[Bug 1880031] Re: Thumbnail is stretched if its aspect ratio is less than that of the container

2020-08-11 Thread riu
I have installed gnome-shell-extension-desktop-icons
20.04.0-3~ubuntu20.04.1 from focal-proposed.

The issue is fixed now: aspect ratio of desktop thumbnails is correct.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons
in Ubuntu.
https://bugs.launchpad.net/bugs/1880031

Title:
  Thumbnail is stretched if its aspect ratio is less than that of the
  container

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1880031/+subscriptions

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

[Bug 1880031] Re: Thumbnail is stretched if its aspect ratio is less than that of the container

2020-05-22 Thread riu
I have reported the bug to upstream:

Narrow desktop thumbnails are stretched (#205) · Issues · World / Shell 
extensions / Desktop Icons · GitLab
https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/issues/205

** Bug watch added: 
gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/issues #205
   https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/issues/205

** Also affects: gnome-shell-extension-desktop-icons via
   https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/issues/205
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons
in Ubuntu.
https://bugs.launchpad.net/bugs/1880031

Title:
  Thumbnail is stretched if its aspect ratio is less than that of the
  container

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1880031/+subscriptions

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

[Bug 1880031] Re: Thumbnail is stretched if its aspect ratio is less than that of the container

2020-05-21 Thread riu
** Description changed:

  This was discovered when investigating fix for bug #1868529.
  
  Aspect ratio is still not correct for images that are more narrow than
  the container. To reproduce, create an image that has aspect ratio,
  e.g., ~0.5 (e.g. width = 250 and height = 500).
  
  Line in fileItem.js where we calculate icon width does not count the
  margins (zero is used instead of actual margins):
  
- let iconWidth = Prefs.getDesiredWidth(scaleFactor, 0);
+ let containerWidth = Prefs.getDesiredWidth(scaleFactor, 0);
  
  Here is how the margins are being calculated in desktopGrid.js:
  
  this._extra_width = themeNode.get_margin(St.Side.LEFT) +
   themeNode.get_margin(St.Side.RIGHT) +
   themeNode.get_border_width(St.Side.LEFT) +
   themeNode.get_border_width(St.Side.RIGHT) +
   themeNode.get_horizontal_padding();
  this._extra_height = themeNode.get_margin(St.Side.TOP) +
   themeNode.get_margin(St.Side.BOTTOM) +
   themeNode.get_border_width(St.Side.TOP) +
   themeNode.get_border_width(St.Side.BOTTOM) +
   themeNode.get_vertical_padding();

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons
in Ubuntu.
https://bugs.launchpad.net/bugs/1880031

Title:
  Thumbnail is stretched if its aspect ratio is less than that of the
  container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons/+bug/1880031/+subscriptions

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

[Bug 1868529] Re: Stretched image previews on desktop

2020-05-21 Thread riu
See bug #1880031.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons
in Ubuntu.
https://bugs.launchpad.net/bugs/1868529

Title:
  Stretched image previews on desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1868529/+subscriptions

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

[Bug 1880031] [NEW] Thumbnail is stretched if its aspect ratio is less than that of the container

2020-05-21 Thread riu
Public bug reported:

This was discovered when investigating fix for bug #1868529.

Aspect ratio is still not correct for images that are more narrow than
the container. To reproduce, create an image that has aspect ratio,
e.g., ~0.5 (e.g. width = 250 and height = 500).

Line in fileItem.js where we calculate icon width does not count the
margins (zero is used instead of actual margins):

let containerWidth = Prefs.getDesiredWidth(scaleFactor, 0);

Here is how the margins are being calculated in desktopGrid.js:

this._extra_width = themeNode.get_margin(St.Side.LEFT) +
 themeNode.get_margin(St.Side.RIGHT) +
 themeNode.get_border_width(St.Side.LEFT) +
 themeNode.get_border_width(St.Side.RIGHT) +
 themeNode.get_horizontal_padding();
this._extra_height = themeNode.get_margin(St.Side.TOP) +
 themeNode.get_margin(St.Side.BOTTOM) +
 themeNode.get_border_width(St.Side.TOP) +
 themeNode.get_border_width(St.Side.BOTTOM) +
 themeNode.get_vertical_padding();

** Affects: gnome-shell-extension-desktop-icons (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: 20.04

** Description changed:

- This was discovered when investigating fox for bug 1868529.
+ This was discovered when investigating fix for bug #1868529.
  
  Aspect ratio is still not correct for images that are more narrow than
  the container. To reproduce, create an image that has aspect ratio,
  e.g., ~0.5 (e.g. width = 250 and height = 500).
  
  Line in fileItem.js where we calculate icon width does not count the
  margins (zero is used instead of actual margins):
  
  let iconWidth = Prefs.getDesiredWidth(scaleFactor, 0);
  
  Here is how the margins are being calculated in desktopGrid.js:
  
- this._extra_width = themeNode.get_margin(St.Side.LEFT) +
-  themeNode.get_margin(St.Side.RIGHT) +
-  themeNode.get_border_width(St.Side.LEFT) +
-  themeNode.get_border_width(St.Side.RIGHT) +
-  themeNode.get_horizontal_padding();
- this._extra_height = themeNode.get_margin(St.Side.TOP) +
-  themeNode.get_margin(St.Side.BOTTOM) +
-  themeNode.get_border_width(St.Side.TOP) +
-  themeNode.get_border_width(St.Side.BOTTOM) +
-  themeNode.get_vertical_padding();
+ this._extra_width = themeNode.get_margin(St.Side.LEFT) +
+  themeNode.get_margin(St.Side.RIGHT) +
+  themeNode.get_border_width(St.Side.LEFT) +
+  themeNode.get_border_width(St.Side.RIGHT) +
+  themeNode.get_horizontal_padding();
+ this._extra_height = themeNode.get_margin(St.Side.TOP) +
+  themeNode.get_margin(St.Side.BOTTOM) +
+  themeNode.get_border_width(St.Side.TOP) +
+  themeNode.get_border_width(St.Side.BOTTOM) +
+  themeNode.get_vertical_padding();

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons
in Ubuntu.
https://bugs.launchpad.net/bugs/1880031

Title:
  Thumbnail is stretched if its aspect ratio is less than that of the
  container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons/+bug/1880031/+subscriptions

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

[Bug 1868529] Re: Stretched image previews on desktop

2020-05-21 Thread riu
It is much better with the fix. We don't count margins, so the aspect
ratio is still not valid for narrow images.

Line in fileItem.js

let width = Prefs.getDesiredWidth(scaleFactor, 0)

was also erroneous, because margins are not 0 (at least, with default
theme).

Here is how the margins are being calculated:

this._extra_width =  themeNode.get_margin(St.Side.LEFT) +
 themeNode.get_margin(St.Side.RIGHT) +
 themeNode.get_border_width(St.Side.LEFT) +
 themeNode.get_border_width(St.Side.RIGHT) +
 themeNode.get_horizontal_padding();
this._extra_height = themeNode.get_margin(St.Side.TOP) +
 themeNode.get_margin(St.Side.BOTTOM) +
 themeNode.get_border_width(St.Side.TOP) +
 themeNode.get_border_width(St.Side.BOTTOM) +
 themeNode.get_vertical_padding();

(they are used in Prefs.getDesiredWidth and Prefs.getDesiredHeight
functions)

Aspect ratio is still not correct for narrow images. To reproduce,
create an image that has aspect ratio ~0.5 (e.g. width = 250 and height
= 500).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons
in Ubuntu.
https://bugs.launchpad.net/bugs/1868529

Title:
  Stretched image previews on desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1868529/+subscriptions

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

[Bug 656932] Re: send file to thunderbird with non-ASCII path

2011-09-01 Thread riu
*** This bug is a duplicate of bug 757976 ***
https://bugs.launchpad.net/bugs/757976

This bug seems to be fixed (see Bug #757976)

** This bug has been marked a duplicate of bug 757976
   Thunderbird attachment name changes cause send error

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

Title:
  send file to thunderbird with non-ASCII path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus-sendto/+bug/656932/+subscriptions

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


[Bug 656932] [NEW] send file to thunderbird with non-ASCII path

2010-10-08 Thread riu
Public bug reported:

Binary package hint: nautilus-sendto

When the filepath contain non-ASCII symbols, the file cannot be sent
(the file is inaccessible).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: nautilus-sendto 2.28.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
CheckboxSubmission: 8bf351e32a2c0e6ed74749d2aae2fe20
CheckboxSystem: 2954e74ba17fb0e37fc942cd1d9fab4e
Date: Fri Oct  8 10:59:46 2010
InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429)
ProcEnviron:
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: nautilus-sendto

** Affects: nautilus-sendto (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 lucid

-- 
send file to thunderbird with non-ASCII path
https://bugs.launchpad.net/bugs/656932
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus-sendto in ubuntu.

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


[Bug 656932] Re: send file to thunderbird with non-ASCII path

2010-10-08 Thread riu

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/656932/+attachment/1678958/+files/Dependencies.txt

-- 
send file to thunderbird with non-ASCII path
https://bugs.launchpad.net/bugs/656932
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus-sendto in ubuntu.

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


[Bug 656932] Re: send file to thunderbird with non-ASCII path

2010-10-08 Thread riu
This is reproducible on my sysytem. How to reproduce:
(Thunderbird must be default email client in order to reproduce this)
1. Create a file with non-ASCII name ( for example новый файл ) (or create a 
folder with non ASCII-name and a file with ASCII/non-ASCII name in it)
2. Right-click on it in nautilus and choos Send to...
3. Enter an email address in the thunderbird new email window
4. Click close button on the title bar of ths window and choose save to 
draft (or click send message button and choose without subject)
See screenshots.


** Attachment added: Screenshot-Save Draft Error.png
   
https://bugs.launchpad.net/ubuntu/+source/nautilus-sendto/+bug/656932/+attachment/1679718/+files/Screenshot-Save%20Draft%20Error.png

-- 
send file to thunderbird with non-ASCII path
https://bugs.launchpad.net/bugs/656932
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus-sendto in ubuntu.

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

[Bug 656932] Re: send file to thunderbird with non-ASCII path

2010-10-08 Thread riu

** Attachment added: Screenshot-Send Message Error.png
   
https://bugs.launchpad.net/ubuntu/+source/nautilus-sendto/+bug/656932/+attachment/1679719/+files/Screenshot-Send%20Message%20Error.png

-- 
send file to thunderbird with non-ASCII path
https://bugs.launchpad.net/bugs/656932
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus-sendto in ubuntu.

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


[Bug 558327] Re: Window close button is clickable anywhere in the corner

2010-07-21 Thread riu
Take note of the Bug #564749 too.

-- 
Window close button is clickable anywhere in the corner
https://bugs.launchpad.net/bugs/558327
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to metacity in ubuntu.

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