Temporary panel plugin

Here you can discuss about your favorite plug-in.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel plugin

Post by KlepetoX »

Hi, I have a problem with newest FAR version (with last stable not). I use old S_and_R ansi plugin to send found files (AltF7 - Panel) to its temporary panel instead of FAR temporary panel. That's why that FAR temporary panel plugin cannot remove files from panel after deleting (and it makes it totally unusable).

Newest FAR version cannot send found files to S_and_R plugin any more (why?). So, is there any way (macros) to remove files from temporary panel after they are deleted without manually pressing F7 after?
Shmuel
Posts: 6820
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Re: Temporary panel plugin

Post by Shmuel »

Far 3 build 3624
Deleting files from a panel of standard TmpPanel plugin removes them from the panel immediately.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Re: Temporary panel plugin

Post by KlepetoX »

You are right, I tried to delete Temporary panel plugin's data B77C964B-E31E-4D4C-8FE5-D6B0C6853E7C.db and it works right now :-) Thanks.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by KlepetoX »

Temporary panel shows that folder is empty (size=0) when some symbols (ie. dash chr(45), apostrophe chr(39)) are in the folder name.

Here is example, these folders are not empty:

Code: Select all

\D:\#Music\Velvet Underground\Live 1969 Vol 1 & 2.1974\1988 Mercury - 834 823-2 (Germany)\#Artwork Germany version│       0
\#Music\Velvet Underground\Live 1969 Vol 1 & 2.1974\1988 Mercury - 834 823-2 (Germany)\#Artwork USA version disc 1│       0
\#Music\Velvet Underground\Live 1969 Vol 1 & 2.1974\1988 Mercury - 834 823-2 (Germany)\#Artwork USA version disc 2│       0
\D:\#Music\$Různé\Manfred Mann\#Manfred Mann's Earth Band                                                         │       0
\D:\#Music\Pink Floyd\#Dark Side of the Moon\#Vinyl\?91 00093-94 (Russian, Scans only, 1992)                      │       0
\D:\#Music\Philip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)         │       0
\:\#Music\Philip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\02 Music in Twelve Parts (1971-74)│       0
\ilip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\07 String Quartets and Piano Études (1984-94)│       0
\D:\#Music\Joy Division\#Vinyl Covers\1980 - Komakino EP [vinyl]                                                  │       0
\D:\#Music\Velvet Underground\VU.1985\1985 Verve Records - 823 721-2                                              │       0
\D:\#Music\Velvet Underground\Live 1969 Vol 1 & 2.1974\1988 Mercury - 834 823-2 (Germany)                         │       0
User avatar
HaRT
Moderator
Posts: 10823
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by HaRT »

KlepetoX wrote: Temporary panel shows that folder is empty (size=0)
Did you press F3 on the folder(s) to compute their size? If no, it's 0 regardless of name, and it's expected, as FAR cannot know the size prior to computation (potentially lengthy).
Фар есть инструмент, а не нянька. © 2009 DrKnS
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by KlepetoX »

Yes, I have pressed F3. It is strange. As I am trying it again and again, I cannot figure out reason. Sometimes it is 0 simetime not. But always dash or apostrophe symbol is in the name. Folders bellow with size 0 are not empty. Temporary panel shows 0, FAR on panel shows real size correctly.

Code: Select all

