Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebView doesn't behave the same as Chrome when click on image upload button
Forum Updated to NodeBB v4.3 + New Features

QWebView doesn't behave the same as Chrome when click on image upload button

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 965 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dolevo
    wrote on last edited by
    #1

    I have a very simple application with QWebView. The code just loads a certain url, nothing more than that. The target webpage has an image upload button. When I click on this button, a open dialog box pops and I select the image to be uploaded. Here is the issue. – I open the same url in Chrome, click on upload image button, select the file and upload. It works perfect. – If I do the same in my application, meaning that clicking to the upload button and selecting a file to upload, another file dialog box pops after the first selected image is uploaded.

    I have dumped the sources from both “browsers” and they are pretty much the same. I am now wondering why a second time pop up comes. If I select another image for the second pop up, it uploads again as a new image and no more pop up comes.

    The link is: "Your text to link here...":http://bit.ly/1h6T5y9
    The upload button is named as: “Voeg een foto toe”

    I would really appreciate any help of you.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dolevo
      wrote on last edited by
      #2

      Not even a single comment? I run it on Windows 7 and my Qt version is 4.8.3.

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Please be patient and wait at least 48 hours.

        Anyway, Qt 4.8.3 is extremely old and contains many bugs that have already been fixed.

        I tried it on Qt 5.2.1 -- After I upload a photo, I don't get a second pop-up dialog.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved