<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>215402</bug_id>
          
          <creation_ts>2009-11-20 11:47:25 +0000</creation_ts>
          <short_desc>playlist layout editor drag&amp;drop broken in CZ locale</short_desc>
          <delta_ts>2012-04-29 23:18:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>amarok</product>
          <component>Playlist/Playlist Layout Editor</component>
          <version>2.4-GIT</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stan Holenda">stanislav.holenda</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          <cc>ctibor.brancik</cc>
    
    <cc>mkyral</cc>
    
    <cc>nhn</cc>
    
    <cc>teo</cc>
    
    <cc>tulak.dan</cc>
    
    <cc>wirthmi</cc>
          
          <cf_commitlink>http://commits.kde.org/amarok/1fc23fc0622b1970565051f132fdd8a813eb0c9f</cf_commitlink>
          <cf_versionfixedin>2.6</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>40</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>865363</commentid>
    <comment_count>0</comment_count>
    <who name="Stan Holenda">stanislav.holenda</who>
    <bug_when>2009-11-20 11:47:25 +0000</bug_when>
    <thetext>Version:            (using KDE 4.3.3)
OS:                Linux
Installed from:    Archlinux Packages

Description:
Can&apos;t drag &amp; drop any items in Playlist Layout Editor. Always get &quot;not allowed&quot; icon, when trying to drop. The issue is also described in this forum:

http://forum.kde.org/viewtopic.php?f=115&amp;t=82657

Note that this is due to locale settings (Czech in my case). If I start amarok with default EN locale, everything works as expected.

Steps to reproduce:
1. Run amarok with Czech (cs_CZ) locale
2. try dropping anything (Length, Comment, Rating, ...) into Header or Body in Playlist Layout Editor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>865365</commentid>
    <comment_count>1</comment_count>
    <who name="Mikko C.">mikko.cal</who>
    <bug_when>2009-11-20 11:53:00 +0000</bug_when>
    <thetext>you forgot to set amarok version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>865601</commentid>
    <comment_count>2</comment_count>
    <who name="Stan Holenda">stanislav.holenda</who>
    <bug_when>2009-11-20 19:31:17 +0000</bug_when>
    <thetext>amarok2 Version 2.2.1
Using KDE 4.3.3 (KDE 4.3.3)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>865674</commentid>
    <comment_count>3</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2009-11-20 22:22:54 +0000</bug_when>
    <thetext>Hm, might be a problem in the translation files? Is it only the icon that is wrong or does the drop itself not work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>865687</commentid>
    <comment_count>4</comment_count>
    <who name="Stan Holenda">stanislav.holenda</who>
    <bug_when>2009-11-20 23:00:43 +0000</bug_when>
    <thetext>The drop is broken. I can REMOVE any item(s) from Header, Body and Single sections, but dropping anything is not allowed. (i.e. after releasing mouse button cursor turns back to pointer and nothing gets dropped).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893218</commentid>
    <comment_count>5</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-01-06 13:29:29 +0000</bug_when>
    <thetext>Same problem occurs on my laptop (with Debian testing ... Amarok version 2.2.1 &amp; KDE version 4.3.2). Starting Amarok with changed locales (using command: LANG=en_US amarok) solves this problem. I can layout the playlist then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893370</commentid>
    <comment_count>6</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-01-06 18:35:51 +0000</bug_when>
    <thetext>Setting status to confirmed. No idea what is particular about the CZ locale that triggers that, though.
Could you both please try with Amarok 2.2.2 final, to be released in a few days and report back?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893398</commentid>
    <comment_count>7</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-01-06 19:12:04 +0000</bug_when>
    <thetext>ok, i&apos;ll try it with 2.2.2 version ASAP, thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897150</commentid>
    <comment_count>8</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-01-12 15:10:58 +0000</bug_when>
    <thetext>I&apos;ve just installed (from Debian&apos;s experimental branch) new Amarok 2.2.2. Now I&apos;m using KDE 4.3.4.