D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set)                         2008\#Artwork│34424972
D:\#a\#Music                                                                                          │  1719 M
D:\#a\#xxx - xxx                                                                                      │12208908
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)        │       0
\#Music\Philip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)│12208908
D:\#a\01 Early Works (1969-70)                                                                        │12208908
D:\#a\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)               │12208908
D:\#a\Philip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)  │24417816
\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\02 Music in Twelve Parts (1971-74)│       0
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\03 Einstein On the Beach (1976) │156066 K
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\04 Glassworks - Analog          │134348 K
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\05 From Satyagraha (1980)       │130001 K
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\06 Koyaanisqatsi and Powaqqatsi │158241 K
Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\07 String Quartets and Piano Études (1984-94)│       0
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\10 Filmworks                    │137376 K
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)\Artwork│       0
ic\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\02 Music in Twelve Parts (1971-74)\Artwork│       0
Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\03 Einstein On the Beach (1976)\Artwork│ 1335334
D:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\04 Glassworks - Analog\Artwork  │ 1478534
:\#a\#Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\05 From Satyagraha (1980)\Artwork│ 1330163
Music\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\06 Koyaanisqatsi and Powaqqatsi\Artwork│ 1469273
x - A Nonesuch Retrospective (10CD Box Set).2008\07 String Quartets and Piano Études (1984-94)\Artwork│       0
User avatar
HaRT
Moderator
Posts: 10823
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by HaRT »

Which FAR build is it? Is that character really a hyphen (‘-’) or maybe en-dash (‘–’) or em-dash (‘—’)? Is another character a plain single quote (‘'’) or maybe a ‘curly’ one?
Фар есть инструмент, а не нянька. © 2009 DrKnS
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by KlepetoX »

FAR 4450, but the same in old FAR2 1807.

This is full folder name where it is bad:
"D:\#Music\Philip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)\Artwork"

Temporary panel: size 0
FAR common panel: size 1,449,749

The symbols are chr(45) and chr(39), not special characters.
User avatar
HaRT
Moderator
Posts: 10823
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by HaRT »

KlepetoX wrote: This is full folder name where it is bad:
"D:\#Music\Philip Glass\Glass Box - A Nonesuch Retrospective (10CD Box Set).2008\01 Early Works (1969-70)\Artwork"
I cannot reproduce it.
Windows 8.1 x64, drive G:, FAR 3.0 build 4447 x86.
Фар есть инструмент, а не нянька. © 2009 DrKnS
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by KlepetoX »

I got it!!!
There is not hyphen (43) but en-dash (8212/150) in the folder name. When I copy the name to clipboard from FAR panel, it is en-dash. When I copy it from temporary panel it is hyphen.

Temporary panel replace en-dash with hyphen. That is the reason why folder cannot be found (doesn't exist) and size is 0. The bug is in the temporary panel and the reason is that replacement. There must be even more characters like hyphen/em-dash.
Shmuel
Posts: 6820
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by Shmuel »

KlepetoX, I cannot reproduce your case. I created a folder foo–bar—baz that contains an en-dash and an em-dash. Then I placed a file into that folder. Then I copied the folder on Temporary panel.
a) after pressing F3 on the folder in Temporary panel it correctly shows the size of the file
b) after pressing CtrlIns on the folder in Temporary panel and then pasting in the editor I can see that both en-dash and em-dash were copied correctly
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by KlepetoX »

I can reproduce it everytime, follow these steps:

- create folder, ie. c:\a
- enter this folder
- create subfolder aaa–bbb (with en-dash)
- copy some files in it
- now go back in c:\a
- find all files (AltF7 with Search for folders [x])
- in the list of found files press Panel
- set the cursor on aaa–bbb
- press F3
- the result is 0
Shmuel
Posts: 6820
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by Shmuel »

KlepetoX wrote: follow these steps:
Everything worked as expected. The result is the size of my file, not 0.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by KlepetoX »

Se my result:

Code: Select all

\..                               │<  Up  >║║\..                               │<  Up  >
•C:\A\aaa-aaa                     │       0║║•D:\A\aaa-aaa                     │       1
•C:\A\aaa-aaa\asdf                │       1║║•D:\A\aaa-aaa\asdf                │       1
There is en-dash left, hyphen right.
How is it possible that folder size is 0, you can see one file "asdf" in it with size 1 Byte - or not???
Shmuel
Posts: 6820
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Temporary panel - folder size shows 0 when some symbols are in the folder name

Post by Shmuel »

KlepetoX, it's not that I don't believe you, I do! It's just that I cannot reproduce it on my system.
Post Reply

Return to “General Plug-In Discussions”