Closed
Bug 96339
Opened 23 years ago
Closed 23 years ago
Display Resolution redundantly lists selection if selection is 72dpi or 96dpi
Categories
(SeaMonkey :: Preferences, defect)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: bugzilla, Assigned: gerv)
References
Details
(Keywords: polish)
Attachments
(3 files)
22.59 KB,
image/png
|
Details | |
29.01 KB,
image/png
|
Details | |
1.26 KB,
patch
|
Details | Diff | Splinter Review |
seen using either modern or classic theme. will attach shots soon.
1. go to the Fonts pref panel.
2. select either 72dpi or 96dpi from the Display Resolution droplist.
3. click OK to dismiss prefs dialog.
4. go to the Fonts pref panel again and expand the Display Resolution droplist.
results: there's an additional entry for 72dpi [or, 96dpi] with a checkmark.
notes:
a. if i select either "System setting" or a user-defined resolution from the
Calibrate Resolution dialog [via "Other"], i don't see this "redunancy"
--instead the resolution appears as highlighted in the droplists, with no
checkmark.
b. if i don't save/dismiss prefs [ie, skip step (3)], the droplist doesn't show
the "redundancy", the selected item is highlighted without a checkmark.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
whatever the fix, we should use one selection format, not both highlighting and
checkmarking.
Keywords: polish
Assignee | ||
Comment 4•23 years ago
|
||
The highlighting thing is done by the widget, and has nothing to do with me. I
thought I had added code to make this not happen, but maybe it broke. I'll look
at it again at some point.
Gerv
Target Milestone: --- → mozilla0.9.5
Assignee | ||
Comment 6•23 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•23 years ago
|
||
fix implements checkmarks. when a numeric value [anything other than "system
setting" on unix] is selected, the selection appears [albeit repeated] beneath
the separator in the droplist with a checkmark.
linux, 2001.09.04.08-comm
winnt, 2001.09.04.00-comm
mac 9.1, 2001.09.04.11-comm
if this is not expected behavior, do reopen.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 8•23 years ago
|
||
There should be no repeat. This still isn't quite fixed. :-(
Gerv
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•23 years ago
|
||
Assignee | ||
Comment 10•23 years ago
|
||
This should fix it. Hwaara: any chance of a review? You'll note the added code
is basically stolen from SetFields a bit above, and the reason for the stealing
is explained in the comment.
Gerv
Comment 11•23 years ago
|
||
Comment on attachment 49702 [details] [diff] [review]
Patch v.1
>+ if( prefvalue != "!/!ERROR_UNDEFINED_PREF!/!" )
What string is that? Is that some kind of internal error?
If at all possible, could you have a global (like a #define in C++) variable that you compared with rather than hardcoding it?
>+ resolution = prefvalue;
>+ else
>+ resolution = 96; // If it all goes horribly wrong, fall back on 96.
Is 96 the default resolution? Please make it fall back on a non-hardcoded global default.
Assignee | ||
Comment 12•23 years ago
|
||
Yes, that's an internal error.
> Is 96 the default resolution? Please make it fall back on a non-hardcoded
> global default.
The default resolution is a pref, and varies from platform to platform. If we
can't get the prefs service, we are stuffed anyway.
Neither of these two queries relate to the changes made by this patch, BTW.
Gerv
Comment 13•23 years ago
|
||
Fine. r=hwaara
Assignee | ||
Comment 14•23 years ago
|
||
Blake: you super-reviewed the last patch in this area; could you do so again?
This is pretty small - six lines of code.
Gerv
Comment 15•23 years ago
|
||
sr=blake
Assignee | ||
Comment 16•23 years ago
|
||
This was checked in on the 30th of September.
Gerv
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•23 years ago
|
||
no longer seeing the redundancy. thx for fixing this.
vrfy fixed using 2001.11.08.0x-comm bits on linux rh6.2, winnt and mac os 10.1.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•