https://bugs.kde.org/show_bug.cgi?id=482195

Oded Arbel <o...@geek.co.il> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |o...@geek.co.il

--- Comment #9 from Oded Arbel <o...@geek.co.il> ---
Ideally, the app should detect this issue, then present a dialog to the user
saying something like:

  Image is too large for the current safety limits. Would you like to load the
image anyway?
      [Yes]  [No]
 [_] Permanently increase limits to allow opening images of this size in the
future.

GIMP does something similar if you try to work with very large images.

Then if the user clicks "Yes", you can iterate over the limit size until you
can find a size that works (or reach a really high hard-limit), and if the user
checked "Permanently increase" you save that to a config value that will set
the default size. Alternatively, it can just use setAllocationLimit(0) to
disable the limit.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to