Unfortunately, mentioned problem still exists in the current version of Amarok. Changing application&apos;s localization to US (from Menu or by setting LANG variable) solves this problem. The only problem in CZ mutation is adding new items into layout. Moving items within layout or removing items works just fine (at least for me).

Do you need any other informations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897192</commentid>
    <comment_count>9</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-01-12 16:15:06 +0000</bug_when>
    <thetext>This seems to be translation specific, reassigning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897393</commentid>
    <comment_count>10</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2010-01-12 21:46:06 +0000</bug_when>
    <thetext>Yes, you should improve handling of i18n in your app.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897409</commentid>
    <comment_count>11</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-01-12 22:08:45 +0000</bug_when>
    <thetext>Sorry, but I&apos;ve no idea how to do this. Can you help me? Can you tell me more specific instructions? Thanks ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897505</commentid>
    <comment_count>12</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-01-13 00:35:56 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; Sorry, but I&apos;ve no idea how to do this. Can you help me? Can you tell me more
&gt; specific instructions? Thanks ...

How to do what exactly? I did reassign the bug, they just sent it back.

Nikolaj, could you have a look at this, please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>912797</commentid>
    <comment_count>13</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-02-07 14:25:54 +0000</bug_when>
    <thetext>Setting correct version and component.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937809</commentid>
    <comment_count>14</comment_count>
    <who name="Sven Krohlas">sven</who>
    <bug_when>2010-03-21 19:48:01 +0000</bug_when>
    <thetext>reporter: Is this still a problem in 2.3.0?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>938150</commentid>
    <comment_count>15</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-03-22 08:51:52 +0000</bug_when>
    <thetext>i&apos;m running currently Amarok 2.3.0 and KDE 4.3.4 (again both are installed from Debian repositories) and i&apos;m still experiencing the same problem, new version of Amarok did not fix that</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001193</commentid>
    <comment_count>16</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-08-10 20:43:05 +0000</bug_when>
    <thetext>just for your information ... i&apos;ve still problem with this in Amarok 2.3.1 @ KDE 4.4.3 installed from Debian repositories</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1006065</commentid>
    <comment_count>17</comment_count>
    <who name="">tulak.dan</who>
    <bug_when>2010-08-18 14:04:16 +0000</bug_when>
    <thetext>Same problem like description, I found it with amarok 2.0.2 and now with Amarok 2.3.1 is always same problem, can&apos;t drag &amp; drop any items in Playlist Layout Editor. Actualy KDE 4.5, (cs_CZ) locale.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023094</commentid>
    <comment_count>18</comment_count>
    <who name="Michal Wirth">wirthmi</who>
    <bug_when>2010-09-23 13:03:13 +0000</bug_when>
    <thetext>just for your information ... still the same problem with Amarok 2.3.2 @ KDE 4.4.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1120047</commentid>
    <comment_count>19</comment_count>
    <who name="">tulak.dan</who>
    <bug_when>2011-05-16 18:59:29 +0000</bug_when>
    <thetext>just for your information ... i&apos;ve still problem with this in Amarok 2.4.1 
KDE KDE 4.6.3 installed from Ubuntu repositories</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195491</commentid>
    <comment_count>20</comment_count>
    <who name="Ctibor Brančík">ctibor.brancik</who>
    <bug_when>2011-12-06 12:39:32 +0000</bug_when>
    <thetext>Long time Amarok user, but I have encountered this bug recently with Amarok 2.4.90 and KDE 4.7.80. I am on gentoo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1250762</commentid>
    <comment_count>21</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2012-04-29 21:26:42 +0000</bug_when>
    <thetext>Git commit 1fc23fc0622b1970565051f132fdd8a813eb0c9f by Matěj Laitl.
Committed on 29/04/2012 at 23:12.
Pushed by laitl into branch &apos;master&apos;.

Fix drag &amp; drop in playlist layout editor, filter editor etc. in non-english locales

