Forum

Results 1 to 11 of 11
  1. #1
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376

    PluginSDK requestFileList opens Filebrowser Window

    If I call requestFileList in a plugin, the filebrowser dialog comes up.

  2. #2
    Join Date
    January 2010
    Location
    Germany
    Posts
    2,029

    PluginSDK requestFileList opens Filebrowser Window

    Like the title says calling said Function will open up the Filebrowser window of the specified Channel... This should definately not be the case.

    Edit:
    Calling this Function also adds SpamPoints (and not too few if I may say so) which is just ridiculous considered you only get one Directory and have to repeat for every subdirectory. Due to this you will end up banned before you even get the whole list of files...
    Last edited by SilentStorm; March 17th, 2011 at 05:47 PM.

  3. #3
    Join Date
    January 2010
    Location
    Germany
    Posts
    2,029
    while I should probably create a new Thread for this I will just add it here because its basicly the same Problem. If Moderators think it should be a seperate Thread after all feel free to Split

    The same thing also happens with for example requestPermissionOverview. It will open up the Permission Overview Window which in turn will request and display the Information.

    As a general Rule: If a Plugin requests Information under no circumstances it should cause a popup (or any GUI for that matter) to be displayed unless explicitly specified by the Plugin.

    It appears SDK Devs got a bit lazy on (at least) these two functions (and I guess quite a few more that relate to this kind of stuff) and just called the already in place Dialogs which then request the actual information instead of directly requesting the Information.

  4. #4
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    Same bug as here.

  5. #5
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,528

    Solved [Client Plugin SDK] Requesting filelist always opens File Browser

    Nothing more to say...


  6. #6
    Join Date
    June 2008
    Posts
    18,396
    This is a bug and will be fixed for TS3.1

    Internal Ticket ID TS-611

    Temp fix add return code at the end of you command.
    It's missing in our client for this command and this is the reason, why your client opens the filebrowser.

    Update - This won't be fixed
    Code:
    Alle Aufrufe von requestFileList() im Client benutzen einen returnCode. Der plugin muss auch returnCodes benutzen. Das hatten wir doch schonmal und ich hatte für plugins die returnCodes eingebaut.
    Last edited by dante696; July 29th, 2011 at 04:16 PM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    The client's changelog says:

    === Client Release 3.0.0-rc1 10 May 2011
    ...
    Calling plugin functions requestFileList and requestPermissionOverview no
    longer open the FileBrowser or PermissionOverview dialogs within the client.
    Added returnCode parameter to onFileListEvent and onPermissionOverviewEvent,
    so plugins can also check if the callbacks were caused by an own request.
    But the problem still exists (at least for requestFileList).

    Working on Linux 64 bit.

  8. #8
    Join Date
    June 2008
    Posts
    18,396
    We had an internal ticket and it won't be fixed. ScP reported that for you.
    Both threads have been merged.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  9. #9
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    Even with a returnCode, the client's filebrowser dialog opens.

    Btw: Currently, if I call requestFileList, the fileListEvent does not trigger for any files.
    Parameters should be fine, if I hit the update button in the client's filebrowser dialog, the files will be displayed, and the event triggers.

    So the requestFileList functions is currently useless (or I overlook something )

    *bump*
    Hope, you'll notice this thread.

    Please, keep me posted about this (if you still classify this as no bug).
    Last edited by dante696; August 9th, 2011 at 08:27 AM.

  10. #10
    Join Date
    June 2008
    Posts
    18,396
    It has been send yesterday
    It's on developers todo, to have an look at it, but this won't be done until the final client has been released.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  11. #11
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    Thanks for the info.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Solved] File Browser - file input/output error
    By Cookiekiller in forum Windows
    Replies: 4
    Last Post: March 14th, 2015, 05:26 PM
  2. 'Invalid file name' in file browser
    By Xp9kyc in forum Linux / FreeBSD
    Replies: 4
    Last Post: January 7th, 2014, 03:21 AM
  3. Plugin requesting client permission level.
    By Omen555666 in forum General Questions
    Replies: 1
    Last Post: May 23rd, 2012, 05:33 AM
  4. Possible to hide a file in file browser ?
    By HHD_HELLBOUND in forum General Questions
    Replies: 2
    Last Post: November 20th, 2010, 10:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •