After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 420164 - remember the window size
remember the window size
Status: RESOLVED WONTFIX
Product: gnome-scan
Classification: Other
Component: libgnome-scan
unspecified
Other Linux
: Low enhancement
: 0.8
Assigned To: Étienne Bersac
Étienne Bersac
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2007-03-19 16:04 UTC by Jean-François Fortin Tam
Modified: 2018-07-02 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (33.83 KB, image/png)
2007-06-17 14:59 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2007-03-19 16:04:08 UTC
It would be nice to remember the dimensions of the scan window, as I have to size it up each time.
Comment 1 Étienne Bersac 2007-03-19 16:25:59 UTC
Hi,

I may do that, but not i the library. Does Gtk remember GtkFileChooserDialog or GtkPrintUnixDialog size ? So, this bug concern flegita and flegita-gimp.

Note that i'm heavily working on gnome-scan 0.5 (total rewrite) and won't fix such bug on gnome-scan branch unless you provide a patch agains gnomescan-0.4 branch in Gnome SVN : http://svn.gnome.org/viewcvs/gnome-scan/branches/gnome-scan_0_4/

Thanks for the report.
Étienne.
Comment 2 Jean-François Fortin Tam 2007-03-19 18:24:21 UTC
Well, file chooser has its bugs about this (bug #325477, bug #153828) ;)

Anyhow, my report was intended to be filed against whatever the front-end is for gnome scan (I thought it was flegita ?_?).

If you fix it in Trunk, it's all good to me I guess. What annoys me specifically is the "preview" tab of flegita, which oftentimes (or always?) needs to be sized up because the preview area/ratio is too big to fit in the initial window size.

Comment 3 Étienne Bersac 2007-03-19 20:03:41 UTC
Héhé !

So, i may implement this. The problem is : why the library would take care of its use configuration on each apps using it ? That does not make sense.

I can drop the horizontal scroll in the preview, this will automatically enlarge windows size. Or better, preview should have only one scroll bar for the longest side. (often the width).

What do think of that behaviour from a user point of view ?

Thanks,
Étienne.
Comment 4 Jean-François Fortin Tam 2007-03-19 20:39:35 UTC
Well it's not the library that needs to do this, just the frontend, which is flegita, right?

I think your idea would work, but did you mean the longest side "height"? (afaik, scanners usually have a "portrait" orientation, so the longest side is the height)?

I guess you just need to make sure it does not exceed the screen/monitor/desktop resolution (if it does, "shrink" the preview contents)?
Comment 5 Étienne Bersac 2007-03-19 21:20:09 UTC
Ok, i have enough informations for now. Let's close this discussion until i redevelop this part of gnome-scan.

Thanks.
Comment 6 Jean-François Fortin Tam 2007-06-17 14:59:14 UTC
Created attachment 90143 [details]
screenshot

this is the reason why it annoys me deeply each time I start up flegita and click on my scanner: I can't see anything! The default size either needs to be bigger and/or there definitely is a need to remember the window size on startup.
Comment 7 Étienne Bersac 2007-09-24 19:35:05 UTC
*** Bug 448504 has been marked as a duplicate of this bug. ***
Comment 8 Étienne Bersac 2007-09-24 19:35:23 UTC
*** Bug 454504 has been marked as a duplicate of this bug. ***
Comment 9 Étienne Bersac 2007-09-24 19:36:37 UTC
I plan to implement automatic per application saving in Gnome Scan settings using gconf and g_get_application_name().
Comment 10 Étienne Bersac 2008-04-09 10:50:10 UTC
Hi,

Tagging for gnome-love. GnomeScanDialog needs a callback for "on-resize-event", saving new size and position to gconf. It also need to load size and position from gconf in constructor (i'd prefer in gsd_constructor rather than gnome_scan_dialog_new).

Regards,
Étienne.
Comment 11 André Klapper 2018-07-02 10:47:22 UTC
gnome-scan is not under active development anymore and has not seen code
changes for seven years. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-scan/commits/master

A possible alternative is using "simple-scan".

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.