The implementation relies on custom mime-type specified in .ui files.
However, the strings weren&apos;t marked as non-translatable, so language
teams that decided to translate application/x-amarok-tag-token effectively
broke drag &amp; drop for their users. (the blame goes to Amarok team, of
course)

Myriam, more than 2-year-old bug fixed in a couple of hours, don&apos;t you
like your GSoC student? :-)

BUGFIXES:
 * Fix drag &amp; drop in playlist layout editor, filename layout editor,
   filter editor for non-english locales. (BR 215402)
FIXED-IN: 2.6

M  +2    -0    ChangeLog
M  +1    -1    src/dialogs/EditFilterDialog.ui
M  +1    -1    src/dialogs/FilenameLayoutDialog.ui
M  +1    -1    src/playlist/layouts/PlaylistLayoutEditDialog.ui

http://commits.kde.org/amarok/1fc23fc0622b1970565051f132fdd8a813eb0c9f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1250785</commentid>
    <comment_count>22</comment_count>
    <who name="Stan Holenda">stanislav.holenda</who>
    <bug_when>2012-04-29 23:18:34 +0000</bug_when>
    <thetext>Heh, dobra prace...:D

Skoda, ze treba ja uz skoro 2 roky spokojene pouzivam Clementine.

-------- Původní zpráva -------
Od: Matěj Laitl &lt;matej@laitl.cz&gt;
Komu: stanislav.holenda@tiscali.cz
Předmět: [Bug 215402] playlist layout editor drag&amp;drop broken in CZ locale
Datum: 29.04.2012 23:50
---------------------------------------
&gt; https://bugs.kde.org/show_bug.cgi?id=215402
&gt; 
&gt; Matěj Laitl &lt;matej@laitl.cz&gt; changed:
&gt; 
&gt;            What    |Removed                     |Added
&gt; ----------------------------------------------------------------------------
&gt;              Status|NEW                         |RESOLVED
&gt;    Version Fixed In|                            |2.6
&gt;          Resolution|---                         |FIXED
&gt;       Latest Commit|                            |http://commits.kde.org/amar
&gt;                    |                            |ok/1fc23fc0622b1970565051f1
&gt;                    |                            |32fdd8a813eb0c9f
&gt; 
&gt; --- Comment #21 from Matěj Laitl &lt;matej@laitl.cz&gt; ---
&gt; Git commit 1fc23fc0622b1970565051f132fdd8a813eb0c9f by Matěj Laitl.
&gt; Committed on 29/04/2012 at 23:12.
&gt; Pushed by laitl into branch &apos;master&apos;
&gt; 
&gt; Fix drag &amp; drop in playlist layout editor, filter editor etc in non-english
&gt; locales
&gt; 
&gt; The implementation relies on custom mime-type specified in .ui files.
&gt; However, the strings weren&apos;t marked as non-translatable, so language
&gt; teams that decided to translate application/x-amarok-tag-token effectively
&gt; broke drag &amp; drop for their users. (the blame goes to Amarok team, of
&gt; course)
&gt; 
&gt; Myriam, more than 2-year-old bug fixed in a couple of hours, don&apos;t you
&gt; like your GSoC student? :-)
&gt; 
&gt; BUGFIXES:
&gt;  * Fix drag &amp; drop in playlist layout editor, filename layout editor,
&gt;    filter editor for non-english locales. (BR 215402)
&gt; FIXED-IN: 2.6
&gt; 
&gt; M  +2    -0    ChangeLog
&gt; M  +1    -1    src/dialogs/EditFilterDialog.ui
&gt; M  +1    -1    src/dialogs/FilenameLayoutDialog.ui
&gt; M  +1    -1    src/playlist/layouts/PlaylistLayoutEditDialog.ui
&gt; 
&gt; http://commitskde.org/amarok/1fc23fc0622b1970565051f132fdd8a813eb0c9f
&gt; 
&gt; -- 
&gt; You are receiving this mail because:
&gt; You reported the bug.=</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>